mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-30 19:00:29 +08:00
Remove quotes around SQL statement in error message
This commit is contained in:
parent
6a76edb188
commit
6cd18a88b6
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user