aboutsummaryrefslogtreecommitdiff
path: root/src/backend/storage/buffer
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2016-06-17 18:05:55 -0400
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2016-06-17 18:05:55 -0400
commit1ca4a1b5d2c633d33161792af1c70e397f879ed9 (patch)
tree9fdb444a862b7a24cb8c1efc38fbe753f5faba3c /src/backend/storage/buffer
parent71d05a2c7b82379bb1013a0e338906349c54ed85 (diff)
downloadpostgresql-1ca4a1b5d2c633d33161792af1c70e397f879ed9.tar.gz
postgresql-1ca4a1b5d2c633d33161792af1c70e397f879ed9.zip
Finish up XLOG_HINT renaming
Commit b8fd1a09f3 renamed XLOG_HINT to XLOG_FPI, but neglected two places. Backpatch to 9.3, like that commit.
Diffstat (limited to 'src/backend/storage/buffer')
-rw-r--r--src/backend/storage/buffer/bufmgr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/storage/buffer/bufmgr.c b/src/backend/storage/buffer/bufmgr.c
index b7ca9bf04cd..a67e5181fa9 100644
--- a/src/backend/storage/buffer/bufmgr.c
+++ b/src/backend/storage/buffer/bufmgr.c
@@ -3352,7 +3352,7 @@ IncrBufferRefCount(Buffer buffer)
* This is essentially the same as MarkBufferDirty, except:
*
* 1. The caller does not write WAL; so if checksums are enabled, we may need
- * to write an XLOG_HINT WAL record to protect against torn pages.
+ * to write an XLOG_FPI WAL record to protect against torn pages.
* 2. The caller might have only share-lock instead of exclusive-lock on the
* buffer's content lock.
* 3. This function does not guarantee that the buffer is always marked dirty