Skip site navigation (1) Skip section navigation (2)

Re: pg_upgrade automatic testing

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_upgrade automatic testing
Date: 2011-04-27 18:32:16
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
On tor, 2011-04-07 at 23:02 +0300, Peter Eisentraut wrote:
> Seeing that 9.1-to-9.1 pg_upgrade has apparently been broken for months,
> it would probably be good to have some kind of automatic testing for it.
> Attached is something I hacked together that at least exposes the
> current problems, easily available by typing "make check" and waiting.
> It does not yet fully implement the full testing procedure in the
> TESTING file, in particular the diffing of the dumps (well, because you
> can't get there yet).
> Is that something that people are interested in refining?
> (I think it would even be possible under this setup to create special
> regression test cases that are only run under the pg_upgrade test run,
> to exercise particularly tricky upgrade cases.)

Now that this is bound to be fixed, here is an updated script that runs
the entire test procedure including diffing the dumps at the end.

Attachment: pgupgrade-check.patch
Description: text/x-patch (1.6 KB)

In response to


pgsql-hackers by date

Next:From: Peter EisentrautDate: 2011-04-27 18:40:22
Subject: Re: alpha5
Previous:From: Magnus HaganderDate: 2011-04-27 18:31:37
Subject: Re: timeline garbage in pg_basebackup (was gcc 4.6 warnings -Wunused-but-set-variable)

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group