From: | PG Doc comments form <noreply(at)postgresql(dot)org> |
---|---|
To: | pgsql-docs(at)lists(dot)postgresql(dot)org |
Cc: | chandu_munnu(at)yahoo(dot)com |
Subject: | pg_stat_statements showing passwords while create or alter users. |
Date: | 2020-04-17 02:01:17 |
Message-ID: | 158708887722.25694.11400369619365749891@wrigleys.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | Magnus Hagander | 2020-04-17 06:57:24 | Re: pg_stat_statements showing passwords while create or alter users. |
Previous Message | Euler Taveira | 2020-04-16 20:42:15 | Re: Replication: Different naming policy |