Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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


pgsql-hackers by date

Next:From: Simon RiggsDate: 2008-09-29 14:59:50
Subject: Re: Fatal Errors
Previous:From: Andrew DunstanDate: 2008-09-29 14:25:10
Subject: Re: parallel pg_restore - WIP patch

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group