From: | Joe Conway <mail(at)joeconway(dot)com> |
---|---|
To: | Sidar Lopez Cruz <sidarlopez(at)hotmail(dot)com> |
Cc: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: return multiple rows |
Date: | 2003-05-23 17:34:54 |
Message-ID: | 3ECE5BBE.7090905@joeconway.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Sidar Lopez Cruz wrote:
> how to return multiple rows and columns from functions
>
See:
http://techdocs.postgresql.org/guides/SetReturningFunctions
http://www.brasileiro.net:8080/postgres/cookbook/view-one-recipe.adp?recipe_id=11378
http://www.varlena.com/GeneralBits/26.html
There are plpgsql and sql function examples in the mailing list
archives. Couple of examples:
http://archives.postgresql.org/pgsql-general/2002-10/msg00022.php
and
http://archives.postgresql.org/pgsql-general/2002-12/msg00426.php
And finally, in the manual see:
general ->
http://developer.postgresql.org/docs/postgres/xfunc-tablefunctions.html
sql ->
http://developer.postgresql.org/docs/postgres/xfunc-sql.html (sec 9.2.4)
C ->
http://developer.postgresql.org/docs/postgres/xfunc-c.html (sec 9.5.6)
plpgsql ->
http://developer.postgresql.org/docs/postgres/plpgsql-control-structures.html
usage ->
http://developer.postgresql.org/docs/postgres/sql-select.html
(from_item, inputs, from clause, usage)
Joe
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2003-05-23 17:38:37 | Re: [ADMIN] Q: Structured index - which one runs faster? |
Previous Message | Stephan Szabo | 2003-05-23 17:32:05 | Re: return multiple rows |