Environment Variables

You can use the following environment variables to select default connection parameter values, which are used by PQconnectdb or PQsetdbLogin if no value is directly specified by the calling code. These are useful to avoid hard-coding database names into simple application programs.

You can use the following environment variables to specify user-level default behavior for every Red Hat Database session:

You can use the following environment variables to specify default internal behavior for every Red Hat Database session:

Refer to the SQL SET command in the Red Hat Database SQL Guide and Reference for information on correct values for these environment variables.