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.