diff options
author | Robert Haas <rhaas@postgresql.org> | 2022-04-08 11:44:17 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2022-04-08 11:44:17 -0400 |
commit | f37015a1617d4e6b4b50a1c789b382d9a654fcd9 (patch) | |
tree | 69eefbb12bb4bfa426f188b78bdd3ebdc01d9858 /src/backend/access/transam/xloginsert.c | |
parent | 891624f0ec3b3d353269b0bfc7bc545333d6b4d5 (diff) | |
download | postgresql-f37015a1617d4e6b4b50a1c789b382d9a654fcd9.tar.gz postgresql-f37015a1617d4e6b4b50a1c789b382d9a654fcd9.zip |
Rename delayChkpt to delayChkptFlags.
Before commit 412ad7a55639516f284cd0ef9757d6ae5c7abd43, delayChkpt
was a Boolean. Now it's an integer. Extensions using it need to be
appropriately updated, so let's rename the field to make sure that
a hard compilation failure occurs.
Replacing delayChkpt with delayChkptFlags made a few comments extend
past 80 characters, so I reflowed them and changed some wording very
slightly.
The back-branches will need a different change to restore compatibility
with existing minor releases; this is just for master.
Per suggestion from Tom Lane.
Discussion: http://postgr.es/m/a7880f4d-1d74-582a-ada7-dad168d046d1@enterprisedb.com
Diffstat (limited to 'src/backend/access/transam/xloginsert.c')
-rw-r--r-- | src/backend/access/transam/xloginsert.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/transam/xloginsert.c b/src/backend/access/transam/xloginsert.c index 462e23503e2..2ce9be2cc76 100644 --- a/src/backend/access/transam/xloginsert.c +++ b/src/backend/access/transam/xloginsert.c @@ -1011,7 +1011,7 @@ XLogSaveBufferForHint(Buffer buffer, bool buffer_std) /* * Ensure no checkpoint can change our view of RedoRecPtr. */ - Assert((MyProc->delayChkpt & DELAY_CHKPT_START) != 0); + Assert((MyProc->delayChkptFlags & DELAY_CHKPT_START) != 0); /* * Update RedoRecPtr so that we can make the right decision |