我最近在更新后在我的Ubuntu 8.04上重新安装了postgresql 8.3.使用过的EnterpriseDB包.我可以在本地连接到数据库,我看到系统数据库postgres但我无法配置它,因为我找不到配置文件.通过整个硬盘搜索,发现只有像pg_hba.conf.sample
postgres *.conf文件在哪里?
我有这个错误
PG::ObjectNotInPrerequisiteState: ERROR: pg_stat_statements must be loaded via shared_preload_libraries
Run Code Online (Sandbox Code Playgroud)
在localhost上.使用osx(10.9.5),PostgresApp 9.3.1.0和pghero gem
转到位于的postgresql.conf ~/Library/Application Support/Postgres93/var
我的我在文件的顶部
shared_preload_libraries = 'pg_stat_statements'
pg_stat_statements.track = all
Run Code Online (Sandbox Code Playgroud)
所以,这是正确的postgresql.conf,或者我的设置中的某些内容被破坏了..
有任何想法吗?