Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita100974

Browse files
committed
Fix typo in message
I introduced the typo in source code in the course of75445c1.Repair.
1 parent40b132c commita100974

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎src/backend/commands/subscriptioncmds.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ parse_subscription_options(List *options, bool *connect, bool *enabled_given,
231231
(errcode(ERRCODE_SYNTAX_ERROR),
232232
/*- translator: both %s are strings of the form "option = value" */
233233
errmsg("%s and %s are mutually exclusive options",
234-
"slot_name = NONE","enable = true")));
234+
"slot_name = NONE","enabled = true")));
235235

236236
if (create_slot&&create_slot_given&&*create_slot)
237237
ereport(ERROR,

‎src/test/regress/expected/subscription.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ ERROR: connect = false and enabled = true are mutually exclusive options
5353
CREATE SUBSCRIPTION testsub2 CONNECTION 'dbname=doesnotexist' PUBLICATION testpub WITH (connect = false, create_slot = true);
5454
ERROR: connect = false and create_slot = true are mutually exclusive options
5555
CREATE SUBSCRIPTION testsub2 CONNECTION 'dbname=doesnotexist' PUBLICATION testpub WITH (slot_name = NONE, enabled = true);
56-
ERROR: slot_name = NONE andenable = true are mutually exclusive options
56+
ERROR: slot_name = NONE andenabled = true are mutually exclusive options
5757
CREATE SUBSCRIPTION testsub2 CONNECTION 'dbname=doesnotexist' PUBLICATION testpub WITH (slot_name = NONE, create_slot = true);
5858
ERROR: slot_name = NONE and create_slot = true are mutually exclusive options
5959
CREATE SUBSCRIPTION testsub2 CONNECTION 'dbname=doesnotexist' PUBLICATION testpub WITH (slot_name = NONE);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp