]> granicus.if.org Git - postgresql/commit
Exclude VACUUMs from RunningXactData
authorSimon Riggs <simon@2ndQuadrant.com>
Thu, 7 Jun 2018 19:38:12 +0000 (20:38 +0100)
committerSimon Riggs <simon@2ndQuadrant.com>
Thu, 7 Jun 2018 19:38:12 +0000 (20:38 +0100)
commit32ac7a118fc17f5baac1b370f50d759c30bee00a
treeb425f94549cb5fc9060c079d30bcfa807d122210
parent848b1f3e358f4a1bb98d8c4a07ff8ee5fd7ea9a0
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
src/backend/storage/ipc/procarray.c