Re: [GENERAL] Dynamic views

2006-11-29 Thread Bernd Helmle
On Wed, 29 Nov 2006 18:38:22 +0530, "Merlin Moncure" <[EMAIL PROTECTED]> wrote: > On 11/29/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> Hello friends, >> I have a view defined as:- >> >> CREATE VIEW vivek_testview AS SELECT vivek_test.* , users.username AS > name from users, vivek_test wh

Re: [GENERAL] Dynamic views

2006-11-29 Thread Merlin Moncure
On 11/29/06, Bernd Helmle <[EMAIL PROTECTED]> wrote: > no, queries using * are expanded when the plan is created. for views, > the plan is created when you create the view (also the original query > string to create the view is not stored). however, you could however > create a function that re

Re: [GENERAL] Dynamic views

2006-11-29 Thread Merlin Moncure
On 11/29/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: 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

[GENERAL] Dynamic views

2006-11-29 Thread vivek
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

[GENERAL] Dynamic views

2006-11-29 Thread vivek
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

Re: [GENERAL] dynamic views

2004-02-25 Thread Peter Alberer
eneral- >[EMAIL PROTECTED] Im Auftrag von sferriol >Gesendet: Dienstag, 24. Februar 2004 17:30 >An: [EMAIL PROTECTED] >Betreff: [GENERAL] dynamic views > >hello >is it possible with postgres 7.2 or more, to define a dynamic view. >For example, i have a table with a column '

Re: [GENERAL] dynamic views

2004-02-25 Thread Peter Alberer
cht- >Von: [EMAIL PROTECTED] [mailto:pgsql-general- >[EMAIL PROTECTED] Im Auftrag von sferriol >Gesendet: Dienstag, 24. Februar 2004 17:30 >An: [EMAIL PROTECTED] >Betreff: [GENERAL] dynamic views > >hello >is it possible with postgres 7.2 or more, to define a dynamic vie

Re: [GENERAL] dynamic views

2004-02-24 Thread Richard Huxton
On Tuesday 24 February 2004 16:29, sferriol wrote: > hello > is it possible with postgres 7.2 or more, to define a dynamic view. > For example, i have a table with a column 'user' > and i want to define a view which gives infomrations from different > tables but the user has to specifie the 'user'

[GENERAL] dynamic views

2004-02-24 Thread sferriol
hello is it possible with postgres 7.2 or more, to define a dynamic view. For example, i have a table with a column 'user' and i want to define a view which gives infomrations from different tables but the user has to specifie the 'user' parameter when using a select to the view sylvain --