Re: WIP json generation enhancements - Mailing list pgsql-hackers

From David E. Wheeler
Subject Re: WIP json generation enhancements
Date
Msg-id DADB64AB-2BE1-4FEC-9F58-92737F058AA2@justatheory.com
Whole thread Raw
In response to Re: WIP json generation enhancements  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
On Nov 26, 2012, at 11:12 AM, Peter Eisentraut <peter_e@gmx.net> wrote:

> Although my intuition would be [], the existing concatenation-like
> aggregates return null for no input rows, so this probably ought to be
> consistent with those.

This annoys me at times, but I wrap such calls in COALESCE() and forget about it. So I agree to keep it consistent with
otherarray-returning aggregate functions. 

Best,

David




pgsql-hackers by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: autovacuum truncate exclusive lock round two
Next
From: "David E. Wheeler"
Date:
Subject: Re: json accessors