Re: pg_restore -F bug

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_restore -F bug
Дата
Msg-id 5870.1114785643@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_restore -F bug  (Neil Conway <neilc@samurai.com>)
Ответы Re: pg_restore -F bug  (Neil Conway <neilc@samurai.com>)
Список pgsql-patches
Neil Conway <neilc@samurai.com> writes:
> This patch fixes a bug in the error message emitted by pg_restore on an
> incorrect -F argument: write_msg() expects its first parameter to be a
> "module name", not the format string. Patch applied to HEAD. Is this
> worth backporting?

Certainly --- particularly if the error makes it dump core, as seems
likely (haven't tried it).

> BTW, is there a reason that pg_restore seems to accept 'f', 't', or 'c'
> parameters to this argument, but the documentation only documents 't'
> and 'c'?

I think the 'f' option is only intended for debugging purposes ...
Philip would know ...

            regards, tom lane

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [INTERFACES] bcc32 libpq compile problem
Следующее
От: Neil Conway
Дата:
Сообщение: Re: pg_restore -F bug