From: | Roberto Mello <rmello(at)cc(dot)usu(dot)edu> |
---|---|
To: | Ferenc Engard <engard(at)all(dot)hu> |
Cc: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: pl/pgsql capabilities? |
Date: | 2002-07-01 14:40:47 |
Message-ID: | 20020701144047.GB23653@cc.usu.edu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
On Mon, Jul 01, 2002 at 01:43:29AM +0200, Ferenc Engard wrote:
> Hi all,
>
> A long time ago (at version 6.3.2 or what :) I have asked, but maybe
> since it changed: can I use the procedural languages (any of them) to
> return a table- (or view-) like output, just like in Interbase, for
> example? E.g., if I have a metamodel and I want to write functions what
> perform complex computations and queries, can they return the result
> (which can be of many rows) to the client?
As of PG 7.2 you can, by returning a cursor:
http://developer.postgresql.org/docs/postgres/plpgsql-cursors.html
-Roberto
--
+----| http://fslc.usu.edu/ USU Free Software & GNU/Linux Club |------+
Roberto Mello - Computer Science, USU - http://www.brasileiro.net/
http://www.sdl.usu.edu/ - Space Dynamics Lab, Developer
I wonder if Singapore has any computer pirateers or hackers...
From | Date | Subject | |
---|---|---|---|
Next Message | Simeone, Mario | 2002-07-01 16:28:11 | unsubscribe |
Previous Message | Roberto Mello | 2002-07-01 14:37:54 | Re: graphical interface - admin |