Expose oldSnapshotControl definition via new header.
authorRobert Haas <rhaas@postgresql.org>
Thu, 24 Sep 2020 17:32:39 +0000 (13:32 -0400)
committerRobert Haas <rhaas@postgresql.org>
Thu, 24 Sep 2020 17:33:09 +0000 (13:33 -0400)
commitf5ea92e8d620a1260d3427b92fa350bbf36594a2
tree4fe187254fc32aec9120e37059e61385e2607730
parentfc5f107a8c08f55cc8b810d6f212dd723a07fe9a
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
src/backend/utils/time/snapmgr.c
src/include/utils/old_snapshot.h [new file with mode: 0644]