pg_resetwal: Fix logical typo in code

introduced in f1a074b146
This commit is contained in:
Peter Eisentraut 2018-03-25 09:09:04 -04:00
parent 2dd3f969f5
commit cc547cf08f
1 changed files with 2 additions and 2 deletions

View 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;