Skip site navigation (1) Skip section navigation (2)

pgsql: Add libpq function PQconninfo()

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add libpq function PQconninfo()
Date: 2012-11-30 06:19:09
Message-ID: (view raw, whole thread or download thread mbox)
Lists: 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

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

Zoltan Boszormenyi and Magnus Hagander



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 by date

Next:From: Andrew DunstanDate: 2012-11-30 13:41:16
Subject: pgsql: Clean environment for pg_upgrade test.
Previous:From: Tom LaneDate: 2012-11-30 00:58:17
Subject: pgsql: Produce a more useful error message for over-length Unixsocket

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group