]> granicus.if.org Git - postgresql/commitdiff
Fix error message from wal_level value renaming
authorPeter Eisentraut <peter_e@gmx.net>
Tue, 5 Apr 2016 01:17:54 +0000 (21:17 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Tue, 5 Apr 2016 01:17:54 +0000 (21:17 -0400)
found by Ian Barwick

src/backend/replication/slot.c

index c13be753ea95657f84455844f8f8cb1eabf3d8ce..644c52ea4176b7d1fdf6e1a5d1b94923d51f871f 100644 (file)
@@ -763,7 +763,7 @@ CheckSlotRequirements(void)
        if (wal_level < WAL_LEVEL_REPLICA)
                ereport(ERROR,
                                (errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),
-                                errmsg("replication slots can only be used if wal_level >= archive")));
+                                errmsg("replication slots can only be used if wal_level >= replica")));
 }
 
 /*