postgresql/src/interfaces
Heikki Linnakangas 6d88c1fc5f 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:45:24 +03:00
..
ecpg Check for out of memory when allocating sqlca. 2015-06-15 14:23:07 +02:00
libpq Improve handling of out-of-memory in libpq. 2015-07-07 18:45:24 +03:00
Makefile Fix parallel make when running make install before make all 2011-03-08 23:52:29 +02:00