Re: Query generates infinite loop - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Query generates infinite loop
Date
Msg-id 2459340.1651692261@sss.pgh.pa.us
Whole thread Raw
In response to Re: Query generates infinite loop  (Jeff Janes <jeff.janes@gmail.com>)
List pgsql-hackers
Jeff Janes <jeff.janes@gmail.com> writes:
> The regression test you added for this change causes an infinite loop when
> run against an unpatched server with --install-check.  That is a bit
> unpleasant.  Is there something we can and should do about that?  I was
> expecting regression test failures of course but not an infinite loop
> leading towards disk exhaustion.

We very often add regression test cases that will cause unpleasant
failures on unpatched code.  I categorically reject the idea that
that's not a good thing, and question why you think that running
known-broken code against a regression suite is an important use case.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Chris Cleveland
Date:
Subject: Atomic GetFreeIndexPage()?
Next
From: Tom Lane
Date:
Subject: Re: Atomic GetFreeIndexPage()?