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.fu...@gmail.com> Reviewed-by: Shveta Malik <shveta.ma...@gmail.com> Discussion: https://postgr.es/m/cah0ptu_pc3ohi__xesf9zigcyzai1mo3lsodfyqa4audkm0...@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/12da45742cfd15d9fab151b25400d96a1febcbde Modified Files -------------- src/backend/postmaster/postmaster.c | 3 +++ 1 file changed, 3 insertions(+)