diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2019-05-28 17:34:38 -0400 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2019-05-28 17:36:14 -0400 |
commit | a100974751baec7e13a527bf0c378ce8ef2787b6 (patch) | |
tree | 7da1c9f6a1ed1b12dfa0f0f0a8a54636b36a3dba /src | |
parent | 40b132c1afbb4b1494aa8e48cc35ec98d2b90777 (diff) | |
download | postgresql-a100974751baec7e13a527bf0c378ce8ef2787b6.tar.gz postgresql-a100974751baec7e13a527bf0c378ce8ef2787b6.zip |
Fix typo in message
I introduced the typo in source code in the course of 75445c1515ff.
Repair.
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/commands/subscriptioncmds.c | 2 | ||||
-rw-r--r-- | src/test/regress/expected/subscription.out | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/commands/subscriptioncmds.c b/src/backend/commands/subscriptioncmds.c index 26c06e10e7c..f13dce90a11 100644 --- a/src/backend/commands/subscriptioncmds.c +++ b/src/backend/commands/subscriptioncmds.c @@ -231,7 +231,7 @@ parse_subscription_options(List *options, bool *connect, bool *enabled_given, (errcode(ERRCODE_SYNTAX_ERROR), /*- translator: both %s are strings of the form "option = value" */ errmsg("%s and %s are mutually exclusive options", - "slot_name = NONE", "enable = true"))); + "slot_name = NONE", "enabled = true"))); if (create_slot && create_slot_given && *create_slot) ereport(ERROR, diff --git a/src/test/regress/expected/subscription.out b/src/test/regress/expected/subscription.out index fae5c079c0a..5ec3b403adb 100644 --- a/src/test/regress/expected/subscription.out +++ b/src/test/regress/expected/subscription.out @@ -53,7 +53,7 @@ ERROR: connect = false and enabled = true are mutually exclusive options CREATE SUBSCRIPTION testsub2 CONNECTION 'dbname=doesnotexist' PUBLICATION testpub WITH (connect = false, create_slot = true); ERROR: connect = false and create_slot = true are mutually exclusive options CREATE SUBSCRIPTION testsub2 CONNECTION 'dbname=doesnotexist' PUBLICATION testpub WITH (slot_name = NONE, enabled = true); -ERROR: slot_name = NONE and enable = true are mutually exclusive options +ERROR: slot_name = NONE and enabled = true are mutually exclusive options CREATE SUBSCRIPTION testsub2 CONNECTION 'dbname=doesnotexist' PUBLICATION testpub WITH (slot_name = NONE, create_slot = true); ERROR: slot_name = NONE and create_slot = true are mutually exclusive options CREATE SUBSCRIPTION testsub2 CONNECTION 'dbname=doesnotexist' PUBLICATION testpub WITH (slot_name = NONE); |