mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-02 10:01:17 +02:00
Remove PQunixsocket, per Peter's recommendation. PQhost shows the socket directory.
This commit is contained in:
parent
811749bb6e
commit
5173fc411f
@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
$Header: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v 1.48 2000/11/22 01:41:12 momjian Exp $
|
$Header: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v 1.49 2000/11/28 06:53:32 momjian Exp $
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<chapter id="libpq-chapter">
|
<chapter id="libpq-chapter">
|
||||||
@ -564,16 +564,6 @@ char *PQport(const PGconn *conn)
|
|||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
<listitem>
|
|
||||||
<para>
|
|
||||||
<function>PQunixsocket</function>
|
|
||||||
Returns the directory of the Unix-domain socket of the connection.
|
|
||||||
<synopsis>
|
|
||||||
char *PQunixsocket(const PGconn *conn)
|
|
||||||
</synopsis>
|
|
||||||
</para>
|
|
||||||
</listitem>
|
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
<function>PQtty</function>
|
<function>PQtty</function>
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.149 2000/11/27 21:12:25 momjian Exp $
|
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.150 2000/11/28 06:53:33 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -2627,14 +2627,6 @@ PQport(const PGconn *conn)
|
|||||||
return conn->pgport;
|
return conn->pgport;
|
||||||
}
|
}
|
||||||
|
|
||||||
char *
|
|
||||||
PQunixsocket(const PGconn *conn)
|
|
||||||
{
|
|
||||||
if (!conn)
|
|
||||||
return (char *) NULL;
|
|
||||||
return conn->pgunixsocket;
|
|
||||||
}
|
|
||||||
|
|
||||||
char *
|
char *
|
||||||
PQtty(const PGconn *conn)
|
PQtty(const PGconn *conn)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user