Re: Constructing array - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Constructing array
Date
Msg-id 25006.1204499750@sss.pgh.pa.us
Whole thread Raw
In response to Constructing array  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
> Does anybody have a good pointer for an example of how to construct an 
> array in a SRF? Or if not such a pointer, hints on which way is best to 
> do it? (it'll be an array of text strings, one-dimensional)

If you can build it in one swoop, use construct_array().  If you need
to build it incrementally then things will be much more painful...
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Greg Stark"
Date:
Subject: Re: RFP: Recursive query in 8.4
Next
From: Joe Conway
Date:
Subject: Re: Constructing array