diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2009-02-28 18:50:08 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2009-02-28 18:50:08 +0000 |
commit | 38a0507d0659af0f7f213bc7c739fd3792112d08 (patch) | |
tree | 5e2c0ef80dba7f07313fc47552702667d6e5c26d /src/backend/access/gist/gistutil.c | |
parent | c2ffb2674753f4bd116146a323ab52149aa4555d (diff) | |
download | postgresql-38a0507d0659af0f7f213bc7c739fd3792112d08.tar.gz postgresql-38a0507d0659af0f7f213bc7c739fd3792112d08.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/gistutil.c')
0 files changed, 0 insertions, 0 deletions