Re: pg_upgrade automatic testing
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Magnus Hagander <magnus@hagander.net>
Cc: Peter Eisentraut <peter_e@gmx.net>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2011-08-30T20:44:11Z
Lists: pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes: > On Tue, Aug 30, 2011 at 22:25, Tom Lane <tgl@sss.pgh.pa.us> wrote: >> How can we improve things here? I've toyed with the idea of installing >> pg_regress.so so that we can refer to it relative to $libdir, but that >> might be a bit invasive, especially if we were to try to back-patch it >> as far as 8.3. > Would turning pg_regress.so into an extension and using that way fix > it? That won't help for the 9.0->9.1 stage, but it would for > 9.1->9.2... Not really excited about that. The contrib regression tests already exercise the extension functionality, so making pg_regress.so into another one would just reduce the number of code paths being covered. In any case, if we don't find a way to allow automated testing of pg_upgrade from the pre-9.1 versions, we have not fixed the problem. regards, tom lane