From cc547cf08fe62e90f34a780a6b4fe428336ab3ec Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sun, 25 Mar 2018 09:09:04 -0400 Subject: [PATCH] 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 8b1c9355c5..d5b4a5a0ee 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;