Thread: pgsql: Check for out of memory when allocating sqlca.

pgsql: Check for out of memory when allocating sqlca.

From
Michael Meskes
Date:
Check for out of memory when allocating sqlca.

Patch by Michael Paquier

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/711cbaadd078321507fb9bc507ffe727e976bbf7

Modified Files
--------------
src/interfaces/ecpg/compatlib/informix.c |    2 ++
src/interfaces/ecpg/ecpglib/connect.c    |   21 +++++++++++++++++++++
src/interfaces/ecpg/ecpglib/data.c       |    7 +++++++
src/interfaces/ecpg/ecpglib/descriptor.c |   28 ++++++++++++++++++++++++++++
src/interfaces/ecpg/ecpglib/error.c      |   20 ++++++++++++++++++++
src/interfaces/ecpg/ecpglib/execute.c    |    7 +++++++
src/interfaces/ecpg/ecpglib/misc.c       |   20 +++++++++++++++++++-
7 files changed, 104 insertions(+), 1 deletion(-)