修复向量数据类型sparsevec报错信息不一致问题

This commit is contained in:
taoying
2025-04-23 17:57:46 +08:00
committed by lin-qiang123
parent 3a4607769b
commit deaafa8b91

View File

@ -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++;