pgsql: Add test case showing that commit d0d44049d fixed a live bug. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Add test case showing that commit d0d44049d fixed a live bug.
Date
Msg-id [email protected]
Whole thread Raw
List pgsql-committers
Add test case showing that commit d0d44049d fixed a live bug.

When I committed d0d44049d (Account for optimized MinMax aggregates
during SS_finalize_plan), I didn't have a test case showing that it
was fixing any reachable bug.  Here is one, based on bug #18465 from
Hal Takahara.  Without the fix, all rows of the result show the same
"min" value, because the aggregate doesn't get recalculated.

Committed despite beta1 release freeze, with the concurrence of
pgsql-release.

Discussion: https://postgr.es/m/[email protected]
Discussion: https://postgr.es/m/[email protected]

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/779ac2c74bd15744aa92b588f70606a1a95256d2

Modified Files
--------------
src/test/regress/expected/aggregates.out | 31 +++++++++++++++++++++++++++++++
src/test/regress/sql/aggregates.sql      | 10 ++++++++++
2 files changed, 41 insertions(+)


pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: pgsql: doc PG 17 relnotes: add incremental JSON parser item
Next
From: Tom Lane
Date:
Subject: pgsql: Account for optimized MinMax aggregates during SS_finalize_plan.