pgsql: Doc: improve documentation of the JSON object aggregates.

Started by Tom Laneabout 1 month ago1 messagescommitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

Doc: improve documentation of the JSON object aggregates.

Say which value wins for a repeated key, and how skipped null values
interact with that and with the unique check. Also point out that
duplicate keys behave differently for json and jsonb cases. (I still
think that's a bug, but at least now it's documented.)

Author: shihao zhong <zhong950419@gmail.com>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: /messages/by-id/CAGRkXqTCfSu=aEUCvKDTGroEWOcyz3MCv4Xi8x1PZ1T1rEmG=Q@mail.gmail.com
Backpatch-through: 14

Branch
------
REL_19_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/f63cf8bf64f4583677ce5607fda76e26381aeac3

Modified Files
--------------
doc/src/sgml/func/func-aggregate.sgml | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)