aboutsummaryrefslogtreecommitdiff
path: root/contrib/rtree_gist/rtree_gist.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-02-28 18:50:14 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-02-28 18:50:14 +0000
commit5f1f0db8727d8f0377f530ba1b05741891166a57 (patch)
tree5f22a9c5b6fcb246cd684afa022c770e790411b8 /contrib/rtree_gist/rtree_gist.c
parent64deed0dbad9c96842e541c5edd249c9fa9815bc (diff)
downloadpostgresql-5f1f0db8727d8f0377f530ba1b05741891166a57.tar.gz
postgresql-5f1f0db8727d8f0377f530ba1b05741891166a57.zip
Fix buffer allocations in encoding conversion routines so that they won't
fail on zero-length inputs. This isn't an issue in normal use because the conversion infrastructure skips calling the converters for empty strings. However a problem was created by yesterday's patch to check whether the right conversion function is supplied in CREATE CONVERSION. The most future-proof fix seems to be to make the converters safe for this corner case.
Diffstat (limited to 'contrib/rtree_gist/rtree_gist.c')
0 files changed, 0 insertions, 0 deletions