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

From Tom Lane
Subject Re: [PATCH] pg_autovacuum commandline password hiding.
Date
Msg-id 20404.1116944218@sss.pgh.pa.us
Whole thread Raw
In response to [PATCH] pg_autovacuum commandline password hiding.  (Ian FREISLICH <if@hetzner.co.za>)
List pgsql-patches
Ian FREISLICH <if@hetzner.co.za> writes:
> ...  The only thing is that
> pg_autovacuum keeps the password supplied on the commandline so
> anyone that does a 'ps' can get the database superuser password.

Which is exactly why we don't (and won't) provide such a switch.
Use ~/.pgpass instead.

            regards, tom lane

pgsql-patches by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: plperl tests for currently untested features
Next
From: "Dave Page"
Date:
Subject: Re: [PATCH] pg_autovacuum commandline password hiding.