diff options
Diffstat (limited to 'src/man/psql.1')
-rw-r--r-- | src/man/psql.1 | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/man/psql.1 b/src/man/psql.1 index f09f607ffd3..ccde0d72e32 100644 --- a/src/man/psql.1 +++ b/src/man/psql.1 @@ -1,6 +1,6 @@ .\" This is -*-nroff-*- .\" XXX standard disclaimer belongs here.... -.\" $Header: /cvsroot/pgsql/src/man/Attic/psql.1,v 1.19 1997/12/02 03:43:54 scrappy Exp $ +.\" $Header: /cvsroot/pgsql/src/man/Attic/psql.1,v 1.20 1997/12/04 20:26:37 momjian Exp $ .TH PSQL UNIX 1/20/96 PostgreSQL PostgreSQL .SH NAME psql \(em run the interactive query front-end @@ -151,10 +151,9 @@ The default is "|". .BR "-h" " hostname" Specifies the hostname of the machine on which the .IR postmaster -is running. Defaults to the name of the local host, or the value of -the -.SM PGHOST -environment variable (if set). +is running. +Without this option, communication is performed using +local Unix domain sockets. .TP .BR "-H" Turns on @@ -171,7 +170,8 @@ Do not use the readline library for input line editing and command history. Put all output into filename .TP .BR "-p" " port" -Specifies the Internet TCP port on which the +Specifies the TCP/IP port or local Unix domain socket file +extension on which the .IR postmaster is listening for connections. Defaults to 5432, or the value of the .SM PGPORT @@ -394,6 +394,8 @@ tty: PGTTY options: PGOPTION realm: PGREALM .fi +Setting PGHOST to a non-zero-length string causes TCP/IP communication +to be used, rather than the default local Unix domain sockets. .PP If .SM PGOPTION |