postgresql.conf设置被忽略,因为它已失效

问题描述

我正在尝试将2个设置添加到我的postgresql.conf文件中(在CentOS Greenplum Postgres 9.4实例上),并且我收到此消息:

log_destination"": setting is ignored because it is defunct
log_line_prefix"": setting is ignored because it is defunct

是什么意思?

这是这些设置所在的部分:

# If the execution time of the query is longer than the specified time,log the query text and execution time in the log
log_min_duration_statement = 0
# information to prefix to the log message
log_line_prefix = '%t [%p]: [%l-1] user=%u,db=%d,app=%a,client=%h'  # '%t %d %u %p %h '
log_checkpoints = on
# Log the client's connection
log_connections = on
# Log client disconnects
log_disconnections = on
#Leave lock wait longer than the time specified by # deadlock_timeout (default 1 second) in the log
log_lock_waits = on
# Leave logs that temporary files were created (all 0's)
log_temp_files = 0
# Log language is limited to English
lc_messages = 'C'
log_destination = 'csvlog'

解决方法

Greenplum进行自己的日志记录,并且不使用这两个设置。所有日志记录都转到段上的master和segment数据目录的master数据目录。这是预期的行为,目前无法更改。

cd $ MASTER_DATA_DIRECTY / pg_log /

以及细分

cd / data / primary / gpseg * / pg_log /

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...