pgsql: Improve API of GenericXLogRegister().

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Improve API of GenericXLogRegister().
Дата
Msg-id E1aq0SC-0000gx-LQ@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/5713f03973e26ad6df6df5ac8b9efa0123d68062

Modified Files
--------------
contrib/bloom/blinsert.c                  | 10 +++++-----
contrib/bloom/blutils.c                   |  9 +++++----
contrib/bloom/blvacuum.c                  |  4 ++--
doc/src/sgml/generic-wal.sgml             | 32 +++++++++++++++++--------------
src/backend/access/transam/generic_xlog.c | 10 ++++++----
src/include/access/generic_xlog.h         |  7 +++++--
6 files changed, 41 insertions(+), 31 deletions(-)


В списке pgsql-committers по дате отправления: