]> granicus.if.org Git - postgresql/commitdiff
pg_resetwal: Fix logical typo in code
authorPeter Eisentraut <peter_e@gmx.net>
Sun, 25 Mar 2018 13:09:04 +0000 (09:09 -0400)
committerPeter 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

index 8b1c9355c5eb8487a2705f03495eff671b9109a4..d5b4a5a0ee19c1290f3b470c63e60463856b0b64 100644 (file)
@@ -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;