diff options
author | Fujii Masao <fujii@postgresql.org> | 2025-08-21 22:18:11 +0900 |
---|---|---|
committer | Fujii Masao <fujii@postgresql.org> | 2025-08-21 22:18:11 +0900 |
commit | 12da45742cfd15d9fab151b25400d96a1febcbde (patch) | |
tree | 9b70322afa58a0813910a2c07e7f0e4e51a46a80 /src/backend/access/transam/xlogprefetch.c | |
parent | 53eff471c69dc8b0c01f046d3fdcc460eb90d0e5 (diff) |
Disallow server start with sync_replication_slots = on and wal_level < logical.
Replication slot synchronization (sync_replication_slots = on)
requires wal_level to be logical. This commit prevents the server
from starting if sync_replication_slots is enabled but wal_level
is set to minimal or replica.
Failing early during startup helps users catch invalid configurations
immediately, which is important because changing wal_level requires
a server restart.
Author: Fujii Masao <masao.fujii@gmail.com>
Reviewed-by: Shveta Malik <shveta.malik@gmail.com>
Discussion: https://postgr.es/m/CAH0PTU_pc3oHi__XESF9ZigCyzai1Mo3LsOdFyQA4aUDkm01RA@mail.gmail.com
Diffstat (limited to 'src/backend/access/transam/xlogprefetch.c')
0 files changed, 0 insertions, 0 deletions