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: pg_visibility: Add pg_truncate_visibility_map function.
Date: Fri, 17 Jun 2016 21:53:08 +0000
Message-ID: <E1bE1hM-00029C-KI@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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(-)


-- 
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: <E1bE1hM-00029C-KI@gemulon.postgresql.org>
Permalink:  ../E1bE1hM-00029C-KI@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1bE1hM-00029C-KI@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: pg_visibility: Add pg_truncate_visibility_map function.
  In-Reply-To: <E1bE1hM-00029C-KI@gemulon.postgresql.org>
  References: <E1bE1hM-00029C-KI@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