diff options
| author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2013-05-02 18:08:43 +0300 |
|---|---|---|
| committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2013-05-02 18:11:18 +0300 |
| commit | 5f14acdebc86269ae8a7f78e7623239e06337ffc (patch) | |
| tree | 947480472f602a663d83bc398b8581d272845213 /src/backend/access/transam/xlog.c | |
| parent | 2751c7f7395d169ccac053d104e86c3dd45594ca (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.
Diffstat (limited to 'src/backend/access/transam/xlog.c')
| -rw-r--r-- | src/backend/access/transam/xlog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index 9aecad60209..f13f3131079 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -3716,7 +3716,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)++; |
