Re: dropdb cmd line args

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: dropdb cmd line args
Дата
Msg-id 16844.1159649553@sss.pgh.pa.us
обсуждение исходный текст
Ответ на dropdb cmd line args  ("sami" <sami.jan@gmail.com>)
Список pgsql-general
"sami" <sami.jan@gmail.com> writes:
> When I give the program the following arguments, it throws up an error:

>> dropdb -i -h localhost -p 5432 -U postgres - W password dataBaseToDrop

-W does not take the password as an argument on the command line, it
just forces a prompt for the password.  (Which will happen anyway if
needed, so really -W is a waste of typing.)

Also, I hope you weren't really spelling it with a space between the
dash and the W...

            regards, tom lane

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Strange pg_ctl behavior: postmaster shuts down on shell interrupt
Следующее
От: "Gregory S. Williamson"
Дата:
Сообщение: Re: Cause of ERROR: could not open relation 1663/856689/856777: Invalid argument?