postgres.git / summary / log / commit / refs
commit e807d8b16338c97e60e41344d0fc13bd9cf540be
Author: Peter Eisentraut <peter_e@gmx.net>
Date: Fri May 19 20:30:02 2017 +0000
Fix mistake in error message
Reported-by: tushar <tushar.ahuja@enterprisedb.com>
Author: Dilip Kumar <dilipbalaut@gmail.com>
src/backend/commands/subscriptioncmds.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/backend/commands/subscriptioncmds.c b/src/backend/commands/subscriptioncmds.c
index 9afdd690789..86eb31df936 100644
--- a/src/backend/commands/subscriptioncmds.c
+++ b/src/backend/commands/subscriptioncmds.c
@@ -931,7 +931,7 @@ DropSubscription(DropSubscriptionStmt *stmt, bool isTopLevel)
(errmsg("could not connect to publisher when attempting to "
"drop the replication slot \"%s\"", slotname),
errdetail("The error was: %s", err),
- errhint("Use ALTER SUBSCRIPTION ... WITH (slot_name = NONE) "
+ errhint("Use ALTER SUBSCRIPTION ... SET (slot_name = NONE) "
"to disassociate the subscription from the slot.")));
PG_TRY();
[parent: 5f374fe7a833]