| From: | Jonathan Bartlett <johnnyb(at)eskimo(dot)com> |
|---|---|
| To: | Alexander Hachmann <public(at)thesofa(dot)de> |
| Cc: | Pgsql <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: Using a Storedprocedure as a View |
| Date: | 2004-03-09 17:26:40 |
| Message-ID: | Pine.SUN.4.58.0403090926050.9690@eskimo.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Why not just create another view, which is a view of the view? I have
highly nested views on my databases.
Jon
On Tue, 9 Mar 2004, Alexander Hachmann wrote:
> Hello,
> I know that this was discussed many times, but all the answers did not help
> me yet.
> I need to create a Procedure that returns the same data as a view does
> except, that the the
> data was filtered by a parameter.
> I want to execute a procedure with a parameter and get back a 'view'.
> I only made prcedures giving back simple values. Can they give back data as
> Views does.
> I dont want the procedure to create a view on which i have to query again
> because the query the Procedure does
> can go over more stages than just this one. The procedure calls another
> procedure and handles this as a subselect.
> Can any one help me?
> Thx,
> Alexander
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend
>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Joe Conway | 2004-03-09 17:37:09 | Re: creating sequential timestamp |
| Previous Message | Alexander Hachmann | 2004-03-09 17:14:26 | Using a Storedprocedure as a View |