check_GUC_init(wal_writer_flush_after) fails with non-default block size
Thomas Munro <thomas.munro@gmail.com>
From: Thomas Munro <thomas.munro@gmail.com>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2023-04-08T01:18:55Z
Lists: pgsql-hackers
Attachments
- 0001-Fix-default-wal_writer_flush_after-value.patch (text/x-patch) patch 0001
Hi,
If you build with --with-wal-blocksize=/-Dwal_blocksize= anything but
8, this breaks:
running bootstrap script ... LOG: GUC (PGC_INT)
wal_writer_flush_after, boot_val=256, C-var=128
TRAP: failed Assert("check_GUC_init(hentry->gucvar)"), File: "guc.c",
Line: 1519, PID: 84605
Commits
-
Fix wal_writer_flush_after initializer value.
- 63932a6d38e5 16.0 landed