aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/amcmds.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/amcmds.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/amcmds.c')
-rw-r--r--src/backend/commands/amcmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/commands/amcmds.c b/src/backend/commands/amcmds.c
index 68ea5f3c583..904dc1cbd19 100644
--- a/src/backend/commands/amcmds.c
+++ b/src/backend/commands/amcmds.c
@@ -260,7 +260,7 @@ lookup_index_am_handler_func(List *handler_name, char amtype)
if (get_func_rettype(handlerOid) != INDEX_AM_HANDLEROID)
ereport(ERROR,
(errcode(ERRCODE_WRONG_OBJECT_TYPE),
- errmsg("function %s must return type \"%s\"",
+ errmsg("function %s must return type %s",
NameListToString(handler_name),
"index_am_handler")));
break;