Re: check_GUC_init(wal_writer_flush_after) fails with non-default block size - Mailing list pgsql-hackers

From Andres Freund
Subject Re: check_GUC_init(wal_writer_flush_after) fails with non-default block size
Date
Msg-id 20230408052103.cm3l6xq7qr7b63ib@awork3.anarazel.de
Whole thread Raw
In response to check_GUC_init(wal_writer_flush_after) fails with non-default block size  (Thomas Munro <thomas.munro@gmail.com>)
Responses Re: check_GUC_init(wal_writer_flush_after) fails with non-default block size
List pgsql-hackers
Hi,

On 2023-04-08 13:18:55 +1200, Thomas Munro wrote:
> 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

> From 48d971e0b19f770991e334b8dc38422462b4485e Mon Sep 17 00:00:00 2001
> From: Thomas Munro <thomas.munro@gmail.com>
> Date: Sat, 8 Apr 2023 13:12:48 +1200
> Subject: [PATCH] Fix default wal_writer_flush_after value.

LGTM.

Greetings,

Andres



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Direct I/O
Next
From: Amit Kapila
Date:
Subject: Re: Non-superuser subscription owners