aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistsplit.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-02-28 18:50:01 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-02-28 18:50:01 +0000
commit08a09890146c54a6db9dae54315faad846abfbef (patch)
tree4d4ebdac6c2522002468c0023e6cc3ce0d81ec6f /src/backend/access/gist/gistsplit.c
parent03ead2ae5471a48519d359232a7808f350123fbb (diff)
downloadpostgresql-08a09890146c54a6db9dae54315faad846abfbef.tar.gz
postgresql-08a09890146c54a6db9dae54315faad846abfbef.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 'src/backend/access/gist/gistsplit.c')
0 files changed, 0 insertions, 0 deletions