Re: Feature request - pg_dump - -W specify pwd in command line - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Feature request - pg_dump - -W specify pwd in command line
Date
Msg-id 2221.1285273186@sss.pgh.pa.us
Whole thread Raw
In response to Feature request - pg_dump - -W specify pwd in command line  ("Carl Holliday" <skysnake@wonderland.co.za>)
List pgsql-bugs
"Carl Holliday" <skysnake@wonderland.co.za> writes:
> I need to be able to put pwds in the command line to facilitate
> non-supervised backups etc

We intentionally do not allow passwords on the command line, because
putting them there is a huge security hole.  Use a ~/.pgpass file
instead.  See
http://www.postgresql.org/docs/9.0/static/libpq-pgpass.html

            regards, tom lane

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #5673: Optimizer creates strange execution plan leading to wrong results
Next
From: Tom Lane
Date:
Subject: Re: UNLISTEN bug