Configure PostgreSQL
You can configure PostgreSQL by editing the configuration files in the database cluster directory to set database parameters, authentication, and client access. By default, PostgreSQL uses the /var/lib/pgsql/data/ directory.
About this task
The PostgreSQL configuration files include:
/var/lib/pgsql/data/postgresql.conf- sets the database cluster parameters./var/lib/pgsql/data/postgresql.auto.conf- holds basic PostgreSQL settings similarly topostgresql.conf. However, this file is under the server’s control. TheALTER SYSTEMqueries edit this file. You cannot edit it manually./var/lib/pgsql/data/pg_ident.conf- maps user identities from external authentication mechanisms into the PostgreSQL user identities./var/lib/pgsql/data/pg_hba.conf- configures client authentication for PostgreSQL databases.