Re: Question about Encoding a Custom Type

From: "David E(dot) Wheeler" <david(at)kineticode(dot)com>
To: David Fetter <david(at)fetter(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Question about Encoding a Custom Type
Date: 2008-06-17 03:04:59
Message-ID: 79F2A31C-EA8C-4A9A-885C-D1E11DB22EE9@kineticode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2008-06-17 11:43:37 Re: pltcl broken on tcl8.5 ?
Previous Message Tom Lane 2008-06-17 02:34:06 Re: Reducing overhead for repeat de-TOASTing