pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Repurpose PROC_COPYABLE_FLAGS as PROC_XMIN_FLAGS
3+ messages / 1 participants
[nested] [flat]

* pgsql: Repurpose PROC_COPYABLE_FLAGS as PROC_XMIN_FLAGS
@ 2022-05-19 14:21  Alvaro Herrera <alvherre@alvh.no-ip.org>
  0 siblings, 0 replies; 3+ messages in thread

From: Alvaro Herrera @ 2022-05-19 14:21 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: Repurpose PROC_COPYABLE_FLAGS as PROC_XMIN_FLAGS
@ 2022-05-19 14:21  Alvaro Herrera <alvherre@alvh.no-ip.org>
  0 siblings, 0 replies; 3+ messages in thread

From: Alvaro Herrera @ 2022-05-19 14:21 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/8d9d1286acf9f209243cbcddc53cc4c875a90e20

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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: Repurpose PROC_COPYABLE_FLAGS as PROC_XMIN_FLAGS
@ 2022-05-19 14:21  Alvaro Herrera <alvherre@alvh.no-ip.org>
  0 siblings, 0 replies; 3+ messages in thread

From: Alvaro Herrera @ 2022-05-19 14:21 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
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(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2022-05-19 14:21 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-05-19 14:21 pgsql: Repurpose PROC_COPYABLE_FLAGS as PROC_XMIN_FLAGS Alvaro Herrera <alvherre@alvh.no-ip.org>
2022-05-19 14:21 pgsql: Repurpose PROC_COPYABLE_FLAGS as PROC_XMIN_FLAGS Alvaro Herrera <alvherre@alvh.no-ip.org>
2022-05-19 14:21 pgsql: Repurpose PROC_COPYABLE_FLAGS as PROC_XMIN_FLAGS Alvaro Herrera <alvherre@alvh.no-ip.org>

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