Next: libpq Lisp Symbols and DataTypes, Previous: SXEmacs PostgreSQL libpq API, Up: SXEmacs PostgreSQL libpq API [Contents][Index]
Various Unix environment variables are used by libpq to provide defaults
to the many different parameters. In the SXEmacs Lisp API, these
environment variables are bound to Lisp variables to provide more
convenient access to Lisp Code. These variables are passed to the
backend database server during the establishment of a database
connection and when the pq-setenv
call is made.
Initialized from the PGHOST
environment variable. The default
host to connect to.
Initialized from the PGUSER
environment variable. The default
database user name.
Initialized from the PGOPTIONS
environment variable. Default
additional server options.
Initialized from the PGPORT
environment variable. The default
TCP port to connect to.
Initialized from the PGTTY
environment variable. The default
debugging TTY.
Compatibility note: Debugging TTYs are turned off in the SXEmacs Lisp binding.
Initialized from the PGDATABASE
environment variable. The
default database to connect to.
Initialized from the PGREALM
environment variable. The default
Kerberos realm.
Initialized from the PGCLIENTENCODING
environment variable. The
default client encoding.
Compatibility note: This variable is not present in non-Mule SXEmacsen.
This variable is not present in versions of libpq prior to 7.0.
In the current implementation, client encoding is equivalent to the
file-name-coding-system
format.
Initialized from the PGAUTHTYPE
environment variable. The
default authentication scheme used.
Compatibility note: This variable is unused in versions of libpq after 6.5. It is not implemented at all in the SXEmacs Lisp binding.
Initialized from the PGGEQO
environment variable. Genetic
optimizer options.
Initialized from the PGCOSTINDEX
environment variable. Cost
index options.
Initialized from the PGCOSTHEAP
environment variable. Cost heap
options.
Initialized from the PGTZ
environment variable. Default
timezone.
Initialized from the PGDATESTYLE
environment variable. Default
date style in returned date objects.
This is a variable controlling which coding system is used to encode non-ASCII strings sent to the database.
Compatibility Note: This variable is not present in InfoDock.
Next: libpq Lisp Symbols and DataTypes, Previous: SXEmacs PostgreSQL libpq API, Up: SXEmacs PostgreSQL libpq API [Contents][Index]