我最近用EnterpriseDB包在Ubuntu上安装了PostgreSQL.我可以在本地连接到数据库,但我无法配置它,因为我找不到配置文件.我搜索了整个硬盘,只找到了pg_hba.conf.sample
个这样的样本
PostgreSQL .conf
文件在哪里?
我最近用EnterpriseDB包在Ubuntu上安装了PostgreSQL.我可以在本地连接到数据库,但我无法配置它,因为我找不到配置文件.我搜索了整个硬盘,只找到了pg_hba.conf.sample
个这样的样本
PostgreSQL .conf
文件在哪里?
或者询问您的数据库:
$ psql -U postgres -c 'SHOW config_file'
或者,如果以ubuntu
用户身份登录:
$ sudo -u postgres psql -c 'SHOW config_file'