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
你怎么跟这个? –