Re: pg_restore ignore error patch

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема Re: pg_restore ignore error patch
Дата
Msg-id Pine.LNX.4.58.0404200932151.6454@sablons.cri.ensmp.fr
обсуждение исходный текст
Ответ на Re: pg_restore ignore error patch  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: pg_restore ignore error patch  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
> > > I looked over the patch and it seems to continue on pg_restore errors by
> > > default.  That isn't good.  By default, any error should make it exit
> > > loudly.
> >
> > I'm not sure of that.  pg_dump is really designed and tested for the
> > case of text dump to a psql script, and if there is an error in the psql
> > [...]
>
> Oh, OK, so make it behave like pg_dump's text output piped into psql.

It is really easy to add an option to allow user change the 'ignore'
behavior, and make pg_restore exit loudly if it is desired.

Maybe it should be proposed just for backwards compatibility?

--
Fabien Coelho - coelho@cri.ensmp.fr

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Basic subtransaction facility
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: CSV patch applied