Rename delayChkpt to delayChkptFlags.
Robert Haas <rhaas@postgresql.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/transam/multixact.c | modified | +3 −3 |
| src/backend/access/transam/twophase.c | modified | +14 −14 |
| src/backend/access/transam/xact.c | modified | +7 −7 |
| src/backend/access/transam/xlog.c | modified | +5 −5 |
| src/backend/access/transam/xloginsert.c | modified | +1 −1 |
| src/backend/catalog/storage.c | modified | +3 −3 |
| src/backend/storage/buffer/bufmgr.c | modified | +6 −6 |
| src/backend/storage/ipc/procarray.c | modified | +15 −14 |
| src/backend/storage/lmgr/proc.c | modified | +2 −2 |
| src/include/storage/proc.h | modified | +1 −1 |
Discussion
- pgsql: Fix possible recovery trouble if TRUNCATE overlaps a checkpoint. 38 messages · 2022-03-24 → 2022-04-15