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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 409f9ca) | patch
Refactor LogicalTapeSet/LogicalTape interface.
2021年10月18日 11:30:00 +0000 (14:30 +0300)
2021年10月18日 11:46:01 +0000 (14:46 +0300)
commit c4649cce39a41b27db874e75ddd47adaec1b0ea4
Refactor LogicalTapeSet/LogicalTape interface.

All the tape functions, like LogicalTapeRead and LogicalTapeWrite, now
take a LogicalTape as argument, instead of LogicalTapeSet+tape number.
You can create any number of LogicalTapes in a single LogicalTapeSet, and
you don't need to decide the number upfront, when you create the tape set.

This makes the tape management in hash agg spilling in nodeAgg.c simpler.

Discussion: https://www.postgresql.org/message-id/420a0ec7-602c-d406-1e75-1ef7ddc58d83%40iki.fi
Reviewed-by: Peter Geoghegan, Zhihong Yu, John Naylor
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/nodes/execnodes.h diff | blob | blame | history
src/include/utils/logtape.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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