pg_stat_statements: password in command is not obfuscated - Mailing list pgsql-general

From legrand legrand
Subject pg_stat_statements: password in command is not obfuscated
Date
Msg-id 1521840648120-0.post@n3.nabble.com
Whole thread Raw
Responses Re: pg_stat_statements: password in command is not obfuscated  (David Rowley <david.rowley@2ndquadrant.com>)
List pgsql-general
Hello,

It seems that passwords used in commands are not removed when caught by
pg_stat_statements
(they are not "normalized" being utility statements) 

exemple:
alter role tt with password '123';

select query from public.pg_stat_statements
where query like '%password%';

query
----------------------------------------
alter role tt with password '123';

Do you think its a bug ?

Regards
PAscal



--
Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html


pgsql-general by date:

Previous
From: Albrecht Dreß
Date:
Subject: Re: FDW Foreign Table Access: strange LOG message
Next
From: MOISES ESPINOSA
Date:
Subject: case and accent insensitive