Configuring EDB Postgres Advanced Server v15
You can easily update parameters that determine the behavior of EDB Postgres Advanced Server and supporting components by modifying the following configuration files:
- The
postgresql.conf
file determines the initial values of EDB Postgres Advanced Server configuration parameters. - The
pg_hba.conf
file specifies your preferences for network authentication and authorization. - The
pg_ident.conf
file maps operating system identities (user names) to EDB Postgres Advanced Server identities (roles) when usingident
-based authentication.
For more information about modifying the postgresql.conf
and pg_hba.conf
files, see Setting parameters.
You can use your editor of choice to open a configuration file. On Windows, you can navigate through the EDB Postgres menu to open a file.
Setting EDB Postgres Advanced Server environment variables
The graphical installer provides a script that simplifies the task of setting environment variables for Windows users. The script sets the environment variables for your current shell session. When your shell session ends, the environment variables are destroyed. You might want to invoke pgplus_env.bat
from your system-wide shell startup script, which definies environment variables for each shell session.
The pgplus_env
script is created during the EDB Postgres Advanced Server installation process and reflects the choices made during installation. To invoke the script, at the command line, enter:
C:\Program Files\edb\as14\pgplus_env.bat
As the pgplus_env.bat
script executes, it sets the following environment variables:
PATH="C:\Program Files\edb\as14\bin";%PATH% EDBHOME=C:\Program Files\edb\as14 PGDATA=C:\Program Files\edb\as14\data PGDATABASE=edb REM @SET PGUSER=enterprisedb PGPORT=5444 PGLOCALEDIR=C:\Program Files\edb\as14\share\locale
If you used an installer created by EDB to install PostgreSQL, the pg_env
script performs the same function: