mirror of
https://github.com/postgres/postgres.git
synced 2025-07-02 09:02:37 +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:
@ -758,7 +758,7 @@ transformRangeTableSample(ParseState *pstate, RangeTableSample *rts)
|
||||
if (get_func_rettype(handlerOid) != TSM_HANDLEROID)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_WRONG_OBJECT_TYPE),
|
||||
errmsg("function %s must return type \"%s\"",
|
||||
errmsg("function %s must return type %s",
|
||||
NameListToString(rts->method), "tsm_handler"),
|
||||
parser_errposition(pstate, rts->location)));
|
||||
|
||||
|
Reference in New Issue
Block a user