Re: ERROR's turning FATAL in BRIN regression tests

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ERROR's turning FATAL in BRIN regression tests
Дата
Msg-id 32398.1539958784@sss.pgh.pa.us
обсуждение исходный текст
Ответ на ERROR's turning FATAL in BRIN regression tests  (John Naylor <jcnaylor@gmail.com>)
Список pgsql-hackers
John Naylor <jcnaylor@gmail.com> writes:
> I changed the signature of a freespace.c function that the BRIN code
> calls, and this change by itself doesn't cause a crash. With the full
> FSM patch, causing BRIN errors in manual queries in psql doesn't cause
> a crash. However, during the BRIN regression tests, the queries that
> purposely cause errors result in FATAL instead, causing a crash.

Sounds like something's messing up the backend's exception stack,
so that elog.c has noplace to throw the error to.  See the
promote-ERROR-to-FATAL logic therein.

            regards, tom lane


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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: WAL archive (archive_mode = always) ?
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: pgsql: Add TAP tests for pg_verify_checksums