From 5dba897c3ad3c598a5c06cf5d11778bfc7fc7ba1 Mon Sep 17 00:00:00 2001 From: Konstantin Knizhnik Date: Wed, 28 May 2025 16:35:27 +0300 Subject: [PATCH] Do not panic in WalProposerMain is safekeeper list is empty --- pgxn/neon/walproposer_pg.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pgxn/neon/walproposer_pg.c b/pgxn/neon/walproposer_pg.c index 265a5561ad..5474c4d339 100644 --- a/pgxn/neon/walproposer_pg.c +++ b/pgxn/neon/walproposer_pg.c @@ -163,7 +163,8 @@ WalProposerMain(Datum main_arg) if (*wal_acceptors_list == '\0') { - elog(PANIC, "Safekeepers list is empty"); + wpg_log(WARNING, "Safekeepers list is empty"); + return; } init_walprop_config(false);