Re: Fatal Errors - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Fatal Errors
Date
Msg-id 11801.1222698615@sss.pgh.pa.us
Whole thread Raw
In response to Fatal Errors  (Simon Riggs <simon@2ndQuadrant.com>)
Responses Re: Fatal Errors  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-hackers
Simon Riggs <simon@2ndQuadrant.com> writes:
> Is it possible to have a FATAL error that crashes a backend and for it
> to *not* have written an abort WAL record for any previously active
> transaction? 

Well, a FATAL error will still go through transaction abort before
exiting, IIRC.  The problem case is a PANIC or an actual core dump.

> If we either *always* write a WAL record, or PANIC then that
> makes some coding easier,

Like what?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: parallel pg_restore - WIP patch
Next
From: Simon Riggs
Date:
Subject: Re: Fatal Errors