mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Remove usage of ArrayType->flags field, use pgsql's macros BITS_PER_BYTE instead
of self-defined macros, add limit of Array to gist__int_ops. BTW, intarray now doesn't support NULLs in arrays.
This commit is contained in:
@ -215,7 +215,6 @@ new_intArrayType(int num)
|
||||
ARR_SIZE(r) = nbytes;
|
||||
ARR_NDIM(r) = NDIM;
|
||||
ARR_ELEMTYPE(r) = INT4OID;
|
||||
r->flags &= ~LEAFKEY;
|
||||
*((int *) ARR_DIMS(r)) = num;
|
||||
*((int *) ARR_LBOUND(r)) = 1;
|
||||
|
||||
|
Reference in New Issue
Block a user