Add buffer_std flag to MarkBufferDirtyHint().
Jeff Davis <jdavis@postgresql.org>
Add buffer_std flag to MarkBufferDirtyHint(). MarkBufferDirtyHint() writes WAL, and should know if it's got a standard buffer or not. Currently, the only callers where buffer_std is false are related to the FSM. In passing, rename XLOG_HINT to XLOG_FPI, which is more descriptive. Back-patch to 9.3.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/hash/hash.c | modified | +1 −1 |
| src/backend/access/heap/pruneheap.c | modified | +1 −1 |
| src/backend/access/nbtree/nbtinsert.c | modified | +2 −2 |
| src/backend/access/nbtree/nbtree.c | modified | +1 −1 |
| src/backend/access/nbtree/nbtutils.c | modified | +1 −1 |
| src/backend/access/rmgrdesc/xlogdesc.c | modified | +2 −2 |
| src/backend/access/transam/xlog.c | modified | +9 −9 |
| src/backend/commands/sequence.c | modified | +1 −1 |
| src/backend/storage/buffer/bufmgr.c | modified | +2 −2 |
| src/backend/storage/freespace/freespace.c | modified | +4 −4 |
| src/backend/storage/freespace/fsmpage.c | modified | +1 −1 |
| src/backend/utils/time/tqual.c | modified | +1 −1 |
| src/include/access/xlog.h | modified | +1 −1 |
| src/include/catalog/pg_control.h | modified | +1 −1 |
| src/include/storage/bufmgr.h | modified | +1 −1 |