Re: Returning multiple values (but one row) in plpgsql - Mailing list pgsql-general

From Greg Stark
Subject Re: Returning multiple values (but one row) in plpgsql
Date
Msg-id 87wtz4w30i.fsf@stark.xeocode.com
Whole thread Raw
In response to Re: Returning multiple values (but one row) in plpgsql  ("Karl O. Pinc" <kop@meme.com>)
List pgsql-general
"Karl O. Pinc" <kop@meme.com> writes:

> Anybody got a better idea?

If they're all the same data type you could alternatively use an array. Which
is more convenient might depend on how much you want to throw around the
composite data type in intermediate code before peeking at the elements.

--
greg

pgsql-general by date:

Previous
From: Andrew Rawnsley
Date:
Subject: Re: FYI, Sybase performance study on Linux
Next
From: Greg Stark
Date:
Subject: Re: Salt in encrypted password in pg_shadow