aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/hash/hash.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/hash/hash.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/hash/hash.c')
-rw-r--r--src/backend/access/hash/hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/hash/hash.c b/src/backend/access/hash/hash.c
index 5ca27a231e2..8895f585034 100644
--- a/src/backend/access/hash/hash.c
+++ b/src/backend/access/hash/hash.c
@@ -287,7 +287,7 @@ hashgettuple(PG_FUNCTION_ARGS)
/*
* Since this can be redone later if needed, mark as a hint.
*/
- MarkBufferDirtyHint(buf);
+ MarkBufferDirtyHint(buf, true);
}
/*