Add integrity-checking functions to pg_visibility.

Robert Haas <rhaas@postgresql.org>

Commit: e472ce9624e0f2083c8fd25ea1acb081be908f8f
Author: Robert Haas <rhaas@postgresql.org>
Date: 2016-06-15T18:33:58Z
Releases: 9.6.0
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.

Files

Documentation touched