pgsql: Split ExecStoreTuple into ExecStoreHeapTuple andExecStoreBuffer

Поиск
Список
Период
Сортировка
От Andres Freund
Тема pgsql: Split ExecStoreTuple into ExecStoreHeapTuple andExecStoreBuffer
Дата
Msg-id E1g4wv3-0001Pz-8g@gemulon.postgresql.org
обсуждение исходный текст
Ответы Re: pgsql: Split ExecStoreTuple into ExecStoreHeapTuple and ExecStoreBuffer  (David Rowley <david.rowley@2ndquadrant.com>)
Список pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/29c94e03c7d05d2b29afa1de32795ce178531246

Modified Files
--------------
contrib/postgres_fdw/postgres_fdw.c       |  11 ++-
src/backend/access/heap/heapam.c          |   4 +-
src/backend/catalog/index.c               |   6 +-
src/backend/catalog/indexing.c            |   2 +-
src/backend/commands/analyze.c            |   2 +-
src/backend/commands/constraint.c         |   2 +-
src/backend/commands/copy.c               |   4 +-
src/backend/commands/functioncmds.c       |   2 +-
src/backend/commands/tablecmds.c          |   6 +-
src/backend/commands/trigger.c            |  12 +--
src/backend/executor/execIndexing.c       |   2 +-
src/backend/executor/execMain.c           |   8 +-
src/backend/executor/execPartition.c      |   4 +-
src/backend/executor/execReplication.c    |   4 +-
src/backend/executor/execScan.c           |   4 +-
src/backend/executor/execTuples.c         | 124 +++++++++++++++++++-----------
src/backend/executor/nodeAgg.c            |   7 +-
src/backend/executor/nodeBitmapHeapscan.c |   7 +-
src/backend/executor/nodeGather.c         |   8 +-
src/backend/executor/nodeGatherMerge.c    |   9 +--
src/backend/executor/nodeIndexonlyscan.c  |   2 +-
src/backend/executor/nodeIndexscan.c      |  20 +++--
src/backend/executor/nodeModifyTable.c    |   4 +-
src/backend/executor/nodeSamplescan.c     |   7 +-
src/backend/executor/nodeSeqscan.c        |  11 ++-
src/backend/executor/nodeSetOp.c          |   7 +-
src/backend/executor/nodeTidscan.c        |  16 ++--
src/backend/partitioning/partbounds.c     |   2 +-
src/backend/replication/logical/worker.c  |   2 +-
src/backend/utils/adt/selfuncs.c          |   4 +-
src/backend/utils/sort/tuplesort.c        |   4 +-
src/include/executor/tuptable.h           |  10 ++-
32 files changed, 172 insertions(+), 145 deletions(-)


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: pgsql: Change TupleTableSlot->tts_nvalid to type AttrNumber.
Следующее
От: Michael Paquier
Дата:
Сообщение: pgsql: Rework activation of commit timestamps during recovery