Remove quotes around SQL statement in error message

This commit is contained in:
Alvaro Herrera 2013-04-11 12:00:09 -03:00
parent 6a76edb188
commit 6cd18a88b6
2 changed files with 2 additions and 2 deletions

View file

@ -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)));
}
}

View file

@ -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')