pgsql: Renumber CHECKPOINT_* flags.

Поиск
Список
Период
Сортировка
От Andres Freund
Тема pgsql: Renumber CHECKPOINT_* flags.
Дата
Msg-id E1XgLPQ-0002Vj-16@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Renumber CHECKPOINT_* flags.

Commit 7dbb6069382 added a new CHECKPOINT_FLUSH_ALL flag. As that
commit needed to be backpatched I didn't change the numeric values of
the existing flags as that could lead to nastly problems if any
external code issued checkpoints. That's not a concern on master, so
renumber them there.

Also add a comment about CHECKPOINT_FLUSH_ALL above
CreateCheckPoint().

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/11abd6c90f1094eaeee32e1c57d250c9db5102cb

Modified Files
--------------
src/backend/access/transam/xlog.c |    1 +
src/include/access/xlog.h         |   10 +++++-----
2 files changed, 6 insertions(+), 5 deletions(-)


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: pgsql: Flush unlogged table's buffers when copying or moving databases.
Следующее
От: Andres Freund
Дата:
Сообщение: pgsql: Don't duplicate log_checkpoint messages for both of restart and