Add mention of new leading-slash handling of hostname to libpq docs.
authorBruce Momjian
Tue, 14 Nov 2000 01:53:37 +0000 (01:53 +0000)
committerBruce Momjian
Tue, 14 Nov 2000 01:53:37 +0000 (01:53 +0000)
doc/src/sgml/libpq.sgml

index c742df415d0c4a87fe36e10619f6a3a316ad18b0..bb6dc844a1b37efbaa79165c5c52e669e993741b 100644 (file)
@@ -1,5 +1,5 @@
 
 
  
@@ -87,9 +87,10 @@ PGconn *PQconnectdb(const char *conninfo)
      host
      
      
-      Name of host to connect to. If a non-zero-length string is
-      specified, TCP/IP communication is used, else Unix sockets.
+      Name of host to connect to. 
       Using this parameter causes a hostname look-up.  See hostaddr.
+      If it begins with a slash, it is used
+      as the path to a unix domain socket.
      
      
     
@@ -1838,7 +1839,8 @@ application programs.
 
 
 PGHOST sets the default server name.
-If a non-zero-length string is specified, TCP/IP communication is used.
+If it beings with a slash, it is used as the path to a unix domain
+socket.
 Without a host name, libpq will connect using a local Unix domain socket.