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: Sat, 01 Oct 2016 14:01:31 -0400
Message-ID: <19485.1475344891@sss.pgh.pa.us> (raw)
In-Reply-To: <2491af5c-c9bf-a07d-7d42-3ef442db14e4@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>
<20153.1475245541@sss.pgh.pa.us>
<5669acd9-efdc-2a0f-afea-10ba6003a050@dunslane.net>
<28827.1475252675@sss.pgh.pa.us>
<2491af5c-c9bf-a07d-7d42-3ef442db14e4@dunslane.net>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
Andrew Dunstan <andrew@dunslane.net> writes:
> On 09/30/2016 12:24 PM, Tom Lane wrote:
>> Seems to be some additional prep work needed somewhere ...
>> No upgrade_install_root at /home/bfarm/bf-scripts/build-farm-4.17/PGBuild/Modules/TestUpgradeXversion.pm line 51.
> Oh sorry, you also need an entry for that in the config file. Mine has:
> upgrade_install_root => '/home/bf/bfr/root/upgrade',
Yesterday's runs of prairiedog had this turned on. I'm not sure how
to interpret the output (because there isn't any, ahem), but it does
not appear that the test detected anything wrong.
I was able to demonstrate the problem, and that my patch of yesterday
fixed it, by building a table in 9.5 that was all-visible, deleting a few
widely scattered tuples, and then pg_upgrading. It wasn't that easy to
exhibit a query failure, though --- my first attempt failed because I'd
done an index-only scan in 9.5 before upgrading, and that had the side
effect of marking the index tuples dead, making the same query in HEAD
produce correct answers despite having invalid vismap state. If we wanted
a regression test, it seems like we would have to build a custom test
specifically designed to detect this type of problem, and I'm not sure
it's worth it.
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
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: <19485.1475344891@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> <5669acd9-efdc-2a0f-afea-10ba6003a050@dunslane.net> <28827.1475252675@sss.pgh.pa.us> <2491af5c-c9bf-a07d-7d42-3ef442db14e4@dunslane.net> <19485.1475344891@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