Environment Variables

1.10. Environment Variables

The following environment variables can be used to select default connection parameter values, which will be used by PQconnectdb, PQsetdbLogin and PQsetdb if no value is directly specified by the calling code. These are useful to avoid hard-coding database connection information into simple client applications.

The following environment variables can be used to specify user-level default behavior for every PostgreSQL session:

The following environment variables can be used to specify default internal behavior for every PostgreSQL session:

Refer to the SET SQL command for information on correct values for these environment variables.

Home
Online Resources
General
Beginner Tutorials
MySQL
PostgreSQL
Oracle
mSQL
Microsoft SQL
Contact Us
Random quote of the moment:
Command, n.: Statement presented by a human and accepted by a computer in such a manner as to make the human feel as if he is in control.
 
http://www.sql.org/
 
Proudly designed and hosted by OmegaSphere, providers of all your Web Hosting, SSL Certificate, and Domain Name needs!