Commit 644b37c0 authored by Thomas G. Lockhart's avatar Thomas G. Lockhart

Add mention of new environment variables for session initialization.

Cross-reference libpq(3).
parent 2f4ccfe0
.\" This is -*-nroff-*- .\" This is -*-nroff-*-
.\" XXX standard disclaimer belongs here.... .\" XXX standard disclaimer belongs here....
.\" $Header: /cvsroot/pgsql/src/man/Attic/psql.1,v 1.15 1997/11/14 21:38:16 momjian Exp $ .\" $Header: /cvsroot/pgsql/src/man/Attic/psql.1,v 1.16 1997/11/15 02:47:23 thomas Exp $
.TH PSQL UNIX 1/20/96 PostgreSQL PostgreSQL .TH PSQL UNIX 1/20/96 PostgreSQL PostgreSQL
.SH NAME .SH NAME
psql \(em run the interactive query front-end psql \(em run the interactive query front-end
...@@ -372,7 +372,15 @@ Escape to shell or execute ...@@ -372,7 +372,15 @@ Escape to shell or execute
.IR command. .IR command.
.IP \e? .IP \e?
Get help information about the \e commands. Get help information about the \e commands.
.SH "ENVIRONMENT VARIABLES" .SH "ENVIRONMENT VARIABLES"
There are some environment variables which can be used in liu of
command line arguments; these are detailed below.
Additionally, the Postgres frontend library used by the psql application
looks for other optional environment variables to configure, for example,
the style of date/time representation and the local time zone. Refer
to libpq(3) for more details.
.PP
You may set any of the following environment variables to avoid You may set any of the following environment variables to avoid
specifying command-line options: specifying command-line options:
.nf .nf
...@@ -394,14 +402,12 @@ only applies if ...@@ -394,14 +402,12 @@ only applies if
.IR Kerberos .IR Kerberos
authentication is in use. If this environment variable is set, Postgres authentication is in use. If this environment variable is set, Postgres
will attempt authentication with servers for this realm and use will attempt authentication with servers for this realm and use
separate ticket files to avoid conflicts with local ticket files. See separate ticket files to avoid conflicts with local ticket files.
See
.IR pgintro (1) .IR pgintro (1)
for additional information on for additional information on
.IR Kerberos . .IR Kerberos .
.PP
See
.IR pgintro (libpq)
for additional details.
.SH "RETURN VALUE" .SH "RETURN VALUE"
.IR psql .IR psql
returns 0 to the shell on successful completion of all queries, returns 0 to the shell on successful completion of all queries,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment