aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/heap/pruneheap.c
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/backend/access/heap/pruneheap.c
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/backend/access/heap/pruneheap.c')
-rw-r--r--src/backend/access/heap/pruneheap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/heap/pruneheap.c b/src/backend/access/heap/pruneheap.c
index 2ab723ddf19..c6e31542935 100644
--- a/src/backend/access/heap/pruneheap.c
+++ b/src/backend/access/heap/pruneheap.c
@@ -262,7 +262,7 @@ heap_page_prune(Relation relation, Buffer buffer, TransactionId OldestXmin,
{
((PageHeader) page)->pd_prune_xid = prstate.new_prune_xid;
PageClearFull(page);
- MarkBufferDirtyHint(buffer);
+ MarkBufferDirtyHint(buffer, true);
}
}