Обсуждение: pgsql: Revert "Add libpq function PQhostaddr()."
Revert "Add libpq function PQhostaddr()." This reverts commit 9f80f4835a55a1cbffcda5d23a617917f3286c14. The function returned the raw value of a connection parameter, a task served by PQconninfo(). The next commit will reimplement the psql \conninfo change that way. Back-patch to 9.4, where that commit first appeared. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/2cda889984a6f5ad405318f9e91202d258383b66 Modified Files -------------- doc/src/sgml/libpq.sgml | 18 ------------------ src/bin/psql/command.c | 2 +- src/interfaces/libpq/exports.txt | 1 - src/interfaces/libpq/fe-connect.c | 8 -------- src/interfaces/libpq/libpq-fe.h | 1 - 5 files changed, 1 insertion(+), 29 deletions(-)
Looks like this has broken the docs. See <http://www.pgbuildfarm.org/cgi-bin/show_log.pl?nm=crake&dt=2014-11-29%2018%3A41%3A56> cheers andrew On 11/29/2014 12:43 PM, Noah Misch wrote: > Revert "Add libpq function PQhostaddr()." > > This reverts commit 9f80f4835a55a1cbffcda5d23a617917f3286c14. The > function returned the raw value of a connection parameter, a task served > by PQconninfo(). The next commit will reimplement the psql \conninfo > change that way. Back-patch to 9.4, where that commit first appeared. > > Branch > ------ > master > > Details > ------- > http://git.postgresql.org/pg/commitdiff/2cda889984a6f5ad405318f9e91202d258383b66 > > Modified Files > -------------- > doc/src/sgml/libpq.sgml | 18 ------------------ > src/bin/psql/command.c | 2 +- > src/interfaces/libpq/exports.txt | 1 - > src/interfaces/libpq/fe-connect.c | 8 -------- > src/interfaces/libpq/libpq-fe.h | 1 - > 5 files changed, 1 insertion(+), 29 deletions(-) > >