pgsql: Add test case showing that commit d0d44049d fixed a live bug.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Add test case showing that commit d0d44049d fixed a live bug.
Дата
Msg-id E1s8OlI-000plh-Rg@gemulon.postgresql.org
обсуждение исходный текст
Список 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/18465-2fae927718976b22@postgresql.org
Discussion: https://postgr.es/m/2391880.1689025003@sss.pgh.pa.us

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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: pgsql: doc PG 17 relnotes: add incremental JSON parser item
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Account for optimized MinMax aggregates during SS_finalize_plan.