Expose oldSnapshotControl definition via new header.
Robert Haas <rhaas@postgresql.org>
Expose oldSnapshotControl definition via new header. This makes it possible for code outside snapmgr.c to examine the contents of this data structure. This commit does not add any code which actually does so; a subsequent commit will make that change. Patch by me, reviewed by Thomas Munro, Dilip Kumar, Hamid Akhtar. Discussion: http://postgr.es/m/CA+TgmoY=aqf0zjTD+3dUWYkgMiNDegDLFjo+6ze=Wtpik+3XqA@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/time/snapmgr.c | modified | +2 −53 |
| src/include/utils/old_snapshot.h | added | +75 −0 |
Discussion
- fixing old_snapshot_threshold's time->xid mapping 31 messages · 2020-04-16 → 2020-11-26