pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Stephen Frost <sfrost@snowman.net>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@postgreSQL.org
Subject: Re: ALTER TABLE lock downgrades have broken pg_upgrade
Date: Wed, 11 May 2016 09:40:09 -0400
Message-ID: <cddab88a-3a2b-cc78-9107-78af1ab33f7d@2ndquadrant.com> (raw)
In-Reply-To: <20160503172541.GA31942@alvherre.pgsql>
References: <20160503172541.GA31942@alvherre.pgsql>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

On 5/3/16 1:25 PM, Alvaro Herrera wrote:
> If we can put together a script that runs test.sh for various versions
> and then verifies the runs, we could use it in both buildfarm and
> coverage.

Not that that would be useless, but note that the value in this case 
(and most others) comes from having a candidate object in the database 
before upgrade that exercises the particular problem, mostly independent 
of what version you upgrade from and to.  So far the way to do that is 
to leave "junk" in the regression test database, but that's clearly a 
bit silly.

I think the way forward is to create a TAP test suite for pg_upgrade 
that specifically exercises a lot of scenarios with small purpose-built 
test databases.

Then, the problem of having to compare dump output across versions also 
goes away more easily.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
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 (27+ messages)  latest in thread

Message-ID: <cddab88a-3a2b-cc78-9107-78af1ab33f7d@2ndquadrant.com>
Permalink:  ../cddab88a-3a2b-cc78-9107-78af1ab33f7d@2ndquadrant.com/
Also on:    postgresql.org/message-id/cddab88a-3a2b-cc78-9107-78af1ab33f7d@2ndquadrant.com

 · 

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-hackers@postgresql.org
  Cc: peter.eisentraut@2ndquadrant.com, alvherre@2ndquadrant.com, sfrost@snowman.net, tgl@sss.pgh.pa.us
  Subject: Re: ALTER TABLE lock downgrades have broken pg_upgrade
  In-Reply-To: <cddab88a-3a2b-cc78-9107-78af1ab33f7d@2ndquadrant.com>
  References: <20160503172541.GA31942@alvherre.pgsql> <cddab88a-3a2b-cc78-9107-78af1ab33f7d@2ndquadrant.com>

* 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