Search Postgresql Archives

Re: passing passords to pgsql/pg_create/pg_dump programmatically

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 20/03/2007 14:04, Lars Haugseth wrote:

As you can see, all of these command line utilities accept the -W
parameter followed by the password.

Correct me if I'm wrong, but doesn't -W simply force a prompt from the password? - it doesn't accept the password on the command line.

Using the .pgpass file allows command line utilities to run unattended without having to supply a password manually.

Ray.

---------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod@xxxxxx
---------------------------------------------------------------


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux