check_GUC_init(wal_writer_flush_after) fails with non-default block size

From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: check_GUC_init(wal_writer_flush_after) fails with non-default block size
Date: 2023-04-08 01:18:55
Message-ID: CA+hUKGLNmLV=VrT==5MqnbARgx2ifRSFtdd8ofdfrdSLL3yv5A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Attachment Content-Type Size
0001-Fix-default-wal_writer_flush_after-value.patch text/x-patch 1.8 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2023-04-08 01:25:32 Re: daitch_mokotoff module
Previous Message Tom Lane 2023-04-08 01:13:43 Re: daitch_mokotoff module