pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add new 'old_snapshot' contrib module.
Date: Thu, 24 Sep 2020 18:24:59 +0000
Message-ID: <E1kLVvP-0001cZ-SK@gemulon.postgresql.org> (raw)

Add new 'old_snapshot' contrib module.

You can use this to view the contents of the time to XID mapping
which the server maintains when old_snapshot_threshold != -1.
Being able to view that information may be interesting for users,
and it's definitely useful for figuring out whether the mapping
is being maintained correctly. It isn't, so that will need to be
fixed in a subsequent commit.

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/aecf5ee2bb36c597d3c6142e367e38d67816c777

Modified Files
--------------
contrib/Makefile                           |   1 +
contrib/old_snapshot/Makefile              |  22 ++++
contrib/old_snapshot/old_snapshot--1.0.sql |  14 +++
contrib/old_snapshot/old_snapshot.control  |   5 +
contrib/old_snapshot/time_mapping.c        | 159 +++++++++++++++++++++++++++++
doc/src/sgml/contrib.sgml                  |   1 +
doc/src/sgml/filelist.sgml                 |   1 +
doc/src/sgml/oldsnapshot.sgml              |  33 ++++++
8 files changed, 236 insertions(+)



Message-ID: <E1kLVvP-0001cZ-SK@gemulon.postgresql.org>
Permalink:  ../E1kLVvP-0001cZ-SK@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1kLVvP-0001cZ-SK@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: rhaas@postgresql.org
  Subject: Re: pgsql: Add new 'old_snapshot' contrib module.
  In-Reply-To: <E1kLVvP-0001cZ-SK@gemulon.postgresql.org>
  References: <E1kLVvP-0001cZ-SK@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox