Re: [BUGS] BUG #6425: Bus error in slot_deform_tuple - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: [BUGS] BUG #6425: Bus error in slot_deform_tuple
Date
Msg-id CA+U5nMJYaH3Os6FrQPsYYt3BLBTW_4ExXJ+6Ov9RBpRcu6FWrw@mail.gmail.com
Whole thread Raw
In response to Re: [BUGS] BUG #6425: Bus error in slot_deform_tuple  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Sat, Feb 4, 2012 at 6:49 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Simon Riggs <simon@2ndquadrant.com> writes:
>> The cause here is data changing underneath the user. Your patch solves
>> the most obvious error, but it still allows other problems if applying
>> the backup block changes data. If the backup block doesn't do anything
>> at all then we don't need to apply it either.
>
> This is nonsense.  What applying the backup block does is to apply the
> change that the WAL record would otherwise have applied, except we
> decided to make it store a full-page image instead.

Yep, you're right, my bad.

Got a head cold, so will lay off a few days from too much thinking.

--
 Simon Riggs                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: 16-bit page checksums for 9.2
Next
From: Simon Riggs
Date:
Subject: Re: Report: race conditions in WAL replay routines