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

From Peter Eisentraut
Subject Re: WIP json generation enhancements
Date
Msg-id 50B3BF2A.8020801@gmx.net
Whole thread Raw
In response to WIP json generation enhancements  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: WIP json generation enhancements  (Hannu Krosing <hannu@2ndQuadrant.com>)
Re: WIP json generation enhancements  ("David E. Wheeler" <david@justatheory.com>)
List pgsql-hackers
On 11/21/12 3:16 PM, Andrew Dunstan wrote:
> One open question regarding this feature is whether this should return
> NULL or '[]' for 0 rows. Currently it returns NULL but I could be
> convinced to return '[]', and the change would be very small.

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.



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Upcoming back-branch releases
Next
From: Alvaro Herrera
Date:
Subject: Re: [PATCH 02/14] Add support for a generic wal reading facility dubbed XLogReader