我也跟着上http://pydanny-event-notes.readthedocs.org/en/latest/DjangoConEurope2012/10-steps-to-better-postgresql-performance.htmlubuntu下postgresql的pg_log目錄?
它說,設置log_directory = pg_log
哪來Ubuntu的那個目錄指令? :(
我也跟着上http://pydanny-event-notes.readthedocs.org/en/latest/DjangoConEurope2012/10-steps-to-better-postgresql-performance.htmlubuntu下postgresql的pg_log目錄?
它說,設置log_directory = pg_log
哪來Ubuntu的那個目錄指令? :(
在Postgres的數據目錄類似/var/lib/postgresql/9.3/main/pg_log
select format('%s/%s',
current_setting('data_directory'),
current_setting('log_directory'));
數據目錄可以根據安裝Postgres的方式是不同的。 – klin