From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Move generic slot support functions from heaptuple.c into execTu
Date: Tue, 16 Oct 2018 01:53:54 +0000
Message-ID: <E1gCEYU-0008K7-Qp@gemulon.postgresql.org> (raw)
Move generic slot support functions from heaptuple.c into execTuples.c.
heaptuple.c was never a particular good fit for slot_getattr(),
slot_getsomeattrs() and slot_getmissingattrs(), but in upcoming
changes slots will be made more abstract (allowing slots that contain
different types of tuples), making it clearly the wrong place.
Note that slot_deform_tuple() remains in it's current place, as it
clearly deals with a HeapTuple. getmissingattrs() also remains, but
it's less clear that that's correct - but execTuples.c wouldn't be the
right place.
Author: Ashutosh Bapat.
Discussion: https://postgr.es/m/20180220224318.gw4oe5jadhpmcdnm@alap3.anarazel.de
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/9d906f1119de893a4ca533c5e7b97207a3aa963b
Modified Files
--------------
src/backend/access/common/heaptuple.c | 188 +--------------------------------
src/backend/executor/execTuples.c | 190 ++++++++++++++++++++++++++++++++++
src/include/access/htup_details.h | 2 +
src/include/executor/tuptable.h | 10 +-
4 files changed, 201 insertions(+), 189 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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: andres@anarazel.de
Subject: Re: pgsql: Move generic slot support functions from heaptuple.c into execTu
In-Reply-To: <E1gCEYU-0008K7-Qp@gemulon.postgresql.org>
References: <E1gCEYU-0008K7-Qp@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