]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Doc: Remove obsolete CREATE AGGREGATE note.
authorPeter Geoghegan <pg@bowt.ie>
Tue, 28 Jul 2020 23:58:59 +0000 (16:58 -0700)
committerPeter Geoghegan <pg@bowt.ie>
Tue, 28 Jul 2020 23:58:59 +0000 (16:58 -0700)
commite362f469c50f6e671285640cc2087345ab55a9b2
treeb84fdaa6af9ab1c801e8bbe1845401e317f62719
parenta57c837e5cdf601d6ec05e5e10a40d01f1d2b84e
Doc: Remove obsolete CREATE AGGREGATE note.

The planner is in fact willing to use hash aggregation when work_mem is
not set high enough for everything to fit in memory.  This has been the
case since commit 1f39bce0, which added disk-based hash aggregation.

There are a few remaining cases in which hash aggregation is avoided as
a matter of policy when the planner surmises that spilling will be
necessary.  For example, callers of choose_hashed_setop() still
conservatively avoid hash aggregation when spilling is anticipated.
That doesn't seem like a good enough reason to mention hash aggregation
in this context.

Backpatch: 13-, where disk-based hash aggregation was introduced.
doc/src/sgml/ref/create_aggregate.sgml