|
1 | 1 | <!--
|
2 |
| -$Header: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v 1.47 2000/11/14 01:53:37 momjian Exp $ |
| 2 | +$Header: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v 1.48 2000/11/22 01:41:12 momjian Exp $ |
3 | 3 | -->
|
4 | 4 |
|
5 | 5 | <chapter id="libpq-chapter">
|
@@ -90,7 +90,7 @@ PGconn *PQconnectdb(const char *conninfo)
|
90 | 90 | Name of host to connect to.
|
91 | 91 | Using this parameter causes a hostname look-up. See hostaddr.
|
92 | 92 | If it begins with a slash, it is used
|
93 |
| - as the path to a unix domain socket. |
| 93 | + as the directory for the unix domain socket. |
94 | 94 | </para>
|
95 | 95 | </listitem>
|
96 | 96 | </varlistentry>
|
@@ -138,7 +138,7 @@ PGconn *PQconnectdb(const char *conninfo)
|
138 | 138 | <term><literal>unixsocket</literal></term>
|
139 | 139 | <listitem>
|
140 | 140 | <para>
|
141 |
| - Full path to Unix-domain socket file to connect to at the server host. |
| 141 | + Directory for Unix-domain socket file. |
142 | 142 | </para>
|
143 | 143 | </listitem>
|
144 | 144 | </varlistentry>
|
@@ -567,7 +567,7 @@ char *PQport(const PGconn *conn)
|
567 | 567 | <listitem>
|
568 | 568 | <para>
|
569 | 569 | <function>PQunixsocket</function>
|
570 |
| - Returns the name of the Unix-domain socket of the connection. |
| 570 | + Returns the directory of the Unix-domain socket of the connection. |
571 | 571 | <synopsis>
|
572 | 572 | char *PQunixsocket(const PGconn *conn)
|
573 | 573 | </synopsis>
|
@@ -1839,9 +1839,8 @@ application programs.
|
1839 | 1839 | <listitem>
|
1840 | 1840 | <para>
|
1841 | 1841 | <envar>PGHOST</envar> sets the default server name.
|
1842 |
| -If it beings with a slash, it is used as the path to a unix domain |
| 1842 | +If it beings with a slash, it is used as the directory for the unix domain |
1843 | 1843 | socket.
|
1844 |
| -Without a host name, libpq will connect using a local Unix domain socket. |
1845 | 1844 | </para>
|
1846 | 1845 | </listitem>
|
1847 | 1846 | <listitem>
|
|
0 commit comments