summaryrefslogtreecommitdiff
path: root/contrib/btree_gist/sql/numeric.sql
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2015-07-07 18:37:45 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2015-07-07 18:45:24 +0300
commit6d88c1fc5f2eba341186e13dc9ab4a0ca8eeeeba (patch)
tree21aab3df3b8acacd7ded7f0ddd72ec162bdacd88 /contrib/btree_gist/sql/numeric.sql
parenta5273ef371cedb2c5e51d151e30ebe6f44615a03 (diff)
Improve handling of out-of-memory in libpq.
If an allocation fails in the main message handling loop, pqParseInput3 or pqParseInput2, it should not be treated as "not enough data available yet". Otherwise libpq will wait indefinitely for more data to arrive from the server, and gets stuck forever. This isn't a complete fix - getParamDescriptions and getCopyStart still have the same issue, but it's a step in the right direction. Michael Paquier and me. Backpatch to all supported versions.
Diffstat (limited to 'contrib/btree_gist/sql/numeric.sql')
0 files changed, 0 insertions, 0 deletions