aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gist.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-02-28 18:50:25 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-02-28 18:50:25 +0000
commit5156266ab65d67b92493663435051a8bf36ae47d (patch)
tree19c7821e3cb396d3c2052e3a813b2a8eb6a33bdd /src/backend/access/gist/gist.c
parent17485e504d6d1c9c921e30d417002e2c281d4f42 (diff)
downloadpostgresql-5156266ab65d67b92493663435051a8bf36ae47d.tar.gz
postgresql-5156266ab65d67b92493663435051a8bf36ae47d.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