修复向量数据类型sparsevec报错信息不一致问题
This commit is contained in:
@ -209,7 +209,7 @@ Datum sparsevec_in(PG_FUNCTION_ARGS)
|
||||
if (*pt != '{')
|
||||
ereport(ERROR, (errcode(ERRCODE_INVALID_TEXT_REPRESENTATION),
|
||||
errmsg("invalid input syntax for type sparsevec: \"%s\"", lit),
|
||||
errdetail("Vector contents must start with \"{\".")));
|
||||
errdetail("Sparsevec contents must start with \"{\".")));
|
||||
|
||||
pt++;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user