projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2751c7f
)
Fix thinko in comment.
author
Heikki Linnakangas
<
[email protected]
>
Thu, 2 May 2013 15:08:43 +0000
(18:08 +0300)
committer
Heikki Linnakangas
<
[email protected]
>
Thu, 2 May 2013 15:11:18 +0000
(18:11 +0300)
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.
src/backend/access/transam/xlog.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/access/transam/xlog.c
b/src/backend/access/transam/xlog.c
index 9aecad60209e2a540e69c154daa0f18742d07c8f..f13f31310795bbd2e5ce6896003577ad32da3733 100644
(file)
--- 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)++;