pgsql: libpq: change PQconndefaults() to ignore invalid service files - Mailing list pgsql-committers

From Bruce Momjian
Subject pgsql: libpq: change PQconndefaults() to ignore invalid service files
Date
Msg-id E1Vnsac-0004PJ-D5@gemulon.postgresql.org
Whole thread Raw
Responses Re: pgsql: libpq: change PQconndefaults() to ignore invalid service files
List pgsql-committers
libpq:  change PQconndefaults() to ignore invalid service files

Previously missing or invalid service files returned NULL.  Also fix
pg_upgrade to report "out of memory" for a null return from
PQconndefaults().

Patch by Steve Singer, rewritten by me

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/9e0a97f1c8316e36fa4a8626e0a60792b0fb0c2e

Modified Files
--------------
contrib/pg_upgrade/server.c       |    3 +++
doc/src/sgml/libpq.sgml           |    3 ++-
src/interfaces/libpq/fe-auth.c    |    2 +-
src/interfaces/libpq/fe-auth.h    |    2 +-
src/interfaces/libpq/fe-connect.c |   27 ++++++++++++++++-----------
5 files changed, 23 insertions(+), 14 deletions(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: doc: Refine documentation about recovery command exist status
Next
From: Tom Lane
Date:
Subject: Re: pgsql: libpq: change PQconndefaults() to ignore invalid service files