Category: Postgres
You can display the location for the Postgres configuration on Linux or macOS using the following command:
psql -U postgres -c 'SHOW config_file'
Sample output:
config_file
------------------------------------------------------------------------------
/Users/joebloggs/Library/Application Support/Postgres/var-12/postgresql.conf