Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bpymY-0007wT-Ms for pgsql-hackers@arkaria.postgresql.org; Fri, 30 Sep 2016 14:27:22 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bpymX-0001WG-A2 for pgsql-hackers@arkaria.postgresql.org; Fri, 30 Sep 2016 14:27:21 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bpyl8-0008Ju-Dm for pgsql-hackers@postgresql.org; Fri, 30 Sep 2016 14:25:54 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bpyl1-0005oE-8Q for pgsql-hackers@postgresql.org; Fri, 30 Sep 2016 14:25:53 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u8UEPfPt020154; Fri, 30 Sep 2016 10:25:41 -0400 From: Tom Lane To: Andrew Dunstan cc: Thomas Kellerer , pgsql-hackers@postgresql.org Subject: Re: [GENERAL] pg_upgrade from 9.5 to 9.6 fails with "invalid argument" In-reply-to: <013ada1f-ea63-8ab1-4b21-e1e149c63c49@dunslane.net> References: <12301.1475183434@sss.pgh.pa.us> <13903.1475185710@sss.pgh.pa.us> <013ada1f-ea63-8ab1-4b21-e1e149c63c49@dunslane.net> Comments: In-reply-to Andrew Dunstan message dated "Fri, 30 Sep 2016 10:13:12 -0400" Date: Fri, 30 Sep 2016 10:25:41 -0400 Message-ID: <20153.1475245541@sss.pgh.pa.us> X-Pg-Spam-Score: -4.9 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Andrew Dunstan writes: > On 09/29/2016 05:48 PM, Tom Lane wrote: >> We might've caught these things earlier if the buildfarm testing >> included cross-version upgrades, but of course that requires a >> lot of test infrastructure that's not there ... > I have done quite a bit of work on this - see > Oh! How would I enable or use that? > This actually runs on crake, and it has found problems in the past which > we've fixed. However, it requires quite a deal of disk space (4GB or > so), and the results are not stable, which is why I haven't enabled it. Fair enough, but right now I'd like to do a one-shot test using a big-endian machine to see whether it catches the apparent endianness problem in rewriteVisibilityMap. I have a feeling that that is something that won't easily be caught by automated checks, because it requires a case where the table pages are in a variety of visibility states, and even if corruption has happened, only index-only-scan queries would notice. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers