git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 7634bd4) | patch
logtape.c: do not preallocate for tapes when sorting
2020年9月12日 00:10:02 +0000 (17:10 -0700)
2020年9月12日 00:10:02 +0000 (17:10 -0700)
commit 07589649639410032df281e98469db88a0b86271
logtape.c: do not preallocate for tapes when sorting

The preallocation logic is only useful for HashAgg, so disable it when
sorting.

Also, adjust an out-of-date comment.

Reviewed-by: Peter Geoghegan
Discussion: https://postgr.es/m/CAH2-Wzn_o7tE2+hRVvwSFghRb75AJ5g-nqGzDUqLYMexjOAe=g@mail.gmail.com
Backpatch-through: 13
src/backend/executor/nodeAgg.c diff | blob | blame | history
src/backend/utils/sort/logtape.c diff | blob | blame | history
src/backend/utils/sort/tuplesort.c diff | blob | blame | history
src/include/utils/logtape.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /