mirror of
https://github.com/pgvector/pgvector.git
synced 2026-12-04 16:28:40 +00:00
Updated comments [skip ci]
This commit is contained in:
1 parent
03ca9adc4c
commit
4d21eea6f1
1 file changed
+2
-2
+2
-2
@@ -270,7 +270,7 @@ sparsevec_in(PG_FUNCTION_ARGS)
|
||||
(errcode(ERRCODE_INVALID_TEXT_REPRESENTATION),
|
||||
errmsg("invalid input syntax for type sparsevec: \"%s\"", lit)));
|
||||
|
||||
/* Keep value in int range for correct error message later */
|
||||
/* Keep in int range for correct error message later */
|
||||
if (index > INT_MAX)
|
||||
index = INT_MAX;
|
||||
else if (index < INT_MIN)
|
||||
@@ -359,7 +359,7 @@ sparsevec_in(PG_FUNCTION_ARGS)
|
||||
(errcode(ERRCODE_INVALID_TEXT_REPRESENTATION),
|
||||
errmsg("invalid input syntax for type sparsevec: \"%s\"", lit)));
|
||||
|
||||
/* Keep value in int range for correct error message later */
|
||||
/* Keep in int range for correct error message later */
|
||||
if (dim > INT_MAX)
|
||||
dim = INT_MAX;
|
||||
else if (dim < INT_MIN)
|
||||
|
||||
Reference in new issue
Block a user