mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-02 10:40:57 +08:00
Improved input functions [skip ci]
This commit is contained in:
@@ -197,6 +197,10 @@ vector_in(PG_FUNCTION_ARGS)
|
||||
errdetail("Vector contents must start with \"[\".")));
|
||||
|
||||
str++;
|
||||
|
||||
while (vector_isspace(*str))
|
||||
str++;
|
||||
|
||||
pt = strtok(str, ",");
|
||||
stringEnd = pt;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user