pg_stat_statements showing passwords while create or alter users. - Mailing list pgsql-docs

From PG Doc comments form
Subject pg_stat_statements showing passwords while create or alter users.
Date
Msg-id 158708887722.25694.11400369619365749891@wrigleys.postgresql.org
Whole thread Raw
Responses Re: pg_stat_statements showing passwords while create or alter users.  (Magnus Hagander <magnus@hagander.net>)
Re: pg_stat_statements showing passwords while create or alterusers.  (Laurenz Albe <laurenz.albe@cybertec.at>)
Re: pg_stat_statements showing passwords while create or alter users.  (Euler Taveira <euler.taveira@2ndquadrant.com>)
List pgsql-docs
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/10/bug-reporting.html
Description:

pg_stat_statements is recording passwords also, is there any way to avoid
the logging of passwords without droping extension package.
testdb=> create user test1 with password 'test123';
CREATE ROLE
testdb=> create user test2 with encrypted password 'test123';
CREATE ROLE
test=> select query from pg_stat_statements where query like '%test%';
                           query
-----------------------------------------------------------
create user test1 with encrypted password 'test123'
create user test2 with password 'test123'


edbss=> drop extension pg_stat_statements;
DROP EXTENSION

pgsql-docs by date:

Previous
From: Euler Taveira
Date:
Subject: Re: Replication: Different naming policy
Next
From: Magnus Hagander
Date:
Subject: Re: pg_stat_statements showing passwords while create or alter users.