RecentXmin is too recent to use as the cutoff point for accessing
Tom Lane <tgl@sss.pgh.pa.us>
RecentXmin is too recent to use as the cutoff point for accessing pg_subtrans --- what we need is the oldest xmin of any snapshot in use in the current top transaction. Introduce a new variable TransactionXmin to play this role. Fixes intermittent regression failure reported by Neil Conway.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/transam/subtrans.c | modified | +7 −7 |
| src/backend/access/transam/transam.c | modified | +7 −7 |
| src/backend/storage/ipc/sinval.c | modified | +23 −11 |
| src/backend/utils/time/tqual.c | modified | +2 −1 |
| src/include/utils/tqual.h | modified | +2 −1 |