Skip to content

Commit 6cd18a8

Browse files
committed
Remove quotes around SQL statement in error message
1 parent 6a76edb commit 6cd18a8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/backend/commands/event_trigger.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ validate_ddl_tags(const char *filtervar, List *taglist)
231231
ereport(ERROR,
232232
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
233233
/* translator: %s represents an SQL statement name */
234-
errmsg("event triggers are not supported for \"%s\"",
234+
errmsg("event triggers are not supported for %s",
235235
tag)));
236236
}
237237
}

src/test/regress/expected/event_trigger.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ ERROR: filter value "create skunkcabbage" not recognized for filter variable "t
3838
create event trigger regress_event_trigger2 on ddl_command_start
3939
when tag in ('DROP EVENT TRIGGER')
4040
execute procedure test_event_trigger();
41-
ERROR: event triggers are not supported for "DROP EVENT TRIGGER"
41+
ERROR: event triggers are not supported for DROP EVENT TRIGGER
4242
-- should fail, can't have same filter variable twice
4343
create event trigger regress_event_trigger2 on ddl_command_start
4444
when tag in ('create table') and tag in ('CREATE FUNCTION')

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy