File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
1
<!--
2
- $Header: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v 1.46 2000/11/13 23:37:51 momjian Exp $
2
+ $Header: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v 1.47 2000/11/14 01:53:37 momjian Exp $
3
3
-->
4
4
5
5
<chapter id="libpq-chapter">
@@ -87,9 +87,10 @@ PGconn *PQconnectdb(const char *conninfo)
87
87
<term><literal>host</literal></term>
88
88
<listitem>
89
89
<para>
90
- Name of host to connect to. If a non-zero-length string is
91
- specified, TCP/IP communication is used, else Unix sockets.
90
+ Name of host to connect to.
92
91
Using this parameter causes a hostname look-up. See hostaddr.
92
+ If it begins with a slash, it is used
93
+ as the path to a unix domain socket.
93
94
</para>
94
95
</listitem>
95
96
</varlistentry>
@@ -1838,7 +1839,8 @@ application programs.
1838
1839
<listitem>
1839
1840
<para>
1840
1841
<envar>PGHOST</envar> sets the default server name.
1841
- If a non-zero-length string is specified, TCP/IP communication is used.
1842
+ If it beings with a slash, it is used as the path to a unix domain
1843
+ socket.
1842
1844
Without a host name, libpq will connect using a local Unix domain socket.
1843
1845
</para>
1844
1846
</listitem>
You can’t perform that action at this time.
0 commit comments