Commit 5173fc41 authored by Bruce Momjian's avatar Bruce Momjian

Remove PQunixsocket, per Peter's recommendation. PQhost shows the socket directory.

parent 811749bb
<!-- <!--
$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) ...@@ -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 @@ ...@@ -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) ...@@ -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)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment