aboutsummaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2015-12-14 18:19:10 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2015-12-14 18:48:49 +0200
commit4b58ded7498fccac1526cb27788dd7baad651b14 (patch)
tree4d1791087d04ebfd75180dbb8e13dd630a610d41 /src/backend
parent476c54b89b55c980241ee10d6c3fed32e389135f (diff)
downloadpostgresql-4b58ded7498fccac1526cb27788dd7baad651b14.tar.gz
postgresql-4b58ded7498fccac1526cb27788dd7baad651b14.zip
Fix out-of-memory error handling in ParameterDescription message processing.
If libpq ran out of memory while constructing the result set, it would hang, waiting for more data from the server, which might never arrive. To fix, distinguish between out-of-memory error and not-enough-data cases, and give a proper error message back to the client on OOM. There are still similar issues in handling COPY start messages, but let's handle that as a separate patch. Michael Paquier, Amit Kapila and me. Backpatch to all supported versions.
Diffstat (limited to 'src/backend')
0 files changed, 0 insertions, 0 deletions