From: | Andres Freund <andres(at)anarazel(dot)de> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Renumber CHECKPOINT_* flags. |
Date: | 2014-10-20 22:26:36 |
Message-ID: | E1XgLPQ-0002Vj-16@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Andres Freund | 2014-10-20 23:03:42 | pgsql: Don't duplicate log_checkpoint messages for both of restart and |
Previous Message | Andres Freund | 2014-10-20 21:59:25 | pgsql: Flush unlogged table's buffers when copying or moving databases. |