aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/trigger.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2016-04-01 13:35:48 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2016-04-01 13:35:48 -0300
commitf402b9950120358d1870aacc10070e121d8a17de (patch)
tree901a199dae99a96485e1ae6e9a9ba94073972f14 /src/backend/commands/trigger.c
parenta067b50470cf7fda77dd28b03519f2483c2322bf (diff)
downloadpostgresql-f402b9950120358d1870aacc10070e121d8a17de.tar.gz
postgresql-f402b9950120358d1870aacc10070e121d8a17de.zip
Type names should not be quoted
Our actual convention, contrary to what I said in 59a2111b23f, 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
Diffstat (limited to 'src/backend/commands/trigger.c')
-rw-r--r--src/backend/commands/trigger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/commands/trigger.c b/src/backend/commands/trigger.c
index 5429aab1c15..6f728ff0fc9 100644
--- a/src/backend/commands/trigger.c
+++ b/src/backend/commands/trigger.c
@@ -438,7 +438,7 @@ CreateTrigger(CreateTrigStmt *stmt, const char *queryString,
else
ereport(ERROR,
(errcode(ERRCODE_INVALID_OBJECT_DEFINITION),
- errmsg("function %s must return type \"%s\"",
+ errmsg("function %s must return type %s",
NameListToString(stmt->funcname), "trigger")));
}