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

From Peter Eisentraut
Subject Re: array_agg and array_accum (patch)
Date
Msg-id 491C50B2.10506@gmx.net
Whole thread Raw
In response to Re: array_agg and array_accum (patch)  (Jeff Davis <pgsql@j-davis.com>)
Responses Re: array_agg and array_accum (patch)  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: array_agg and array_accum (patch)  ("Robert Haas" <robertmhaas@gmail.com>)
List pgsql-hackers
Jeff Davis wrote:
> Here's an updated patch for just array_accum() with some simple docs.

I have committed a "best of Robert Haas and Jeff Davis" array_agg() 
function with standard SQL semantics.  I believe this gives the best 
consistency with other aggregate functions for the no-input-rows case. 
If some other behavior is wanted, it is a coalesce() away, as the 
documentation states.


pgsql-hackers by date:

Previous
From: "Dmitry Koterov"
Date:
Subject: Sometimes pg_dump generates dump which is not restorable
Next
From: Tom Lane
Date:
Subject: Okay, DLLIMPORT is making me crazy