Re: Feature request - pg_dump - -W specify pwd in command line

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Carl Holliday" <skysnake(at)wonderland(dot)co(dot)za>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Feature request - pg_dump - -W specify pwd in command line
Date: 2010-09-23 20:19:46
Message-ID: 2221.1285273186@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Carl Holliday" <skysnake(at)wonderland(dot)co(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2010-09-23 21:04:35 Re: UNLISTEN bug
Previous Message Tom Lane 2010-09-23 19:53:19 Re: BUG #5673: Optimizer creates strange execution plan leading to wrong results