pgsql: pg_visibility: Add pg_truncate_visibility_map function.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: pg_visibility: Add pg_truncate_visibility_map function.
Date: 2016-06-17 21:53:08
Message-ID: E1bE1hM-00029C-KI@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2016-06-17 22:08:34 pgsql: Finish up XLOG_HINT renaming
Previous Message Robert Haas 2016-06-17 20:30:19 pgsql: Try again to fix the way the scanjoin_target is used with partia