diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2021-10-18 14:30:00 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2021-10-18 14:46:01 +0300 |
commit | c4649cce39a41b27db874e75ddd47adaec1b0ea4 (patch) | |
tree | 5a05b522576450ef566ecbb35938152098e1078f /src/backend/executor/nodeCustom.c | |
parent | 409f9ca4471331be0f77b665ff3a1836a41de5b3 (diff) | |
download | postgresql-c4649cce39a41b27db874e75ddd47adaec1b0ea4.tar.gz postgresql-c4649cce39a41b27db874e75ddd47adaec1b0ea4.zip |
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
Diffstat (limited to 'src/backend/executor/nodeCustom.c')
0 files changed, 0 insertions, 0 deletions