Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit cc547cf

Browse files
committed
pg_resetwal: Fix logical typo in code
introduced in f1a074b
1 parent 2dd3f96 commit cc547cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin/pg_resetwal/pg_resetwal.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -693,8 +693,8 @@ GuessControlValues(void)
693693
ControlFile.floatFormat = FLOATFORMAT_VALUE;
694694
ControlFile.blcksz = BLCKSZ;
695695
ControlFile.relseg_size = RELSEG_SIZE;
696-
WalSegSz = ControlFile.xlog_blcksz = XLOG_BLCKSZ;
697-
ControlFile.xlog_seg_size = DEFAULT_XLOG_SEG_SIZE;
696+
ControlFile.xlog_blcksz = XLOG_BLCKSZ;
697+
WalSegSz = ControlFile.xlog_seg_size = DEFAULT_XLOG_SEG_SIZE;
698698
ControlFile.nameDataLen = NAMEDATALEN;
699699
ControlFile.indexMaxKeys = INDEX_MAX_KEYS;
700700
ControlFile.toast_max_chunk_size = TOAST_MAX_CHUNK_SIZE;

0 commit comments

Comments
 (0)