This PR introduces a pg_query_normalize_utility function which only normalizes utility statements. We're adding this so the pganalyze collector can redact database secrets from the Postgres logs in the case that log_min_duration_statement is set to zero.
This PR introduces a
pg_query_normalize_utility
function which only normalizes utility statements. We're adding this so the pganalyze collector can redact database secrets from the Postgres logs in the case thatlog_min_duration_statement
is set to zero.