Re: Redact user password on pg_stat_statements - Mailing list pgsql-hackers

From Greg Sabino Mullane
Subject Re: Redact user password on pg_stat_statements
Date
Msg-id CAKAnmmK+1nXEJNzh8tRYHjzHXzP=LHDryLbtMa8tpWexAg7uAw@mail.gmail.com
Whole thread Raw
In response to Re: Redact user password on pg_stat_statements  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: Redact user password on pg_stat_statements
List pgsql-hackers
What about a more general solution, such as a flag to turn off logging of ALTER ROLE statements completely? Does anyone really need to know the standard deviation of the timings for "ALTER ROLE alice SET work_mem='50MB'"? Let's be honest, there are a lot of things that go into pg_stat_statements that don't need to. Removing ALTER ROLE entirely would have a bonus security side-effect, without it being the primary driver.

Cheers,
Greg

--
Enterprise Postgres Software Products & Tech Support

pgsql-hackers by date:

Previous
From: Bertrand Drouvot
Date:
Subject: [BUG]: the walsender does not update its IO statistics until it exits
Next
From: Aleksander Alekseev
Date:
Subject: Re: [PATCH] Refactor SLRU to always use long file names