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
6cd18a88
Commit
6cd18a88
authored
Apr 11, 2013
by
Alvaro Herrera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove quotes around SQL statement in error message
parent
6a76edb1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/backend/commands/event_trigger.c
src/backend/commands/event_trigger.c
+1
-1
src/test/regress/expected/event_trigger.out
src/test/regress/expected/event_trigger.out
+1
-1
No files found.
src/backend/commands/event_trigger.c
View file @
6cd18a88
...
@@ -231,7 +231,7 @@ validate_ddl_tags(const char *filtervar, List *taglist)
...
@@ -231,7 +231,7 @@ validate_ddl_tags(const char *filtervar, List *taglist)
ereport
(
ERROR
,
ereport
(
ERROR
,
(
errcode
(
ERRCODE_FEATURE_NOT_SUPPORTED
),
(
errcode
(
ERRCODE_FEATURE_NOT_SUPPORTED
),
/* translator: %s represents an SQL statement name */
/* translator: %s represents an SQL statement name */
errmsg
(
"event triggers are not supported for
\"
%s
\"
"
,
errmsg
(
"event triggers are not supported for
%s
"
,
tag
)));
tag
)));
}
}
}
}
...
...
src/test/regress/expected/event_trigger.out
View file @
6cd18a88
...
@@ -38,7 +38,7 @@ ERROR: filter value "create skunkcabbage" not recognized for filter variable "t
...
@@ -38,7 +38,7 @@ ERROR: filter value "create skunkcabbage" not recognized for filter variable "t
create event trigger regress_event_trigger2 on ddl_command_start
create event trigger regress_event_trigger2 on ddl_command_start
when tag in ('DROP EVENT TRIGGER')
when tag in ('DROP EVENT TRIGGER')
execute procedure test_event_trigger();
execute procedure test_event_trigger();
ERROR: event triggers are not supported for
"DROP EVENT TRIGGER"
ERROR: event triggers are not supported for
DROP EVENT TRIGGER
-- should fail, can't have same filter variable twice
-- should fail, can't have same filter variable twice
create event trigger regress_event_trigger2 on ddl_command_start
create event trigger regress_event_trigger2 on ddl_command_start
when tag in ('create table') and tag in ('CREATE FUNCTION')
when tag in ('create table') and tag in ('CREATE FUNCTION')
...
...
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