From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Refactor setting XLP_FIRST_IS_OVERWRITE_CONTRECORD.
Date: Wed, 16 Feb 2022 07:51:19 +0000
Message-ID: <E1nKF5r-0003aE-2q@gemulon.postgresql.org> (raw)
Refactor setting XLP_FIRST_IS_OVERWRITE_CONTRECORD.
Set it directly in CreateOverwriteContrecordRecord(). That way,
AdvanceXLInsertBuffer() doesn't need the missingContrecPtr global
variable. This is in preparation for splitting xlog.c into multiple
files.
Reviewed-by: Robert Haas
Discussion: https://www.postgresql.org/message-id/a462d79c-cb5a-47cc-e9ac-616b5003965f%40iki.fi
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/b3a5d01c051b2a6579dc13af93a3dc3bebe8d051
Modified Files
--------------
src/backend/access/transam/xlog.c | 73 ++++++++++++++++++++++++++++-----------
1 file changed, 53 insertions(+), 20 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: heikki.linnakangas@iki.fi
Subject: Re: pgsql: Refactor setting XLP_FIRST_IS_OVERWRITE_CONTRECORD.
In-Reply-To: <E1nKF5r-0003aE-2q@gemulon.postgresql.org>
References: <E1nKF5r-0003aE-2q@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