Fix comment in eager_aggregate.sql
authorRichard Guo <rguo@postgresql.org>
Thu, 9 Oct 2025 08:50:54 +0000 (17:50 +0900)
committerRichard Guo <rguo@postgresql.org>
Thu, 9 Oct 2025 08:50:54 +0000 (17:50 +0900)
The comment stated that eager aggregation is disabled by default,
which is no longer true.  This patch removes that comment as well as
the related GUC set statement.

Reported-by: David Rowley <dgrowleyml@gmail.com>
Discussion: https://postgr.es/m/CAApHDvr4YWpiMR3RsgYwJWv-u8xoRqTAKRiYy9zUszjZOqG4Ug@mail.gmail.com

src/test/regress/expected/eager_aggregate.out
src/test/regress/sql/eager_aggregate.sql

index fc0f8c14ec9ed635cb9c0c82f59940fe090e9b21..5ac966186f7c895b6f54c9eed974ec126a7f820c 100644 (file)
@@ -2,8 +2,6 @@
 -- EAGER AGGREGATION
 -- Test we can push aggregation down below join
 --
--- Enable eager aggregation, which by default is disabled.
-SET enable_eager_aggregate TO on;
 CREATE TABLE eager_agg_t1 (a int, b int, c double precision);
 CREATE TABLE eager_agg_t2 (a int, b int, c double precision);
 CREATE TABLE eager_agg_t3 (a int, b int, c double precision);
index e328a83b4c74b288390288bf65fc8b47dd1576ed..abe6d6ae09f1dadb050c9eee3e8120a4bf7cf7cb 100644 (file)
@@ -3,9 +3,6 @@
 -- Test we can push aggregation down below join
 --
 
--- Enable eager aggregation, which by default is disabled.
-SET enable_eager_aggregate TO on;
-
 CREATE TABLE eager_agg_t1 (a int, b int, c double precision);
 CREATE TABLE eager_agg_t2 (a int, b int, c double precision);
 CREATE TABLE eager_agg_t3 (a int, b int, c double precision);