我按照http://pydanny-event-notes.readthedocs.org/en/latest/DjangoConEurope2012/10-steps-to-better-postgresql-performance.html上的说明操作
上面写着要设置log_directory = pg_log
该目录在ubuntu中的什么位置?:(
发布于 2015-12-24 16:41:28
在postgres数据目录下,类似于/var/lib/postgresql/9.3/main/pg_log
发布于 2015-12-24 18:21:49
该查询为您提供了任何操作系统中的实际日志目录。
select format('%s/%s',
current_setting('data_directory'),
current_setting('log_directory'));https://stackoverflow.com/questions/34449719
复制相似问题