Re: array_agg and array_accum (patch)

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Jeff Davis <pgsql(at)j-davis(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: array_agg and array_accum (patch)
Date: 2008-11-13 16:07:14
Message-ID: 491C50B2.10506@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dmitry Koterov 2008-11-13 16:23:33 Sometimes pg_dump generates dump which is not restorable
Previous Message Tom Lane 2008-11-13 15:39:25 Okay, DLLIMPORT is making me crazy