mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Revert "Add libpq function PQhostaddr()."
This reverts commit 9f80f4835a
. 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.
This commit is contained in:
@ -1467,24 +1467,6 @@ char *PQhost(const PGconn *conn);
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="libpq-pqhostaddr">
|
||||
<term>
|
||||
<function>PQhostaddr</function>
|
||||
<indexterm>
|
||||
<primary>PQhostaddr</primary>
|
||||
</indexterm>
|
||||
</term>
|
||||
|
||||
<listitem>
|
||||
<para>
|
||||
Returns the server numeric IP address of the connection.
|
||||
<synopsis>
|
||||
char *PQhostaddr(const PGconn *conn);
|
||||
</synopsis>
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="libpq-pqport">
|
||||
<term>
|
||||
<function>PQport</function>
|
||||
|
Reference in New Issue
Block a user