pgsql: pg_visibility: Add pg_truncate_visibility_map function. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: pg_visibility: Add pg_truncate_visibility_map function.
Date
Msg-id E1bE1hM-00029C-KI@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
pg_visibility: Add pg_truncate_visibility_map function.

This requires some core changes as well so that we can properly
WAL-log the truncation.  Specifically, it changes the format of the
XLOG_SMGR_TRUNCATE WAL record, so bump XLOG_PAGE_MAGIC.

Patch by me, reviewed but not fully endorsed by Andres Freund.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/71d05a2c7b82379bb1013a0e338906349c54ed85

Modified Files
--------------
contrib/pg_visibility/pg_visibility--1.0--1.1.sql |  7 +++
contrib/pg_visibility/pg_visibility--1.1.sql      |  8 +++
contrib/pg_visibility/pg_visibility.c             | 72 +++++++++++++++++++++++
doc/src/sgml/pgvisibility.sgml                    | 30 ++++++++--
src/backend/access/rmgrdesc/smgrdesc.c            |  3 +-
src/backend/catalog/storage.c                     | 16 +++--
src/include/access/xlog_internal.h                |  2 +-
src/include/catalog/storage_xlog.h                |  8 +++
8 files changed, 133 insertions(+), 13 deletions(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: Try again to fix the way the scanjoin_target is used with partia
Next
From: Alvaro Herrera
Date:
Subject: pgsql: Finish up XLOG_HINT renaming