pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Doc: clarify behavior of standard aggregates for null inputs. 7+ messages / 1 participants [nested] [flat]
* pgsql: Doc: clarify behavior of standard aggregates for null inputs. @ 2019-08-27 20:37 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 7+ messages in thread From: Tom Lane @ 2019-08-27 20:37 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Doc: clarify behavior of standard aggregates for null inputs. Section 4.2.7 says that unless otherwise specified, built-in aggregates ignore rows in which any input is null. This is not true of the JSON aggregates, but it wasn't documented. Fix that. Of the other entries in table 9.55, some were explicit about ignoring nulls, and some weren't; for consistency and self-contained-ness, make them all say it explicitly. Per bug #15884 from Tim Möhlmann. Back-patch to all supported branches. Discussion: https://postgr.es/m/15884-c32d848f787fcae3@postgresql.org Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/e352a005bc34d8d1a3b3529688996985001cfc62 Modified Files -------------- doc/src/sgml/func.sgml | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Doc: clarify behavior of standard aggregates for null inputs. @ 2019-08-27 20:37 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 7+ messages in thread From: Tom Lane @ 2019-08-27 20:37 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Doc: clarify behavior of standard aggregates for null inputs. Section 4.2.7 says that unless otherwise specified, built-in aggregates ignore rows in which any input is null. This is not true of the JSON aggregates, but it wasn't documented. Fix that. Of the other entries in table 9.55, some were explicit about ignoring nulls, and some weren't; for consistency and self-contained-ness, make them all say it explicitly. Per bug #15884 from Tim Möhlmann. Back-patch to all supported branches. Discussion: https://postgr.es/m/15884-c32d848f787fcae3@postgresql.org Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/da1b51ecc52ffdb3f8fb1cda1e15dc60ff00cd11 Modified Files -------------- doc/src/sgml/func.sgml | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Doc: clarify behavior of standard aggregates for null inputs. @ 2019-08-27 20:37 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 7+ messages in thread From: Tom Lane @ 2019-08-27 20:37 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Doc: clarify behavior of standard aggregates for null inputs. Section 4.2.7 says that unless otherwise specified, built-in aggregates ignore rows in which any input is null. This is not true of the JSON aggregates, but it wasn't documented. Fix that. Of the other entries in table 9.55, some were explicit about ignoring nulls, and some weren't; for consistency and self-contained-ness, make them all say it explicitly. Per bug #15884 from Tim Möhlmann. Back-patch to all supported branches. Discussion: https://postgr.es/m/15884-c32d848f787fcae3@postgresql.org Branch ------ REL9_4_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/fe50481899e890d5d2587fbd4748b658667dc71a Modified Files -------------- doc/src/sgml/func.sgml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Doc: clarify behavior of standard aggregates for null inputs. @ 2019-08-27 20:37 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 7+ messages in thread From: Tom Lane @ 2019-08-27 20:37 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Doc: clarify behavior of standard aggregates for null inputs. Section 4.2.7 says that unless otherwise specified, built-in aggregates ignore rows in which any input is null. This is not true of the JSON aggregates, but it wasn't documented. Fix that. Of the other entries in table 9.55, some were explicit about ignoring nulls, and some weren't; for consistency and self-contained-ness, make them all say it explicitly. Per bug #15884 from Tim Möhlmann. Back-patch to all supported branches. Discussion: https://postgr.es/m/15884-c32d848f787fcae3@postgresql.org Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/f2cf22a59a49ddbe93dd231992d537f822d1b3c1 Modified Files -------------- doc/src/sgml/func.sgml | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Doc: clarify behavior of standard aggregates for null inputs. @ 2019-08-27 20:37 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 7+ messages in thread From: Tom Lane @ 2019-08-27 20:37 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Doc: clarify behavior of standard aggregates for null inputs. Section 4.2.7 says that unless otherwise specified, built-in aggregates ignore rows in which any input is null. This is not true of the JSON aggregates, but it wasn't documented. Fix that. Of the other entries in table 9.55, some were explicit about ignoring nulls, and some weren't; for consistency and self-contained-ness, make them all say it explicitly. Per bug #15884 from Tim Möhlmann. Back-patch to all supported branches. Discussion: https://postgr.es/m/15884-c32d848f787fcae3@postgresql.org Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/c0222c2c9b8145a0ccbee7d801db848e871f2e14 Modified Files -------------- doc/src/sgml/func.sgml | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Doc: clarify behavior of standard aggregates for null inputs. @ 2019-08-27 20:37 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 7+ messages in thread From: Tom Lane @ 2019-08-27 20:37 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Doc: clarify behavior of standard aggregates for null inputs. Section 4.2.7 says that unless otherwise specified, built-in aggregates ignore rows in which any input is null. This is not true of the JSON aggregates, but it wasn't documented. Fix that. Of the other entries in table 9.55, some were explicit about ignoring nulls, and some weren't; for consistency and self-contained-ness, make them all say it explicitly. Per bug #15884 from Tim Möhlmann. Back-patch to all supported branches. Discussion: https://postgr.es/m/15884-c32d848f787fcae3@postgresql.org Branch ------ REL9_5_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/890040b9c61bf3b826c494b183983d68124353fb Modified Files -------------- doc/src/sgml/func.sgml | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Doc: clarify behavior of standard aggregates for null inputs. @ 2019-08-27 20:37 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 7+ messages in thread From: Tom Lane @ 2019-08-27 20:37 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Doc: clarify behavior of standard aggregates for null inputs. Section 4.2.7 says that unless otherwise specified, built-in aggregates ignore rows in which any input is null. This is not true of the JSON aggregates, but it wasn't documented. Fix that. Of the other entries in table 9.55, some were explicit about ignoring nulls, and some weren't; for consistency and self-contained-ness, make them all say it explicitly. Per bug #15884 from Tim Möhlmann. Back-patch to all supported branches. Discussion: https://postgr.es/m/15884-c32d848f787fcae3@postgresql.org Branch ------ REL9_6_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/5efa4a3e7008638732d14ffd7613f53823a75367 Modified Files -------------- doc/src/sgml/func.sgml | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
end of thread, other threads:[~2019-08-27 20:37 UTC | newest] Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2019-08-27 20:37 pgsql: Doc: clarify behavior of standard aggregates for null inputs. Tom Lane <tgl@sss.pgh.pa.us> 2019-08-27 20:37 pgsql: Doc: clarify behavior of standard aggregates for null inputs. Tom Lane <tgl@sss.pgh.pa.us> 2019-08-27 20:37 pgsql: Doc: clarify behavior of standard aggregates for null inputs. Tom Lane <tgl@sss.pgh.pa.us> 2019-08-27 20:37 pgsql: Doc: clarify behavior of standard aggregates for null inputs. Tom Lane <tgl@sss.pgh.pa.us> 2019-08-27 20:37 pgsql: Doc: clarify behavior of standard aggregates for null inputs. Tom Lane <tgl@sss.pgh.pa.us> 2019-08-27 20:37 pgsql: Doc: clarify behavior of standard aggregates for null inputs. Tom Lane <tgl@sss.pgh.pa.us> 2019-08-27 20:37 pgsql: Doc: clarify behavior of standard aggregates for null inputs. 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