pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: Get rid of GenericXLogUnregister().
Date: Sat, 09 Apr 2016 20:39:40 +0000
Message-ID: <E1aozfQ-0004SW-If@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Get rid of GenericXLogUnregister().

This routine is unsafe as implemented, because it invalidates the page
image pointers returned by previous GenericXLogRegister() calls.

Rather than complicate the API or the implementation to avoid that,
let's just get rid of it; the use-case for having it seems much
too thin to justify a lot of work here.

While at it, do some wordsmithing on the SGML docs for generic WAL.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/08e785436f84f8824149a2182b0cb9ce2c28e31d

Modified Files
--------------
doc/src/sgml/generic-wal.sgml             | 121 +++++++++++++++++-------------
src/backend/access/transam/generic_xlog.c |  29 -------
src/include/access/generic_xlog.h         |   3 +-
3 files changed, 69 insertions(+), 84 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: <E1aozfQ-0004SW-If@gemulon.postgresql.org>
Permalink:  ../E1aozfQ-0004SW-If@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1aozfQ-0004SW-If@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: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Get rid of GenericXLogUnregister().
  In-Reply-To: <E1aozfQ-0004SW-If@gemulon.postgresql.org>
  References: <E1aozfQ-0004SW-If@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