Re: Question about Encoding a Custom Type - Mailing list pgsql-hackers

From David E. Wheeler
Subject Re: Question about Encoding a Custom Type
Date
Msg-id 79F2A31C-EA8C-4A9A-885C-D1E11DB22EE9@kineticode.com
Whole thread Raw
In response to Re: Question about Encoding a Custom Type  (David Fetter <david@fetter.org>)
List pgsql-hackers
On Jun 16, 2008, at 16:48, David Fetter wrote:

>> select array_accum(b) from ( select name from srt order by name ) AS
>> A(b);
>
> SELECT ARRAY(SELECT name FROM srt ORDER BY name); -- also works.

Wow, somehow I'd missed that syntax over the years. Thanks David!

Best,

David


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Reducing overhead for repeat de-TOASTing
Next
From: Andrew Dunstan
Date:
Subject: Re: pltcl broken on tcl8.5 ?