Re: dynamic views - Mailing list pgsql-general

From Peter Alberer
Subject Re: dynamic views
Date
Msg-id 000301c3fb85$b83a0c60$5be0d089@ekelhardt
Whole thread Raw
In response to dynamic views  (sferriol <sylvain.ferriol@imag.fr>)
List pgsql-general
Sorry i forgot to mention:

-that you need pg 7.3 for the set-returning function feature.

-how to select from the function:

select * from _YOUR_FUNCTION(PARAMETER);

and NOT:

select _YOUR_FUNCTION(PARAMETER);

>-----Ursprüngliche Nachricht-----
>Von: pgsql-general-owner@postgresql.org [mailto:pgsql-general-
>owner@postgresql.org] Im Auftrag von sferriol
>Gesendet: Dienstag, 24. Februar 2004 17:30
>An: pgsql-general@postgresql.org
>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 '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
>
>
>---------------------------(end of
broadcast)---------------------------
>TIP 2: you can get off all lists at once with the unregister command
>    (send "unregister YourEmailAddressHere" to
majordomo@postgresql.org)


pgsql-general by date:

Previous
From: "Peter Alberer"
Date:
Subject: Re: dynamic views
Next
From: "Paul Simpson"
Date:
Subject: Re: Why does app fail?