Re: Autovacuum-induced regression test instability

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Autovacuum-induced regression test instability
Date: 2019-04-16 15:08:06
Message-ID: 28186.1555427286@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Michael Paquier <michael(at)paquier(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Masahiko Sawada 2019-04-16 15:25:10 Re: New vacuum option to do only freezing
Previous Message Alvaro Herrera 2019-04-16 14:54:34 Re: New vacuum option to do only freezing