Commit 6cd18a88 authored by Alvaro Herrera's avatar Alvaro Herrera

Remove quotes around SQL statement in error message

parent 6a76edb1
......@@ -231,7 +231,7 @@ validate_ddl_tags(const char *filtervar, List *taglist)
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
/* translator: %s represents an SQL statement name */
errmsg("event triggers are not supported for \"%s\"",
errmsg("event triggers are not supported for %s",
tag)));
}
}
......
......@@ -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
when tag in ('DROP 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
create event trigger regress_event_trigger2 on ddl_command_start
when tag in ('create table') and tag in ('CREATE FUNCTION')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment