1.查看参数文件的位置
postgres=# show config_file;
config_file
---------------------------------------
/usr/local/pgsql/data/postgresql.conf
(1 row)
postgres=# show hba_file;
hba_file
-----------------------------------
/usr/local/pgsql/data/pg_hba.conf
(1 row)
postgres=# show ident_file;
ident_file
-------------------------------------
/usr/local/pgsql/data/pg_ident.conf
(1 row)
2.查看当前会话的参数值
postgres=# show all;
。。。。。。
postgres=# show ar