mirror of
https://github.com/pgvector/pgvector.git
synced 2026-06-30 17:51:18 +08:00
Improved sparsevec_in [skip ci]
This commit is contained in:
@@ -213,6 +213,10 @@ sparsevec_in(PG_FUNCTION_ARGS)
|
||||
errdetail("Vector contents must start with \"{\".")));
|
||||
|
||||
str++;
|
||||
|
||||
while (sparsevec_isspace(*str))
|
||||
str++;
|
||||
|
||||
pt = strtok(str, ",");
|
||||
stringEnd = pt;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user