pgsql: HashAgg: before spilling tuples, set unneeded columns to NULL.

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема pgsql: HashAgg: before spilling tuples, set unneeded columns to NULL.
Дата
Msg-id E1jurd4-0003nW-6e@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
HashAgg: before spilling tuples, set unneeded columns to NULL.

This is a replacement for 4cad2534. Instead of projecting all tuples
going into a HashAgg, only remove unnecessary attributes when actually
spilling. This avoids the regression for the in-memory case.

Discussion: https://postgr.es/m/a2fb7dfeb4f50aa0a123e42151ee3013933cb802.camel%40j-davis.com
Backpatch-through: 13

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2302302236a0c7aeba3377d78dd9d80ba53247df

Modified Files
--------------
src/backend/executor/nodeAgg.c | 123 ++++++++++++++++++++++++++++++-----------
src/include/nodes/execnodes.h  |   8 ++-
2 files changed, 96 insertions(+), 35 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Amit Kapila
Дата:
Сообщение: pgsql: Revert "Track statistics for spilling of changes from ReorderBuf
Следующее
От: Jeff Davis
Дата:
Сообщение: pgsql: Revert "Use CP_SMALL_TLIST for hash aggregate"