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