pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Doc: improve documentation of the JSON object aggregates.
7+ messages / 1 participants
[nested] [flat]

* pgsql: Doc: improve documentation of the JSON object aggregates.
@ 2026-10-14 18:01 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 7+ messages in thread

From: Tom Lane @ 2026-10-14 18:01 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8a5f8eb456f61fa8dcf444cac64d0b241b86430e

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



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Doc: improve documentation of the JSON object aggregates.
@ 2026-10-14 18:01 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 7+ messages in thread

From: Tom Lane @ 2026-10-14 18:01 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_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(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Doc: improve documentation of the JSON object aggregates.
@ 2026-10-14 18:01 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 7+ messages in thread

From: Tom Lane @ 2026-10-14 18:01 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Doc: improve documentation of the JSON object aggregates.
@ 2026-10-14 18:01 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 7+ messages in thread

From: Tom Lane @ 2026-10-14 18:01 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/298191036cce3b7634fd4d4b71eeb29def103f0b

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



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Doc: improve documentation of the JSON object aggregates.
@ 2026-10-14 18:01 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 7+ messages in thread

From: Tom Lane @ 2026-10-14 18:01 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/947c1675699c0704732b99b69c51c7cde85cd1a6

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



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Doc: improve documentation of the JSON object aggregates.
@ 2026-10-14 18:01 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 7+ messages in thread

From: Tom Lane @ 2026-10-14 18:01 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/2ad0b0f8c1b03433a77b4ebd2b70a8cc2b3d381e

Modified Files
--------------
doc/src/sgml/func.sgml | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Doc: improve documentation of the JSON object aggregates.
@ 2026-10-14 18:01 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 7+ messages in thread

From: Tom Lane @ 2026-10-14 18:01 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/4776a9ac0a7e29bed078f63d4f8576bdf6651f4c

Modified Files
--------------
doc/src/sgml/func.sgml | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread


end of thread, other threads:[~2026-10-14 18:01 UTC | newest]

Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-10-14 18:01 pgsql: Doc: improve documentation of the JSON object aggregates. Tom Lane <tgl@sss.pgh.pa.us>
2026-10-14 18:01 pgsql: Doc: improve documentation of the JSON object aggregates. Tom Lane <tgl@sss.pgh.pa.us>
2026-10-14 18:01 pgsql: Doc: improve documentation of the JSON object aggregates. Tom Lane <tgl@sss.pgh.pa.us>
2026-10-14 18:01 pgsql: Doc: improve documentation of the JSON object aggregates. Tom Lane <tgl@sss.pgh.pa.us>
2026-10-14 18:01 pgsql: Doc: improve documentation of the JSON object aggregates. Tom Lane <tgl@sss.pgh.pa.us>
2026-10-14 18:01 pgsql: Doc: improve documentation of the JSON object aggregates. Tom Lane <tgl@sss.pgh.pa.us>
2026-10-14 18:01 pgsql: Doc: improve documentation of the JSON object aggregates. Tom Lane <tgl@sss.pgh.pa.us>

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