Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit fcfa2c7

Browse files
committed
Document fallback to tcp/ip localhost connection from psql on ports
without unix domain sockets (win32).
1 parent 017e3e2 commit fcfa2c7

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

doc/src/sgml/ref/psql-ref.sgml

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.107 2004/03/22 03:38:24 momjian Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.108 2004/03/24 03:27:46 momjian Exp $
33
PostgreSQL documentation
44
-->
55

@@ -490,8 +490,9 @@ PostgreSQL documentation
490490
not belong to any option it will be interpreted as the database name
491491
(or the user name, if the database name is also given). Not all
492492
these options are required, defaults do apply. If you omit the host
493-
name, <application>psql</> will connect via a Unix domain socket to a server on the
494-
local host. The default port number is compile-time determined.
493+
name, <application>psql</> will connect via a Unix domain socket
494+
to a server on the local host, or via TCP/IP to <literal>localhost</> on machines
495+
that don't have unix domain sockets. The default port number is compile-time determined.
495496
Since the database server uses the same default, you will not have
496497
to specify the port in most cases. The default user name is your
497498
Unix user name, as is the default database name. Note that you can't

0 commit comments

Comments
 (0)