postgresql/src/interfaces
Heikki Linnakangas 414bef30bf 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.
2015-07-07 18:44:59 +03:00
..
ecpg Stamp shared-library minor version numbers for 9.6. 2015-06-30 14:06:04 -04:00
libpq Improve handling of out-of-memory in libpq. 2015-07-07 18:44:59 +03:00
Makefile Fix parallel make when running make install before make all 2011-03-08 23:52:29 +02:00