pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: chandu_munnu@yahoo.com
Subject: pg_stat_statements showing passwords while create or alter users.
Date: Fri, 17 Apr 2020 02:01:17 +0000
Message-ID: <158708887722.25694.11400369619365749891@wrigleys.postgresql.org> (raw)

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


view thread (4+ messages)  latest in thread

Message-ID: <158708887722.25694.11400369619365749891@wrigleys.postgresql.org>
Permalink:  ../158708887722.25694.11400369619365749891@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/158708887722.25694.11400369619365749891@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-docs@lists.postgresql.org, chandu_munnu@yahoo.com
  Subject: Re: pg_stat_statements showing passwords while create or alter users.
  In-Reply-To: <158708887722.25694.11400369619365749891@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox