pgsql: Add libpq function PQconninfo()

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема pgsql: Add libpq function PQconninfo()
Дата
Msg-id E1TeJwL-0000Tt-E3@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Add libpq function PQconninfo()

This allows a caller to get back the exact conninfo array that was
used to create a connection, including parameters read from the
environment.

In doing this, restructure how options are copied from the conninfo
to the actual connection.

Zoltan Boszormenyi and Magnus Hagander

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/65c3bf19fd3e1f6a591618e92eb4c54d0b217564

Modified Files
--------------
doc/src/sgml/libpq.sgml           |   24 ++++
src/interfaces/libpq/exports.txt  |    1 +
src/interfaces/libpq/fe-connect.c |  272 ++++++++++++++++++++++--------------
src/interfaces/libpq/libpq-fe.h   |    3 +
4 files changed, 194 insertions(+), 106 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Produce a more useful error message for over-length Unix socket
Следующее
От: Andrew Dunstan
Дата:
Сообщение: pgsql: Clean environment for pg_upgrade test.