mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-11 15:16:54 +08:00
Improved variable name [skip ci]
This commit is contained in:
@@ -442,12 +442,12 @@ PGDLLEXPORT PG_FUNCTION_INFO_V1(vector);
|
|||||||
Datum
|
Datum
|
||||||
vector(PG_FUNCTION_ARGS)
|
vector(PG_FUNCTION_ARGS)
|
||||||
{
|
{
|
||||||
Vector *arg = PG_GETARG_VECTOR_P(0);
|
Vector *vec = PG_GETARG_VECTOR_P(0);
|
||||||
int32 typmod = PG_GETARG_INT32(1);
|
int32 typmod = PG_GETARG_INT32(1);
|
||||||
|
|
||||||
CheckExpectedDim(typmod, arg->dim);
|
CheckExpectedDim(typmod, vec->dim);
|
||||||
|
|
||||||
PG_RETURN_POINTER(arg);
|
PG_RETURN_POINTER(vec);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user