pgsql: Repurpose PROC_COPYABLE_FLAGS as PROC_XMIN_FLAGS

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Repurpose PROC_COPYABLE_FLAGS as PROC_XMIN_FLAGS
Date: 2022-05-19 14:21:34
Message-ID: E1nrh1x-00083p-LH@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(dot)mshk(at)gmail(dot)com>
Discussion: https://postgr.es/m/202204191637.eldwa2exvguw@alvherre.pgsql

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/5fd0cccc116b248be615f5a7cd35b5d46c0589d1

Modified Files
--------------
src/backend/storage/ipc/procarray.c | 11 ++++++-----
src/include/storage/proc.h | 7 +++----
2 files changed, 9 insertions(+), 9 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2022-05-19 22:36:21 pgsql: Doc: clarify location of libpq's default service file on Windows
Previous Message Alvaro Herrera 2022-05-19 14:21:33 pgsql: Repurpose PROC_COPYABLE_FLAGS as PROC_XMIN_FLAGS