Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 18777c3

Browse filesBrowse 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
Copy full SHA for 18777c3

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎src/backend/replication/slot.c

Copy file name to clipboardExpand all lines: src/backend/replication/slot.c
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.