diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2009-02-28 18:50:01 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2009-02-28 18:50:01 +0000 |
commit | 08a09890146c54a6db9dae54315faad846abfbef (patch) | |
tree | 4d4ebdac6c2522002468c0023e6cc3ce0d81ec6f /src/backend/access/gist/gist.c | |
parent | 03ead2ae5471a48519d359232a7808f350123fbb (diff) | |
download | postgresql-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/gist.c')
0 files changed, 0 insertions, 0 deletions