aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/backend/replication/slot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/replication/slot.c b/src/backend/replication/slot.c
index b40268bf124..c3afaf46422 100644
--- a/src/backend/replication/slot.c
+++ b/src/backend/replication/slot.c
@@ -1563,7 +1563,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.")));
}