libpq was not consistently checking for memory allocation failures. This

Neil Conway <neilc@samurai.com>

Commit: 72a5db15d190121e63126055824f38dd062428be
Author: Neil Conway <neilc@samurai.com>
Date: 2005-06-12T00:00:21Z
Releases: 8.1.0
libpq was not consistently checking for memory allocation failures. This
patch adds missing checks to the call sites of malloc(), strdup(),
PQmakeEmptyPGresult(), pqResultAlloc(), and pqResultStrdup(), and updates
the documentation. Per original report from Volkan Yazici about
PQmakeEmptyPGresult() not checking for malloc() failure.

Files