aboutsummaryrefslogtreecommitdiff
path: root/src/include/storage/bufmgr.h
diff options
context:
space:
mode:
authorJeff Davis <jdavis@postgresql.org>2013-06-17 08:02:12 -0700
committerJeff Davis <jdavis@postgresql.org>2013-06-17 08:02:12 -0700
commitb8fd1a09f382f04c41128fded4d56da2127ce92d (patch)
treee84773ab67d8daf81c5260e36086e727cdeec707 /src/include/storage/bufmgr.h
parent2bc4ab4f9c2ed8d94c22c41fce05f97838f2fc42 (diff)
downloadpostgresql-b8fd1a09f382f04c41128fded4d56da2127ce92d.tar.gz
postgresql-b8fd1a09f382f04c41128fded4d56da2127ce92d.zip
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.
Diffstat (limited to 'src/include/storage/bufmgr.h')
-rw-r--r--src/include/storage/bufmgr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/storage/bufmgr.h b/src/include/storage/bufmgr.h
index 9be18608426..6dc031ead54 100644
--- a/src/include/storage/bufmgr.h
+++ b/src/include/storage/bufmgr.h
@@ -204,7 +204,7 @@ extern Size BufferShmemSize(void);
extern void BufferGetTag(Buffer buffer, RelFileNode *rnode,
ForkNumber *forknum, BlockNumber *blknum);
-extern void MarkBufferDirtyHint(Buffer buffer);
+extern void MarkBufferDirtyHint(Buffer buffer, bool buffer_std);
extern void UnlockBuffers(void);
extern void LockBuffer(Buffer buffer, int mode);