Re: Password issue - Mailing list pgsql-general

From hubert depesz lubaczewski
Subject Re: Password issue
Date
Msg-id 20110519150632.GA22155@depesz.com
Whole thread Raw
In response to Password issue  (Mahmoud <mhhasan@gmx.com>)
List pgsql-general
On Thu, May 19, 2011 at 05:53:11PM +0300, Mahmoud wrote:
> Hi all
> I am trying to create a database by passing arguments to
> createdb.exe but createdb always asks me about the password although
> I passed  -W 123 to it.

please check docs for createdb
http://www.postgresql.org/docs/current/interactive/app-createdb.html

-W is not used to provide password at command line.

for providing password check
http://www.postgresql.org/docs/current/interactive/libpq-envars.html
and/or
http://www.postgresql.org/docs/current/interactive/libpq-pgpass.html

depesz

--
The best thing about modern society is how easy it is to avoid contact with it.
                                                             http://depesz.com/

pgsql-general by date:

Previous
From: Ashesh Vashi
Date:
Subject: Re: Password issue
Next
From: Vick Khera
Date:
Subject: Re: What is the average salary for Postgresql DBA