summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2013-05-02 18:08:43 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2013-05-02 18:11:28 +0300
commite1d1d8099300bbc55cd44afa4ecab0cca1f33953 (patch)
tree1c9a48e7e3368bbaeacaf5eae2689622f26a9163
parent424cc31a3785bd01108e6f4b20941c6442d3d2d0 (diff)
Fix thinko in comment.
WAL segment means a 16 MB physical WAL file; this comment meant a logical 4 GB log file. Amit Langote. Apply to backbranches only, as the comment is gone in master.
-rw-r--r--src/backend/access/transam/xlog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c
index dd7d1a22b4b..3d2458920e7 100644
--- a/src/backend/access/transam/xlog.c
+++ b/src/backend/access/transam/xlog.c
@@ -3777,7 +3777,7 @@ ReadRecord(XLogRecPtr *RecPtr, int emode, bool fetching_ckpt)
if (XLOG_BLCKSZ - (RecPtr->xrecoff % XLOG_BLCKSZ) < SizeOfXLogRecord)
NextLogPage(*RecPtr);
- /* Check for crossing of xlog segment boundary */
+ /* Check for crossing of xlog logid boundary */
if (RecPtr->xrecoff >= XLogFileSize)
{
(RecPtr->xlogid)++;