summaryrefslogtreecommitdiff
path: root/contrib/intarray/_int_tool.c
Commit message (Collapse)AuthorAgeFilesLines
* Defend against nulls-in-arrays in contrib/intarray. I may have put inTom Lane2005-11-191-3/+24
| | | | | more tests than strictly necessary, but did not feel like tracing call paths in detail ...
* Make SQL arrays support null elements. This commit fixes the core arrayTom Lane2005-11-171-2/+3
| | | | | | | | functionality, but I still need to make another pass looking at places that incidentally use arrays (such as ACL manipulation) to make sure they are null-safe. Contrib needs work too. I have not changed the behaviors that are still under discussion about array comparison and what to do with lower bounds.
* Remove usage of ArrayType->flags field, use pgsql's macros BITS_PER_BYTE insteadTeodor Sigaev2005-11-141-1/+0
| | | | | of self-defined macros, add limit of Array to gist__int_ops. BTW, intarray now doesn't support NULLs in arrays.
* Standardize on using the Min, Max, and Abs macros that are in our c.h file,Tom Lane2004-10-211-1/+1
| | | | | | getting rid of numerous ad-hoc versions that have popped up in various places. Shortens code and avoids conflict with Windows min() and max() macros.
* pgindent run.Bruce Momjian2003-08-041-2/+1
|
* Add missing intarray files.Bruce Momjian2003-06-111-0/+370