summaryrefslogtreecommitdiff
path: root/src/backend/commands/subscriptioncmds.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/commands/subscriptioncmds.c')
-rw-r--r--src/backend/commands/subscriptioncmds.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/backend/commands/subscriptioncmds.c b/src/backend/commands/subscriptioncmds.c
index d042abe3414..f3bfcca434c 100644
--- a/src/backend/commands/subscriptioncmds.c
+++ b/src/backend/commands/subscriptioncmds.c
@@ -461,10 +461,8 @@ check_publications(WalReceiverConn *wrconn, List *publications)
if (res->status != WALRCV_OK_TUPLES)
ereport(ERROR,
- errmsg_plural("could not receive publication from the publisher: %s",
- "could not receive list of publications from the publisher: %s",
- list_length(publications),
- res->err));
+ errmsg("could not receive list of publications from the publisher: %s",
+ res->err));
publicationsCopy = list_copy(publications);