diff options
author | Kris Jurka <books@ejurka.com> | 2004-02-03 05:13:56 +0000 |
---|---|---|
committer | Kris Jurka <books@ejurka.com> | 2004-02-03 05:13:56 +0000 |
commit | 9287630fbc2e29cd858a5a05eba0a9dd8e756ef3 (patch) | |
tree | 745a9108c08712e3ac267e5e4edc266bc05d6480 /src/backend/utils/adt/regexp.c | |
parent | 7ca2bff95f2b94ebd0e1811d2b5534d759f36de6 (diff) | |
download | postgresql-9287630fbc2e29cd858a5a05eba0a9dd8e756ef3.tar.gz postgresql-9287630fbc2e29cd858a5a05eba0a9dd8e756ef3.zip |
Fix the setXXXStream methods. If passed a null InputStream, convert
this to a setNull call. The code originally would try to read the
whole stream in one call to read(), but this doesn't work. The
InputStream API makes it clear you must be prepared to loop and
continue reading if you didn't get the whole request on the first
try.
Per report from Martin Holz.
Diffstat (limited to 'src/backend/utils/adt/regexp.c')
0 files changed, 0 insertions, 0 deletions