projects
/
users
/
gsingh
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2dd3f96
)
pg_resetwal: Fix logical typo in code
author
Peter Eisentraut
<peter_e@gmx.net>
Sun, 25 Mar 2018 13:09:04 +0000
(09:09 -0400)
committer
Peter Eisentraut
<peter_e@gmx.net>
Sun, 25 Mar 2018 13:09:04 +0000
(09:09 -0400)
introduced in
f1a074b146c900bd439b6ef1953866f41b61a669
src/bin/pg_resetwal/pg_resetwal.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/pg_resetwal/pg_resetwal.c
b/src/bin/pg_resetwal/pg_resetwal.c
index 8b1c9355c5eb8487a2705f03495eff671b9109a4..d5b4a5a0ee19c1290f3b470c63e60463856b0b64 100644
(file)
--- a/
src/bin/pg_resetwal/pg_resetwal.c
+++ b/
src/bin/pg_resetwal/pg_resetwal.c
@@
-693,8
+693,8
@@
GuessControlValues(void)
ControlFile.floatFormat = FLOATFORMAT_VALUE;
ControlFile.blcksz = BLCKSZ;
ControlFile.relseg_size = RELSEG_SIZE;
-
WalSegSz =
ControlFile.xlog_blcksz = XLOG_BLCKSZ;
- ControlFile.xlog_seg_size = DEFAULT_XLOG_SEG_SIZE;
+ ControlFile.xlog_blcksz = XLOG_BLCKSZ;
+
WalSegSz =
ControlFile.xlog_seg_size = DEFAULT_XLOG_SEG_SIZE;
ControlFile.nameDataLen = NAMEDATALEN;
ControlFile.indexMaxKeys = INDEX_MAX_KEYS;
ControlFile.toast_max_chunk_size = TOAST_MAX_CHUNK_SIZE;