Teodor Sigaev
c1f39437d0
Some optimizations by Volkan YAZICI <yazicivo@ttnet.net.tr>
2006-05-10 11:39:12 +00:00
Tom Lane
8ef289dba1
Defend against nulls-in-arrays in contrib/intarray. I may have put in
...
more tests than strictly necessary, but did not feel like tracing call
paths in detail ...
2005-11-19 03:00:09 +00:00
Tom Lane
cecb607559
Make SQL arrays support null elements. This commit fixes the core array
...
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.
2005-11-17 22:14:56 +00:00
Teodor Sigaev
08ee64ebf5
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.
2005-11-14 16:11:37 +00:00
Tom Lane
380bd04c16
Standardize on using the Min, Max, and Abs macros that are in our c.h file,
...
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.
2004-10-21 19:28:36 +00:00
Bruce Momjian
089003fb46
pgindent run.
2003-08-04 00:43:34 +00:00
Bruce Momjian
a237dd2b30
Add missing intarray files.
2003-06-11 19:31:05 +00:00