]> granicus.if.org Git - postgresql/commit
Split ExecStoreTuple into ExecStoreHeapTuple and ExecStoreBufferHeapTuple.
authorAndres Freund <andres@anarazel.de>
Tue, 25 Sep 2018 23:27:48 +0000 (16:27 -0700)
committerAndres Freund <andres@anarazel.de>
Tue, 25 Sep 2018 23:27:48 +0000 (16:27 -0700)
commit29c94e03c7d05d2b29afa1de32795ce178531246
tree9599ede8229db1171da69f40fe9842e7af84cd6e
parentbbdfbb9154fccf5b58ecbbdf4e8989e2fed206f8
Split ExecStoreTuple into ExecStoreHeapTuple and ExecStoreBufferHeapTuple.

Upcoming changes introduce further types of tuple table slots, in
preparation of making table storage pluggable. New storage methods
will have different representation of tuples, therefore the slot
accessor should refer explicitly to heap tuples.

Instead of just renaming the functions, split it into one function
that accepts heap tuples not residing in buffers, and one accepting
ones in buffers.  Previously one function was used for both, but that
was a bit awkward already, and splitting will allow us to represent
slot types for tuples in buffers and normal memory separately.

This is split out from the patch introducing abstract slots, as this
largely consists out of mechanical changes.

Author: Ashutosh Bapat
Reviewed-By: Andres Freund
Discussion: https://postgr.es/m/20180220224318.gw4oe5jadhpmcdnm@alap3.anarazel.de
32 files changed:
contrib/postgres_fdw/postgres_fdw.c
src/backend/access/heap/heapam.c
src/backend/catalog/index.c
src/backend/catalog/indexing.c
src/backend/commands/analyze.c
src/backend/commands/constraint.c
src/backend/commands/copy.c
src/backend/commands/functioncmds.c
src/backend/commands/tablecmds.c
src/backend/commands/trigger.c
src/backend/executor/execIndexing.c
src/backend/executor/execMain.c
src/backend/executor/execPartition.c
src/backend/executor/execReplication.c
src/backend/executor/execScan.c
src/backend/executor/execTuples.c
src/backend/executor/nodeAgg.c
src/backend/executor/nodeBitmapHeapscan.c
src/backend/executor/nodeGather.c
src/backend/executor/nodeGatherMerge.c
src/backend/executor/nodeIndexonlyscan.c
src/backend/executor/nodeIndexscan.c
src/backend/executor/nodeModifyTable.c
src/backend/executor/nodeSamplescan.c
src/backend/executor/nodeSeqscan.c
src/backend/executor/nodeSetOp.c
src/backend/executor/nodeTidscan.c
src/backend/partitioning/partbounds.c
src/backend/replication/logical/worker.c
src/backend/utils/adt/selfuncs.c
src/backend/utils/sort/tuplesort.c
src/include/executor/tuptable.h