简体   繁体   English

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

[英]postgresql.conf setting is ignored because it is defunct

I'm trying to add 2 settings to my postgresql.conf file (on a CentOS Greenplum Postgres 9.4 instance) and I'm getting this message back:我正在尝试将 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

What does it mean?这是什么意思?

This is the section where these settings are:这是这些设置所在的部分:

# 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 does its own logging and does not use those 2 settings. Greenplum 进行自己的日志记录并且不使用这两个设置。 All of the logging goes to the master data directory for the master and segment data directories on the segments.所有日志记录都转到段上的主数据目录和段数据目录的主数据目录。 That is expected behavior and currently can't be changed.这是预期的行为,目前无法更改。

cd $MASTER_DATA_DIRECTY/pg_log/ cd $MASTER_DATA_DIRECTY/pg_log/

and on segments和细分市场

cd /data/primary/gpseg*/pg_log/ cd /data/primary/gpseg*/pg_log/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM