Re: Password issue

From: hubert depesz lubaczewski <depesz(at)depesz(dot)com>
To: Mahmoud <mhhasan(at)gmx(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Password issue
Date: 2011-05-19 15:06:32
Message-ID: 20110519150632.GA22155@depesz.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Vick Khera 2011-05-19 15:32:25 Re: What is the average salary for Postgresql DBA
Previous Message Ashesh Vashi 2011-05-19 15:05:32 Re: Password issue