Expose oldSnapshotControl definition via new header.

Robert Haas <rhaas@postgresql.org>

Commit: f5ea92e8d620a1260d3427b92fa350bbf36594a2
Author: Robert Haas <rhaas@postgresql.org>
Date: 2020-09-24T17:33:09Z
Releases: 14.0
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

PathChange+/−
src/backend/utils/time/snapmgr.c modified +2 −53
src/include/utils/old_snapshot.h added +75 −0

Discussion