Files
cozystack/api
IvanHunters 64c55898aa fix(postgres): make an explicit parameter win over the audit default
Seeding pgaudit.log and the connection-logging parameters through the
$defaults merge let a falsy explicit value lose: a tenant setting
log_connections: 0 while audit is on had it silently overwritten with
on, because sprig merge reads a zero value as unset. Seed each key only
when postgresql.parameters does not already set it, so an explicit value
wins unconditionally. Also enumerate the valid pgaudit.log classes in
the field description, since an unrecognised class makes pgaudit fall
back to none and silently disables auditing.

Assisted-by: LLM
Signed-off-by: IvanHunters <xorokhotnikov@gmail.com>
2026-11-23 17:38:54 +03:00
..