pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: Add integrity-checking functions to pg_visibility.
Date: Wed, 15 Jun 2016 18:44:30 +0000
Message-ID: <E1bDFni-0002aH-Bm@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Add integrity-checking functions to pg_visibility.

The new pg_check_visible() and pg_check_frozen() functions can be used to
verify that the visibility map bits for a relation's data pages match the
actual state of the tuples on those pages.

Amit Kapila and Robert Haas, reviewed (in earlier versions) by Andres
Freund.  Additional testing help by Thomas Munro.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/e472ce9624e0f2083c8fd25ea1acb081be908f8f

Modified Files
--------------
contrib/pg_visibility/Makefile                    |   2 +-
contrib/pg_visibility/pg_visibility--1.0--1.1.sql |  17 ++
contrib/pg_visibility/pg_visibility--1.0.sql      |  52 ----
contrib/pg_visibility/pg_visibility--1.1.sql      |  67 +++++
contrib/pg_visibility/pg_visibility.c             | 313 ++++++++++++++++++++++
contrib/pg_visibility/pg_visibility.control       |   2 +-
doc/src/sgml/pgvisibility.sgml                    |  28 +-
src/tools/pgindent/typedefs.list                  |   1 +
8 files changed, 427 insertions(+), 55 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


Message-ID: <E1bDFni-0002aH-Bm@gemulon.postgresql.org>
Permalink:  ../E1bDFni-0002aH-Bm@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1bDFni-0002aH-Bm@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 integrity-checking functions to pg_visibility.
  In-Reply-To: <E1bDFni-0002aH-Bm@gemulon.postgresql.org>
  References: <E1bDFni-0002aH-Bm@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