mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Type names should not be quoted
Our actual convention, contrary to what I said in 59a2111b23
, is not to
quote type names, as evidenced by unquoted use of format_type_be()
result value in error messages. Remove quotes from recently tweaked
messages accordingly.
Per note from Tom Lane
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
create event trigger regress_event_trigger
|
||||
on ddl_command_start
|
||||
execute procedure pg_backend_pid();
|
||||
ERROR: function pg_backend_pid must return type "event_trigger"
|
||||
ERROR: function pg_backend_pid must return type event_trigger
|
||||
-- OK
|
||||
create function test_event_trigger() returns event_trigger as $$
|
||||
BEGIN
|
||||
|
Reference in New Issue
Block a user