]> granicus.if.org Git - postgresql/commit
Add libpq function PQconninfo()
authorMagnus Hagander <magnus@hagander.net>
Fri, 30 Nov 2012 06:09:18 +0000 (15:09 +0900)
committerMagnus Hagander <magnus@hagander.net>
Fri, 30 Nov 2012 06:11:08 +0000 (15:11 +0900)
commit65c3bf19fd3e1f6a591618e92eb4c54d0b217564
tree7007982b7862d52dec118f850a3da59a7bb76b74
parent4af446e7cd0b37bb5d7fa9b73193c68e14239499
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
doc/src/sgml/libpq.sgml
src/interfaces/libpq/exports.txt
src/interfaces/libpq/fe-connect.c
src/interfaces/libpq/libpq-fe.h