pgsql: libpq: pass a memory allocation failure error up to PQconndefau

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: libpq: pass a memory allocation failure error up to PQconndefau
Date: 2014-03-20 15:48:37
Message-ID: E1WQfCv-0006wa-C8@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

libpq: pass a memory allocation failure error up to PQconndefaults()

Previously user name memory allocation failures were ignored and the
default user name set to NULL.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/a4c8f14364c27508233f8a31ac4b10a4c90235a9

Modified Files
--------------
src/interfaces/libpq/fe-auth.c | 16 +++++++++-------
src/interfaces/libpq/fe-connect.c | 7 +++++++
2 files changed, 16 insertions(+), 7 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2014-03-20 15:49:05 Re: Re: [COMMITTERS] pgsql: libpq: change PQconndefaults() to ignore invalid service files
Previous Message Robert Haas 2014-03-20 13:35:01 pgsql: test_shm_mq: Improve regression tests.