postgresql/contrib/ltree
Tom Lane c846f7ca8a Fix several datatype input functions that were allowing unused bytes in their
results to contain uninitialized, unpredictable values.  While this was okay
as far as the datatypes themselves were concerned, it's a problem for the
parser because occurrences of the "same" literal might not be recognized as
equal by datumIsEqual (and hence not by equal()).  It seems sufficient to fix
this in the input functions since the only critical use of equal() is in the
parser's comparisons of ORDER BY and DISTINCT expressions.
Per a trouble report from Marc Cousin.

Patch all the way back.  Interestingly, array_in did not have the bug before
8.2, which may explain why the issue went unnoticed for so long.
2008-04-11 22:52:05 +00:00
..
data Add ltree data type to contrib, from Teodor Sigaev and Oleg Bartunov. 2002-07-30 16:40:34 +00:00
expected Fix a few contrib regression test scripts that hadn't gotten the word 2007-11-13 06:29:04 +00:00
sql Fix a few contrib regression test scripts that hadn't gotten the word 2007-11-13 06:29:04 +00:00
Makefile Remove references to READMEs from /contrib Makefiles. 2007-11-10 23:59:52 +00:00
_ltree_gist.c Run pgindent on remaining files now that LOOPBYTE is a usable macro. 2007-11-16 01:12:24 +00:00
_ltree_op.c Fix up several contrib modules that were using varlena datatypes in not-so-obvious 2007-02-28 22:44:38 +00:00
crc32.c Fix compile warning on Solaris, per buildfarm. (Why have we got 2007-07-15 22:40:28 +00:00
crc32.h Add CVS tag lines to files that were lacking them. 2006-03-11 04:38:42 +00:00
lquery_op.c pgindent run for 8.2. 2006-10-04 00:30:14 +00:00
ltree.h Modify LOOPBYTE/LOOPBIT macros to be more logical; rather than have the 2007-11-16 00:13:02 +00:00
ltree.sql.in Add CVS version labels to all install/uninstall scripts. 2007-11-13 04:24:29 +00:00
ltree_gist.c Run pgindent on remaining files now that LOOPBYTE is a usable macro. 2007-11-16 01:12:24 +00:00
ltree_io.c Fix several datatype input functions that were allowing unused bytes in their 2008-04-11 22:52:05 +00:00
ltree_op.c Simplify and standardize conversions between TEXT datums and ordinary C 2008-03-25 22:42:46 +00:00
ltreetest.sql Add CVS version labels to all install/uninstall scripts. 2007-11-13 04:24:29 +00:00
ltxtquery_io.c Re-run pgindent with updated list of typedefs. (Updated README should 2007-11-15 22:25:18 +00:00
ltxtquery_op.c Re-run pgindent with updated list of typedefs. (Updated README should 2007-11-15 22:25:18 +00:00
uninstall_ltree.sql Add CVS version labels to all install/uninstall scripts. 2007-11-13 04:24:29 +00:00