Re: BUG #2931: Can't capture pg_dump Password prompt

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: BUG #2931: Can't capture pg_dump Password prompt
Дата
Msg-id 20070129113836.GD13900@svr2.hagander.net
обсуждение исходный текст
Ответ на BUG #2931: Can't capture pg_dump Password prompt  ("Michael Schmidt" <MichaelMSchmidt@msn.com>)
Список pgsql-bugs
On Sun, Jan 28, 2007 at 09:51:11AM -0700, Michael Schmidt wrote:
> Mr. Hagander,
> I have taken the discussion of the password issue to the General group.  Again, thanks.  There are still two minor
issues.
>
> 1.  Entering pg_restore at the command prompt without any parameters hangs.  Shouldn't it exit neatly with an error
message?

No. It will then try to read the information from stdin. See
http://www.postgresql.org/docs/8.2/static/app-pgrestore.html, under
Optinos.

> 2.  The pg_dump application help (pg_dump --help) states both -U and --username= are valid while the manual (section
VI)only mentions -U.  Should the manual entry be edited? 

Yes, I beleive so. Same problems are present for at least -W also, and
also present on pg_restore. so yes, that should be fixed. I'll try to
put together a patch unless beaten to it.

//Magnus

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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: BUG #2931: Can't capture pg_dump Password prompt
Следующее
От: "Kirill Simonov"
Дата:
Сообщение: BUG #2942: information_schema.element_types: documentation error