Re: Redact user password on pg_stat_statements

From: Sami Imseih <samimseih(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Matheus Alcantara <matheusssilv97(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Redact user password on pg_stat_statements
Date: 2025-02-21 16:16:45
Message-ID: CAA5RZ0sWK0g4r4N-kK3rNrNF-TeiMOkrvN+D=q1KWWg_rCcthQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> It's a slippery slope for which there are no
> real fixes, and even partial fixes like this one are horrid kluges.

+1,

For example I don't think the current patch can deal with passwords
set in ALTER/CREATE inside DO blocks, and there is probably not
a sensible way to deal with that either.

Regards,

Sami Imseih
Amazon Web Services (AWS)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2025-02-21 16:25:21 Re: Redact user password on pg_stat_statements
Previous Message Andres Freund 2025-02-21 16:15:50 Re: GetRelationPath() vs critical sections