Re: pgsql: Exclude VACUUMs from RunningXactData

2018-06-07 Thread Andres Freund
On 2018-06-07 16:24:30 -0400, Tom Lane wrote: > Simon Riggs writes: > > Exclude VACUUMs from RunningXactData > > GetRunningTransactionData() should ignore VACUUM procs because in some > > cases they are assigned xids. > > Uh, what? Lazy vacuum shouldn't acquire an xid. If it does, that > would

Re: pgsql: Exclude VACUUMs from RunningXactData

2018-06-07 Thread Tom Lane
Simon Riggs writes: > Exclude VACUUMs from RunningXactData > GetRunningTransactionData() should ignore VACUUM procs because in some > cases they are assigned xids. Uh, what? Lazy vacuum shouldn't acquire an xid. If it does, that would suggest it's running code that it's unsafe for GetRunningTra