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

Bruce Momjian <bruce@momjian.us>

Commit: 13ecb822e8da5668133b706474c25bc908ae370a
Author: Bruce Momjian <bruce@momjian.us>
Date: 2014-04-19T12:41:51Z
Releases: 9.4.0
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

Files

PathChange+/−
doc/src/sgml/libpq.sgml modified +6 −6
src/interfaces/libpq/fe-connect.c modified +1 −1