From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Repurpose PROC_COPYABLE_FLAGS as PROC_XMIN_FLAGS
Date: Thu, 19 May 2022 14:21:33 +0000
Message-ID: <E1nrh1x-00083l-KD@gemulon.postgresql.org> (raw)
Repurpose PROC_COPYABLE_FLAGS as PROC_XMIN_FLAGS
This is a slight, convenient semantics change from what commit
0f0cfb494004 ("Fix parallel operations that prevent oldest xmin from
advancing") introduced that lets us simplify the coding in the one place
where it is used.
Backpatch to 13. This is related to commit 6fea65508a1a ("Tighten
ComputeXidHorizons' handling of walsenders") rewriting the code site
where this is used, which has not yet been backpatched, but it may well
be in the future.
Reviewed-by: Masahiko Sawada <sawada.mshk@gmail.com>
Discussion: https://postgr.es/m/202204191637.eldwa2exvguw@alvherre.pgsql
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/8d061acd12af26551b607299aa204c946d2b6ba2
Modified Files
--------------
src/backend/storage/ipc/procarray.c | 17 +++++++----------
src/include/storage/proc.h | 7 +++----
2 files changed, 10 insertions(+), 14 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: alvherre@alvh.no-ip.org
Subject: Re: pgsql: Repurpose PROC_COPYABLE_FLAGS as PROC_XMIN_FLAGS
In-Reply-To: <E1nrh1x-00083l-KD@gemulon.postgresql.org>
References: <E1nrh1x-00083l-KD@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