Add integrity-checking functions to pg_visibility.
authorRobert Haas <rhaas@postgresql.org>
Wed, 15 Jun 2016 18:33:58 +0000 (14:33 -0400)
committerRobert Haas <rhaas@postgresql.org>
Wed, 15 Jun 2016 18:33:58 +0000 (14:33 -0400)
commite472ce9624e0f2083c8fd25ea1acb081be908f8f
tree3b72ed0481ab470b40b0ec8a84450665559fdd94
parent38e9f90a227d1e60e7b4691d1a71fefaba6059e5
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.
contrib/pg_visibility/Makefile
contrib/pg_visibility/pg_visibility--1.0--1.1.sql [new file with mode: 0644]
contrib/pg_visibility/pg_visibility--1.1.sql [moved from contrib/pg_visibility/pg_visibility--1.0.sql with 75% similarity]
contrib/pg_visibility/pg_visibility.c
contrib/pg_visibility/pg_visibility.control
doc/src/sgml/pgvisibility.sgml
src/tools/pgindent/typedefs.list