我有一个从源代码安装的PostgreSQL 11.10。当我尝试启动这个数据库实例时,它出现了致命错误。如何找到此数据库的配置文件?psql无法连接到数据库,因此,我无法运行SHOW config_file
发布于 2021-02-03 02:33:19
从命令行尝试pg_ctl。我假设使用Linux,因为您没有指定:
$ pg_ctl status
pg_ctl: server is running (PID: 8787)
/usr/pgsql-11/bin/postgres "-D" "/data/"配置文件应位于命令输出指定的位置,在我的示例中为/data
https://stackoverflow.com/questions/66015450
复制相似问题