Repurpose PROC_COPYABLE_FLAGS as PROC_XMIN_FLAGS
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 19 May 2022 14:20:32 +0000 (16:20 +0200)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 19 May 2022 14:20:32 +0000 (16:20 +0200)
commit8d061acd12af26551b607299aa204c946d2b6ba2
tree86e65b580cc2bc58437b87a07f3197bf595e5d03
parenta1e7616d6e1e8056b6eae6d68be9e1e658afaf96
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
src/backend/storage/ipc/procarray.c
src/include/storage/proc.h