Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 26ACC349F96 for ; Sat, 4 Feb 2012 14:49:28 -0400 (AST) Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Rtkfv-0007nr-9w for pgsql-hackers@postgresql.org; Sat, 04 Feb 2012 18:49:28 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id q14InCJ1012580; Sat, 4 Feb 2012 13:49:12 -0500 (EST) To: Simon Riggs cc: pgsql-hackers@postgresql.org Subject: Re: [BUGS] BUG #6425: Bus error in slot_deform_tuple In-reply-to: References: <15205.1328112255@sss.pgh.pa.us> <846B8F25-A7C1-4513-A284-D496C1DFC590@dunquino.com> <24434.1328132614@sss.pgh.pa.us> <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> Comments: In-reply-to Simon Riggs message dated "Sat, 04 Feb 2012 18:37:40 +0000" Date: Sat, 04 Feb 2012 13:49:12 -0500 Message-ID: <12579.1328381352@sss.pgh.pa.us> From: Tom Lane X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201202/164 X-Sequence-Number: 202529 Simon Riggs 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