From: Alexander Korotkov <akorotkov@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Allow table AM tuple_insert() method to return the different slo
Date: Thu, 21 Mar 2024 21:01:18 +0000
Message-ID: <E1rnPXK-004zQT-Ex@gemulon.postgresql.org> (raw)
Allow table AM tuple_insert() method to return the different slot
This allows table AM to return a native tuple slot even if
VirtualTupleTableSlot is given as an input. Native tuple slots have knowledge
about system attributes, which could be accessed in the future.
table_multi_insert() method already can modify the input 'slots' array.
Discussion: https://postgr.es/m/CAPpHfdurb9ycV8udYqM%3Do0sPS66PJ4RCBM1g-bBpvzUfogY0EA%40mail.gmail.com
Reviewed-by: Matthias van de Meent, Mark Dilger, Pavel Borisov
Reviewed-by: Nikita Malakhov, Japin Li
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/c35a3fb5e067fc95f13206418e3785d2cb059da1
Modified Files
--------------
src/backend/access/heap/heapam_handler.c | 4 +++-
src/backend/executor/nodeModifyTable.c | 6 +++---
src/include/access/tableam.h | 21 ++++++++++++---------
3 files changed, 18 insertions(+), 13 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: akorotkov@postgresql.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Allow table AM tuple_insert() method to return the different slo
In-Reply-To: <E1rnPXK-004zQT-Ex@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox