postgres=# SHOW config_file; config_file ------------------------------------------ /etc/postgresql/9.6/main/postgresql.conf (1 row)
this link可能会帮助你.