pgsql: Expose oldSnapshotControl definition via new header.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Expose oldSnapshotControl definition via new header.
Date: 2020-09-24 17:55:22
Message-ID: E1kLVSk-0001Rq-GN@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f5ea92e8d620a1260d3427b92fa350bbf36594a2

Modified Files
--------------
src/backend/utils/time/snapmgr.c | 55 ++---------------------------
src/include/utils/old_snapshot.h | 75 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 77 insertions(+), 53 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2020-09-24 18:24:59 pgsql: Add new 'old_snapshot' contrib module.
Previous Message Bruce Momjian 2020-09-24 17:53:37 Re: pgsql: Improve the error message for an inappropriate column definition