Re: array_agg and array_accum (patch) - Mailing list pgsql-hackers

From Stephen Frost
Subject Re: array_agg and array_accum (patch)
Date
Msg-id 20081027002417.GN4452@tamriel.snowman.net
Whole thread Raw
In response to array_agg and array_accum (patch)  (Jeff Davis <pgsql@j-davis.com>)
List pgsql-hackers
Jeff,

* Jeff Davis (pgsql@j-davis.com) wrote:
> 2) ARRAY_ACCUM() -- Returns empty array on no input, and includes NULL
> inputs.

Excellent..  I added it the easy way (from the online docs), but that's
clearly not at all efficient and was going to try and fix it, for psql
to use with the column-level privs patch.  It'd be great to use a more
efficient mechanism like this, and to remove adding it from my patch
(erm, it's only one line currently, but it would have been alot more
eventually :).

I havn't actually reviewed the code at all, but +1 in general to adding
this to core.
Thanks,
    Stephen

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: new correlation metric
Next
From: "Robert Haas"
Date:
Subject: Re: BufferAccessStrategy for bulk insert