Re: [BUGS] BUG #6425: Bus error in slot_deform_tuple

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [BUGS] BUG #6425: Bus error in slot_deform_tuple
Date: 2012-02-05 20:42:47
Message-ID: CA+U5nMJYaH3Os6FrQPsYYt3BLBTW_4ExXJ+6Ov9RBpRcu6FWrw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

On Sat, Feb 4, 2012 at 6:49 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Simon Riggs <simon(at)2ndquadrant(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message jt_common 2012-02-06 08:57:56 BUG #6432: does not begin the installer
Previous Message Bruce Momjian 2012-02-05 04:39:25 Re: converting between infinity timestamp and float8 (epoch)

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2012-02-05 20:55:20 Re: Report: race conditions in WAL replay routines
Previous Message Simon Riggs 2012-02-05 20:40:09 Re: 16-bit page checksums for 9.2