> On 6 Jul 2023, at 02:19, Michael Paquier <michael@paquier.xyz> wrote:
> On Wed, Jul 05, 2023 at 07:03:56AM -0400, Tom Lane wrote:
>> Not entirely sure this is worth the effort.
>
> I am not sure either..
I can't see off the cuff that it would bring better test coverage or find bugs
relative to the effort of making it stable.
> Anyway, the buildfarm code does similar things
> already, see around $bad_module in TestUpgradeXversion.pm, for
> instance. So this kind of workaround exists already. It seems to me
> that we should try to pull that out of the buildfarm code and have
> that in the core module instead as a routine that would be used by the
> in-core TAP tests of pg_upgrade and the buildfarm code.
That however, would be a more interesting outcome.
--
Daniel Gustafsson