Skip to content

Commit 18777c3

Browse files
committed
Improve error message about active replication slot
The old phrasing was awkward if a replication slot is activated and deactivated repeatedly.
1 parent fc8a81e commit 18777c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/replication/slot.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ ReplicationSlotAcquire(const char *name)
352352
if (active_pid != 0)
353353
ereport(ERROR,
354354
(errcode(ERRCODE_OBJECT_IN_USE),
355-
errmsg("replication slot \"%s\" is already active for PID %d",
355+
errmsg("replication slot \"%s\" is active for PID %d",
356356
name, active_pid)));
357357

358358
/* We made this slot active, so it's ours now. */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy