Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
a1009747
Commit
a1009747
authored
May 28, 2019
by
Alvaro Herrera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo in message
I introduced the typo in source code in the course of
75445c15
. Repair.
parent
40b132c1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/backend/commands/subscriptioncmds.c
src/backend/commands/subscriptioncmds.c
+1
-1
src/test/regress/expected/subscription.out
src/test/regress/expected/subscription.out
+1
-1
No files found.
src/backend/commands/subscriptioncmds.c
View file @
a1009747
...
...
@@ -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"
,
"enable
d
= true"
)));
if
(
create_slot
&&
create_slot_given
&&
*
create_slot
)
ereport
(
ERROR
,
...
...
src/test/regress/expected/subscription.out
View file @
a1009747
...
...
@@ -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 enable
d
= 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);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment