Skip to content

Commit 2ebb60c

Browse files
authored
Disable loading of bg_mon (#555)
1 parent f0f015e commit 2ebb60c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/v1/postgres_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -870,7 +870,7 @@ func (p *Postgres) IsReplicationTarget() bool {
870870
// enableAuditLogs configures this postgres instances audit logging
871871
func enableAuditLogs(parameters map[string]string) {
872872
// default values: bg_mon,pg_stat_statements,pgextwlist,pg_auth_mon,set_user,timescaledb,pg_cron,pg_stat_kcache
873-
parameters["shared_preload_libraries"] = "bg_mon,pg_stat_statements,pgextwlist,pg_auth_mon,set_user,timescaledb,pg_cron,pg_stat_kcache,pgaudit"
873+
parameters["shared_preload_libraries"] = "pg_stat_statements,pgextwlist,pg_auth_mon,set_user,timescaledb,pg_cron,pg_stat_kcache,pgaudit"
874874
parameters["pgaudit.log_catalog"] = "off"
875875
parameters["pgaudit.log"] = "ddl"
876876
parameters["pgaudit.log_relation"] = "on"

0 commit comments

Comments
 (0)