summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorTom Lane2008-04-11 22:53:24 +0000
committerTom Lane2008-04-11 22:53:24 +0000
commit4c3f3716cc736f5e513784292d467c6a222d9c7b (patch)
tree279897e72d1522a183bf7982dff3ec5f5c893c06 /doc/src
parentdf52ecc3145a2feb241801484512aff3f0effbc7 (diff)
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.
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions