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">
|
||||
|
@ -564,16 +564,6 @@ char *PQport(const PGconn *conn)
|
|||
</para>
|
||||
</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>
|
||||
<para>
|
||||
<function>PQtty</function>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
*
|
||||
*
|
||||
* 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;
|
||||
}
|
||||
|
||||
char *
|
||||
PQunixsocket(const PGconn *conn)
|
||||
{
|
||||
if (!conn)
|
||||
return (char *) NULL;
|
||||
return conn->pgunixsocket;
|
||||
}
|
||||
|
||||
char *
|
||||
PQtty(const PGconn *conn)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue