Fix wal_writer_flush_after initializer value.

Thomas Munro <tmunro@postgresql.org>

Commit: 63932a6d38e5dfa6df2a51a04b7314ec1e4d3de7
Author: Thomas Munro <tmunro@postgresql.org>
Date: 2023-05-14T23:19:54Z
Releases: 16.0
Fix wal_writer_flush_after initializer value.

Commit a73952b7956 (new in 16) required default values in guc_table.c
and C variable initializers to match.  This one only matched when
XLOG_BLCKSZ == 8kB.  Fix by using the same expression in both places
with a new DEFAULT_XXX macro, as done for other GUCs.

Reviewed-by: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/CA+hUKGLNmLV=VrT==5MqnbARgx2ifRSFtdd8ofdfrdSLL3yv5A@mail.gmail.com

Files

Discussion