pgsql: Exclude VACUUMs from RunningXactData - Mailing list pgsql-committers

From Simon Riggs
Subject pgsql: Exclude VACUUMs from RunningXactData
Date
Msg-id E1fR0mh-0006ZJ-O6@gemulon.postgresql.org
Whole thread Raw
Responses Re: pgsql: Exclude VACUUMs from RunningXactData
List pgsql-committers
Exclude VACUUMs from RunningXactData

GetRunningTransactionData() should ignore VACUUM procs because in some
cases they are assigned xids. This could lead to holding back xmin via
the route of passing the xid to standby and then having that hold back
xmin on master via feedback.

Backpatch to 9.1 needed, but will only do so on supported versions.
Backpatch once proven on the buildfarm.

Reported-by: Greg Stark
Author: Simon Riggs
Reviewed-by: Amit Kapila
Discussion: https://postgr.es/m/CANP8+jJBYt=4PpTfiPb0UrH1_iPhzsxKH5Op_Wec634F0ohnAw@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/32ac7a118fc17f5baac1b370f50d759c30bee00a

Modified Files
--------------
src/backend/storage/ipc/procarray.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Magnus Hagander
Date:
Subject: pgsql: Fix typo in README
Next
From: Tom Lane
Date:
Subject: Re: pgsql: Exclude VACUUMs from RunningXactData