pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Doc: improve documentation of the JSON object aggregates.
Date: Wed, 14 Oct 2026 18:01:04 +0000
Message-ID: <E1xH3Hk-00000001ces-1TcL@gemulon.postgresql.org> (raw)

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: https://postgr.es/m/CAGRkXqTCfSu=aEUCvKDTGroEWOcyz3MCv4Xi8x1PZ1T1rEmG=Q@mail.gmail.com
Backpatch-through: 14

Branch
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/529e08c32987890ba9eae74d8ed680cef646d197

Modified Files
--------------
doc/src/sgml/func.sgml | 17 ++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)



view thread (7+ messages)  latest in thread

Message-ID: <E1xH3Hk-00000001ces-1TcL@gemulon.postgresql.org>
Permalink:  ../E1xH3Hk-00000001ces-1TcL@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1xH3Hk-00000001ces-1TcL@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Doc: improve documentation of the JSON object aggregates.
  In-Reply-To: <E1xH3Hk-00000001ces-1TcL@gemulon.postgresql.org>
  References: <E1xH3Hk-00000001ces-1TcL@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox