pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: Thomas Kellerer <spam_eater@gmx.net>
Cc: pgsql-hackers@postgresql.org
Subject: Re: [GENERAL] pg_upgrade from 9.5 to 9.6 fails with "invalid argument"
Date: Fri, 30 Sep 2016 10:25:41 -0400
Message-ID: <20153.1475245541@sss.pgh.pa.us> (raw)
In-Reply-To: <013ada1f-ea63-8ab1-4b21-e1e149c63c49@dunslane.net>
References: <nsjrbh$8li$1@blaine.gmane.org>
	<12301.1475183434@sss.pgh.pa.us>
	<13903.1475185710@sss.pgh.pa.us>
	<013ada1f-ea63-8ab1-4b21-e1e149c63c49@dunslane.net>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Andrew Dunstan <andrew@dunslane.net> 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 
> <https://github.com/PGBuildFarm/client-code/blob/master/PGBuild/Modules/TestUpgradeXversion.pm;

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



view thread (23+ messages)  latest in thread

Message-ID: <20153.1475245541@sss.pgh.pa.us>
Permalink:  ../20153.1475245541@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/20153.1475245541@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-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, andrew@dunslane.net, spam_eater@gmx.net, pgsql-hackers@postgresql.org
  Subject: Re: [GENERAL] pg_upgrade from 9.5 to 9.6 fails with "invalid argument"
  In-Reply-To: <20153.1475245541@sss.pgh.pa.us>
  References: <nsjrbh$8li$1@blaine.gmane.org> <12301.1475183434@sss.pgh.pa.us> <13903.1475185710@sss.pgh.pa.us> <013ada1f-ea63-8ab1-4b21-e1e149c63c49@dunslane.net> <20153.1475245541@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