pgsql: libpq: have PQconnectdbParams() and PQpingParams accept "" as d

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: libpq: have PQconnectdbParams() and PQpingParams accept "" as d
Date: 2014-04-19 12:41:57
Message-ID: E1WbUaj-00061G-Pz@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

libpq: have PQconnectdbParams() and PQpingParams accept "" as default

Previously, these functions treated "" optin values as defaults in some
ways, but not in others, like when comparing to .pgpass. Also, add
documentation to clarify that now "" and NULL use defaults, like
PQsetdbLogin() has always done.

BACKWARD INCOMPATIBILITY

Patch by Adrian Vondendriesch, docs by me

Report by Jeff Janes

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/13ecb822e8da5668133b706474c25bc908ae370a

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

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2014-04-19 14:52:55 pgsql: docs: tablespaces cannot be accessed independently
Previous Message Magnus Hagander 2014-04-18 10:50:56 pgsql: Fix typo