Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit18777c3

Browse files
committed
Improve error message about active replication slot
The old phrasing was awkward if a replication slot is activated anddeactivated repeatedly.
1 parentfc8a81e commit18777c3

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\" isalreadyactive 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)

[8]ページ先頭

©2009-2025 Movatter.jp