diff --git a/src/backend/replication/slot.c b/src/backend/replication/slot.c index 800ca14488..4942613a5a 100644 --- a/src/backend/replication/slot.c +++ b/src/backend/replication/slot.c @@ -1533,7 +1533,7 @@ RestoreSlotFromDisk(const char *name) } if (!restored) - ereport(PANIC, + ereport(FATAL, (errmsg("too many replication slots active before shutdown"), errhint("Increase max_replication_slots and try again."))); }