Re: Fatal Errors

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Simon Riggs <simon(at)2ndQuadrant(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Fatal Errors
Date: 2008-09-29 14:30:15
Message-ID: 11801.1222698615@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Simon Riggs <simon(at)2ndQuadrant(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2008-09-29 14:59:50 Re: Fatal Errors
Previous Message Andrew Dunstan 2008-09-29 14:25:10 Re: parallel pg_restore - WIP patch