]> granicus.if.org Git - postgresql/commit
Improve API of GenericXLogRegister().
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 12 Apr 2016 15:42:06 +0000 (11:42 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 12 Apr 2016 15:42:06 +0000 (11:42 -0400)
commit5713f03973e26ad6df6df5ac8b9efa0123d68062
treec526803a22b48a7f42cd383ec69a88f9a67e5bed
parentbdf7db81921deb99fd9d489cbcc635906c89e215
Improve API of GenericXLogRegister().

Rename this function to GenericXLogRegisterBuffer() to make it clearer
what it does, and leave room for other sorts of "register" actions in
future.  Also, replace its "bool isNew" argument with an integer flags
argument, so as to allow adding more flags in future without an API
break.

Alexander Korotkov, adjusted slightly by me
contrib/bloom/blinsert.c
contrib/bloom/blutils.c
contrib/bloom/blvacuum.c
doc/src/sgml/generic-wal.sgml
src/backend/access/transam/generic_xlog.c
src/include/access/generic_xlog.h