Re: Howto return values from a function - Mailing list pgsql-general

From A. Kretschmer
Subject Re: Howto return values from a function
Date
Msg-id 20080515132928.GD25234@a-kretschmer.de
Whole thread Raw
In response to Re: Howto return values from a function  ("A B" <gentosaker@gmail.com>)
List pgsql-general
am  Thu, dem 15.05.2008, um 14:46:02 +0200 mailte A B folgendes:
> > What exactly about the documentation isn't clear?
> I would have liked a few more examples... but that is perhaps just me.

http://www.java2s.com/Code/PostgreSQL/CatalogPostgreSQL.htm


>
> > Like the documentation says: SETOF sometype.
> Ah, so I just create my own type with "CREATE TYPE ..." and use that
> type in the function.

One solution, there are much more.


Andreas
--
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47150,   D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID:   0x3FFF606C, privat 0x7F4584DA   http://wwwkeys.de.pgp.net

pgsql-general by date:

Previous
From: "A B"
Date:
Subject: Re: Howto return values from a function
Next
From: Gerhard Wiesinger
Date:
Subject: Tsearch2 Upgrade from 8.2 to 8.3.1