aboutsummaryrefslogtreecommitdiff
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:10:39 +0300
commit7fa56e636e42d1bc969483ed1f2c93d47abe39ba (patch)
tree3f27e781ac9dc767774d07fb154a26c7fae58329
parent15b0421002624919c62ae3c6574af2a8452bf6c4 (diff)
downloadpostgresql-7fa56e636e42d1bc969483ed1f2c93d47abe39ba.tar.gz
postgresql-7fa56e636e42d1bc969483ed1f2c93d47abe39ba.zip
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 26c9ef3d410..d4f96966c0a 100644
--- a/src/backend/access/transam/xlog.c
+++ b/src/backend/access/transam/xlog.c
@@ -3970,7 +3970,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)++;