]> granicus.if.org Git - postgresql/commitdiff
Add mention of PGDATESTYLE, PGTZ, PGCOSTHEAP, PGCOSTINDEX, PGRPLANS, PGGEQO
authorThomas G. Lockhart <lockhart@fourpalms.org>
Fri, 14 Nov 1997 15:41:30 +0000 (15:41 +0000)
committerThomas G. Lockhart <lockhart@fourpalms.org>
Fri, 14 Nov 1997 15:41:30 +0000 (15:41 +0000)
 as initialization environment variables.

src/man/libpq.3

index 92d62324e89695b50aa3786e570f608c9b48bfc7..1a64338fde4879435a9ae6c3006723569c8a7c6b 100644 (file)
@@ -1,6 +1,6 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/libpq.3,v 1.9 1997/11/01 05:21:57 momjian Exp $
+.\" $Header: /cvsroot/pgsql/src/man/Attic/libpq.3,v 1.10 1997/11/14 15:41:30 thomas Exp $
 .TH LIBPQ INTRO 03/12/94 PostgreSQL PostgreSQL
 .SH DESCRIPTION
 Libpq is the programmer's interface to Postgres.  Libpq is a set of
@@ -62,6 +62,44 @@ for this realm and use separate ticket files to avoid conflicts with
 local ticket files.  This environment variable is only used if 
 .I Kerberos
 authentication is enabled.
+
+.PP
+The following environment variables can be used to specify user-level default behavior
+for every Postgres session:
+.sp
+\(bu
+.B PGDATESTYLE
+sets the default style of date/time representation.
+.sp
+\(bu
+.B PGTZ
+sets the default time zone.
+
+.PP
+The following environment variables can be used to specify default internal
+behavior for every Postgres session:
+.sp
+\(bu
+.B PGGEQO
+sets the default mode for the genetic optimizer.
+.sp
+\(bu
+.B PGRPLANS
+sets the default mode to allow or disable right-sided plans in the optimizer.
+.sp
+\(bu
+.B PGCOSTHEAP
+sets the default cost for heap searches for the optimizer.
+.sp
+\(bu
+.B PGCOSTINDEX
+sets the default cost for indexed searches for the optimizer.
+
+.PP
+See the
+set(l)
+man page for information on the arguments for these environment variables.
+
 .SH "Database Connection Functions"
 .PP
 The following routines deal with making a connection to a backend