]> granicus.if.org Git - postgresql/commit
Get rid of GenericXLogUnregister().
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 9 Apr 2016 20:39:30 +0000 (16:39 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 9 Apr 2016 20:39:30 +0000 (16:39 -0400)
commit08e785436f84f8824149a2182b0cb9ce2c28e31d
treeedcc85eee9bbfae0bd19d87e471d5c979ca5eabd
parent80cf18910c8edf2575c306dde9ead192bdb0863a
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.
doc/src/sgml/generic-wal.sgml
src/backend/access/transam/generic_xlog.c
src/include/access/generic_xlog.h