From: | Thomas Munro <tmunro(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Fix wal_writer_flush_after initializer value. |
Date: | 2023-05-14 23:22:20 |
Message-ID: | [email protected] |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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(at)anarazel(dot)de>
Discussion: https://postgr.es/m/CA+hUKGLNmLV=VrT==5MqnbARgx2ifRSFtdd8ofdfrdSLL3yv5A@mail.gmail.com
Branch
------
master
Modified Files
--------------
src/backend/postmaster/walwriter.c | 2 +-
src/backend/utils/misc/guc_tables.c | 2 +-
src/include/postmaster/walwriter.h | 2 ++
3 files changed, 4 insertions(+), 2 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2023-05-15 04:28:31 | pgsql: Fix whitespace inconsistencies |
Previous Message | Nathan Bossart | 2023-05-12 21:19:07 | pgsql: Improve error message for pg_create_subscription. |