Re: Password issue

Поиск
Список
Период
Сортировка
От hubert depesz lubaczewski
Тема Re: Password issue
Дата
Msg-id 20110519150632.GA22155@depesz.com
обсуждение исходный текст
Ответ на Password issue  (Mahmoud <mhhasan@gmx.com>)
Список 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 по дате отправления:

Предыдущее
От: Ashesh Vashi
Дата:
Сообщение: Re: Password issue
Следующее
От: Vick Khera
Дата:
Сообщение: Re: What is the average salary for Postgresql DBA