2
我想將wal_debug
設置爲我的postgresql.conf
,以便我可以看到預寫日誌(WAL)發生了什麼情況。開發人員的postgresql選項 - wal_debug
我編的PostgreSQL與--enable-debug
:
./configure --prefix=/usr/local/pgsql --enable-nls --with-perl --with-libxml --with-pam --enable-debug
,並已將此添加的postgresql.conf
wal_debug = on
的BUTTOM當我試圖啓動Postgres的服務器抱怨:
$ pg_ctl start
server starting
FATAL: unrecognized configuration parameter "wal_debug"
什麼我錯過了嗎?
http://www.postgresql.org/docs/9.1/static/runtime-config-developer。 html說:'只有在編譯PostgreSQL時定義了WAL_DEBUG宏,該參數纔可用。' – dezso
'--enable-debug'與此無關。另請參閱http://www.postgresql.org/docs/9.1/static/install-procedure.html – dezso
你怎麼跟這個? –