Обсуждение: pgsql: libpq: have PQconnectdbParams() and PQpingParams accept "" as d

Поиск
Список
Период
Сортировка

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

От
Bruce Momjian
Дата:
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(-)