Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group