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.