Dynamic views

From: <vivek(at)staff(dot)ownmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Dynamic views
Date: 2006-11-29 10:43:05
Message-ID: 200611291043.kATAh5QY024211@mail009.ownmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello friends,
I have a view defined as:-

CREATE VIEW vivek_testview AS SELECT vivek_test.* , users.username AS name from users, vivek_test where vivek_test.username=users.username;

Now, when I add a new column in vivek_test, I cant see the new column in the view. Currently we have to drop the view and recreate it.
Is there a way that i can see the new column without dropping and recreating the view ?

Thanks for reading this. Thanks for your replies in advance.

With warm regards.
Vivek

vivek(at)staff(dot)ownmail(dot)com

All science is either physics or stamp collecting.
-- Ernest Rutherford

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Terry Yapt 2006-11-29 10:58:16 Re: [Windows] Pg_Restore on 8.1.5 and so on...
Previous Message Richard Huxton 2006-11-29 09:29:36 Re: Calling pg_dump from another application in safe mode