Edit the Postgres configuration file
The location of the Postgres configuration file depends on your operating system and installation.
Find the location of the config file for your Postgres instance
Connect to your database:
Retrieve the database file location from the database internal configuration.
Postgres returns the path to your configuration file. For example:
Open the config file, then [edit your Postgres configuration][pg-config]
Save your updated configuration
When you have saved the changes you make to the configuration file, the new configuration is not applied immediately. The configuration file is automatically reloaded when the server receives a SIGHUP signal. To manually reload the file, use the pg_ctl command.