]> granicus.if.org Git - postgresql/commitdiff
Fix mistake in error message
authorPeter Eisentraut <peter_e@gmx.net>
Fri, 19 May 2017 20:30:02 +0000 (16:30 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Fri, 19 May 2017 20:30:02 +0000 (16:30 -0400)
Reported-by: tushar <tushar.ahuja@enterprisedb.com>
Author: Dilip Kumar <dilipbalaut@gmail.com>

src/backend/commands/subscriptioncmds.c

index 9afdd690789cb637a34e624b7a1aab6bfeeab4ad..86eb31df936d7a44cd707a42576c18a90cf48bdf 100644 (file)
@@ -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();