Re: ERROR's turning FATAL in BRIN regression tests - Mailing list pgsql-hackers

From Tom Lane
Subject Re: ERROR's turning FATAL in BRIN regression tests
Date
Msg-id 32398.1539958784@sss.pgh.pa.us
Whole thread Raw
In response to ERROR's turning FATAL in BRIN regression tests  (John Naylor <jcnaylor@gmail.com>)
List 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 by date:

Previous
From: Michael Paquier
Date:
Subject: Re: WAL archive (archive_mode = always) ?
Next
From: Stephen Frost
Date:
Subject: Re: pgsql: Add TAP tests for pg_verify_checksums