Add libpq function PQconninfo()

Magnus Hagander <magnus@hagander.net>

Commit: 65c3bf19fd3e1f6a591618e92eb4c54d0b217564
Author: Magnus Hagander <magnus@hagander.net>
Date: 2012-11-30T06:11:08Z
Releases: 9.3.0
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

Files

PathChange+/−
doc/src/sgml/libpq.sgml modified +24 −0
src/interfaces/libpq/exports.txt modified +1 −0
src/interfaces/libpq/fe-connect.c modified +166 −106
src/interfaces/libpq/libpq-fe.h modified +3 −0