diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2009-02-28 18:49:42 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2009-02-28 18:49:42 +0000 |
commit | 876b37d50ab70cae8cde5337ec27cec649ef1677 (patch) | |
tree | 5f1a5e3086753b347cfee98eb7d00fda8e930e43 /src/backend/executor/nodeLimit.c | |
parent | 21eb6aeb36b691b2b57d8a1445c665330b669552 (diff) | |
download | postgresql-876b37d50ab70cae8cde5337ec27cec649ef1677.tar.gz postgresql-876b37d50ab70cae8cde5337ec27cec649ef1677.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/executor/nodeLimit.c')
0 files changed, 0 insertions, 0 deletions