pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Simon Riggs <simon@2ndquadrant.com>
Cc: pgsql-hackers@postgresql.org
Subject: Re: [BUGS] BUG #6425: Bus error in slot_deform_tuple
Date: Sat, 04 Feb 2012 13:49:12 -0500
Message-ID: <12579.1328381352@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+U5nMJ8SjFkkwZ5d3dRORSrgykL3Fwd-1DKcZu25RRi4GXkQg@mail.gmail.com>
References: <E1RsbAk-00007G-LC@wrigleys.postgresql.org>
	<15205.1328112255@sss.pgh.pa.us>
	<CA+TgmoYiaJY4yKydS09ymXJmGPAT-BUHq36SBVB-8iG7bcFUxw@mail.gmail.com>
	<846B8F25-A7C1-4513-A284-D496C1DFC590@dunquino.com>
	<24434.1328132614@sss.pgh.pa.us>
	<A7CCB062-B7D1-4015-8B72-38BB3755477C@dunquino.com>
	<24D75B69-D387-4476-AC0D-5271FA56AB20@dunquino.com>
	<4909.1328219050@sss.pgh.pa.us>
	<5101.1328219790@sss.pgh.pa.us>
	<12379.1328251513@sss.pgh.pa.us>
	<CA+U5nMJ8SjFkkwZ5d3dRORSrgykL3Fwd-1DKcZu25RRi4GXkQg@mail.gmail.com>

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



view thread (29+ messages)  latest in thread

Message-ID: <12579.1328381352@sss.pgh.pa.us>
Permalink:  ../12579.1328381352@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/12579.1328381352@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, simon@2ndquadrant.com, pgsql-hackers@postgresql.org
  Subject: Re: [BUGS] BUG #6425: Bus error in slot_deform_tuple
  In-Reply-To: <12579.1328381352@sss.pgh.pa.us>
  References: <E1RsbAk-00007G-LC@wrigleys.postgresql.org> <15205.1328112255@sss.pgh.pa.us> <CA+TgmoYiaJY4yKydS09ymXJmGPAT-BUHq36SBVB-8iG7bcFUxw@mail.gmail.com> <846B8F25-A7C1-4513-A284-D496C1DFC590@dunquino.com> <24434.1328132614@sss.pgh.pa.us> <A7CCB062-B7D1-4015-8B72-38BB3755477C@dunquino.com> <24D75B69-D387-4476-AC0D-5271FA56AB20@dunquino.com> <4909.1328219050@sss.pgh.pa.us> <5101.1328219790@sss.pgh.pa.us> <12379.1328251513@sss.pgh.pa.us> <CA+U5nMJ8SjFkkwZ5d3dRORSrgykL3Fwd-1DKcZu25RRi4GXkQg@mail.gmail.com> <12579.1328381352@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox