Improved sparsevec_in [skip ci]

This commit is contained in:
Andrew Kane
2024-04-13 15:13:08 -07:00
parent 89629abc08
commit 20fb2e0797
3 changed files with 12 additions and 0 deletions

View File

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