Re: pg_dump 'die_on_errors'

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_dump 'die_on_errors'
Дата
Msg-id 26417.1092583969@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pg_dump 'die_on_errors'  (Philip Warner <pjw@rhyme.com.au>)
Ответы Re: pg_dump 'die_on_errors'  (Philip Warner <pjw@rhyme.com.au>)
Список pgsql-hackers
Philip Warner <pjw@rhyme.com.au> writes:
> Attached patch sets client_min_messages as above and gives some
> context to errors messages, eg:

> pg_restore: [archiver (db)] Error from TOC Entry 19; 1255 16438403 FUNCTION foo() pjw
> pg_restore: [archiver (db)] could not execute query: ERROR:  no schema has been selected to create in

It'd be substantially *more* helpful if it reported the failing command.
(The TOC entry label is not of interest to anyone except pg_dump hackers
such as yourself.)  I went around a release or so back and made sure
that pg_dump would always give the text of a failed query, but I forgot
to consider pg_restore :-(

            regards, tom lane

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: 8.0 beta status
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [Fwd: Re: [pgsql-hackers-win32] Import from Linux to