Re: Autovacuum-induced regression test instability - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Autovacuum-induced regression test instability
Date
Msg-id 28186.1555427286@sss.pgh.pa.us
Whole thread Raw
In response to Re: Autovacuum-induced regression test instability  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
Michael Paquier <michael@paquier.xyz> writes:
> Aren't extra ORDER BY clauses the usual response to tuple ordering?  I
> really think that we should be more aggressive with that.

I'm not excited about that.  The traditional argument against it
is that if we start testing ORDER BY queries exclusively (and it
would have to be pretty nearly exclusively, if we were to take
this seriously) then we'll lack test coverage for queries without
ORDER BY.  Also, regardless of whether you think that regression
test results can be kicked around at will, we are certainly going
to hear complaints from users if traditional behaviors like
"inserting N rows into a new table, then selecting them, gives
those rows back in the same order" go away.  Recall that we had
to provide a way to disable the syncscan optimization because
some users complained about the loss of row-ordering consistency.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: New vacuum option to do only freezing
Next
From: Masahiko Sawada
Date:
Subject: Re: New vacuum option to do only freezing