Re: [PATCH] pg_autovacuum commandline password hiding. - Mailing list pgsql-patches

From Matthew T. O'Connor
Subject Re: [PATCH] pg_autovacuum commandline password hiding.
Date
Msg-id 4293531E.4040203@zeut.net
Whole thread Raw
In response to Re: [PATCH] pg_autovacuum commandline password hiding.  ("Dave Page" <dpage@vale-housing.co.uk>)
List pgsql-patches
Dave Page wrote:

>>-----Original Message-----
>>From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
>>
>>
>>I would argue actually that this switch is a horrible idea and we
>>must take it out entirely.  The method Ian proposes for hiding the
>>password after reading it is certainly not portable in the slightest,
>>and even if we could make it work on all platforms (which we can't)
>>I don't think it would be good enough, because there would still be
>>a window where the superuser password was exposed to view before
>>we could wipe it out.
>>
>>
>
>Agreed. The attached patch should do the trick.
>

 From a cursory glance at the patch it looks OK to me.  I don't have
time to test it right now.

Sorry about this, I should have removed the username / password switches
a while ago.

pgsql-patches by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: plperl strict mode
Next
From: Andrew Dunstan
Date:
Subject: Re: plperl strict mode