如果在postgresql.conf中注释掉了设置,有人知道Postgres配置设置值的行为吗?
例如,这些设置的行为是什么:“ client_min_messages”,“ log_min_messages”,“ log_min_error_statement”。他们还会默认使用Postgres文档中提到的默认设置吗?
# - When to Log -
#client_min_messages = notice # values in order of decreasing detail:
# debug5
# debug4
# debug3
# debug2
# debug1
# log
# notice
# warning
# error
#log_min_messages = warning # values in order of decreasing detail:
# debug5
# debug4
# debug3
# debug2
# debug1
# info
# notice
# warning
# error
# log
# fatal
# panic
#log_min_error_statement = error # values in order of decreasing detail:
# debug5
# debug4
# debug3
# debug2
# debug1
# info
# notice
# warning
# error
# log
# fatal
# panic (effectively off)
# Log all statements taking longer than 1 second. Useful for pgBadger analysis.
# Could be increased to 30 seconds in Beta to reduce log size.
log_min_duration_statement = 1000 # -1 is disabled, 0 logs all statements
# and their durations, > 0 logs only
# statements running at least this number
# of milliseconds
谢谢 lmk