diff options
author | Fujii Masao | 2025-08-04 11:51:42 +0000 |
---|---|---|
committer | Fujii Masao | 2025-08-04 11:51:42 +0000 |
commit | 4614d53d4ef4d2249df45adedd85da8129feee94 (patch) | |
tree | b9cdcec73711207dc6d3c6af5dd08c28f4fe7320 /src/backend/utils/hash/Makefile | |
parent | 126665289fa8e0f7b30165674983f079a5896d91 (diff) |
Previously, enabling sync_replication_slots while wal_level was not set
to logical could cause the server to shut down. This was because
the postmaster performed a configuration check before launching
the slot synchronization worker and raised an ERROR if the settings
were incompatible. Since ERROR is treated as FATAL in the postmaster,
this resulted in the entire server shutting down unexpectedly.
This commit changes the postmaster to log that message with a LOG-level
instead of raising an ERROR, allowing the server to continue running
even with the misconfiguration.
Back-patch to v17, where slot synchronization was introduced.
Reported-by: Hugo DUBOIS <hdubois@scaleway.com>
Author: Fujii Masao <masao.fujii@gmail.com>
Reviewed-by: Hugo DUBOIS <hdubois@scaleway.com>
Reviewed-by: Shveta Malik <shveta.malik@gmail.com>
Discussion: https://postgr.es/m/CAH0PTU_pc3oHi__XESF9ZigCyzai1Mo3LsOdFyQA4aUDkm01RA@mail.gmail.com
Backpatch-through: 17
Diffstat (limited to 'src/backend/utils/hash/Makefile')
0 files changed, 0 insertions, 0 deletions