projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15b0421
)
Fix thinko in comment.
author
Heikki Linnakangas
Thu, 2 May 2013 15:08:43 +0000
(18:08 +0300)
committer
Heikki Linnakangas
Thu, 2 May 2013 15:10:39 +0000
(18:10 +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 26c9ef3d4103fb2e1a5c407f3124c547da17a218..d4f96966c0a4b93547f614b8b048e2ce98ce7d89 100644
(file)
--- 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)++;