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

From Tom Lane
Subject Re: [BUGS] BUG #6425: Bus error in slot_deform_tuple
Date
Msg-id 12579.1328381352@sss.pgh.pa.us
Whole thread Raw
In response to Re: [BUGS] BUG #6425: Bus error in slot_deform_tuple  (Simon Riggs <simon@2ndquadrant.com>)
Responses Re: [BUGS] BUG #6425: Bus error in slot_deform_tuple
List pgsql-hackers
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.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: [BUGS] BUG #6425: Bus error in slot_deform_tuple
Next
From: Dimitri Fontaine
Date:
Subject: Re: Finer Extension dependencies