postgres.git / summary / log / commit / refs
commit cc547cf08fe62e90f34a780a6b4fe428336ab3ec
Author: Peter Eisentraut <peter_e@gmx.net>
Date: Sun Mar 25 13:09:04 2018 +0000
First released in: 11.0
pg_resetwal: Fix logical typo in code
introduced in f1a074b146c900bd439b6ef1953866f41b61a669
src/bin/pg_resetwal/pg_resetwal.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/bin/pg_resetwal/pg_resetwal.c b/src/bin/pg_resetwal/pg_resetwal.c
index 8b1c9355c5e..d5b4a5a0ee1 100644
--- 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;
[parent: 2dd3f969f5f2]