pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Fix STRICT check for strict aggregates with NULL ORDER BY column 2+ messages / 1 participants [nested] [flat]
* pgsql: Fix STRICT check for strict aggregates with NULL ORDER BY column @ 2018-11-03 21:49 Andres Freund <andres@anarazel.de> 0 siblings, 0 replies; 2+ messages in thread From: Andres Freund @ 2018-11-03 21:49 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix STRICT check for strict aggregates with NULL ORDER BY columns. I (Andres) broke this unintentionally in 69c3936a14, by checking strictness for all input expressions computed for an aggregate, rather than just the input for the aggregate transition function. Reported-By: Ondřej Bouda Bisected-By: Tom Lane Diagnosed-By: Andrew Gierth Discussion: https://postgr.es/m/2a505161-2727-2473-7c46-591ed108ac52@email.cz Backpatch: 11-, like 69c3936a14 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/4c640f4f38d5d68cbe33ddfabbdc56eea8f1e173 Modified Files -------------- src/backend/executor/execExpr.c | 2 +- src/test/regress/expected/aggregates.out | 15 +++++++++++++++ src/test/regress/sql/aggregates.sql | 7 +++++++ 3 files changed, 23 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Fix STRICT check for strict aggregates with NULL ORDER BY column @ 2018-11-03 21:49 Andres Freund <andres@anarazel.de> 0 siblings, 0 replies; 2+ messages in thread From: Andres Freund @ 2018-11-03 21:49 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix STRICT check for strict aggregates with NULL ORDER BY columns. I (Andres) broke this unintentionally in 69c3936a14, by checking strictness for all input expressions computed for an aggregate, rather than just the input for the aggregate transition function. Reported-By: Ondřej Bouda Bisected-By: Tom Lane Diagnosed-By: Andrew Gierth Discussion: https://postgr.es/m/2a505161-2727-2473-7c46-591ed108ac52@email.cz Backpatch: 11-, like 69c3936a14 Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/fd59b29c873915064f7af6a33c968c97e0d59166 Modified Files -------------- src/backend/executor/execExpr.c | 2 +- src/test/regress/expected/aggregates.out | 15 +++++++++++++++ src/test/regress/sql/aggregates.sql | 7 +++++++ 3 files changed, 23 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2018-11-03 21:49 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2018-11-03 21:49 pgsql: Fix STRICT check for strict aggregates with NULL ORDER BY column Andres Freund <andres@anarazel.de> 2018-11-03 21:49 pgsql: Fix STRICT check for strict aggregates with NULL ORDER BY column Andres Freund <andres@anarazel.de>
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