Suppressing occasional failures in copy2 regression test - Mailing list pgsql-hackers

From Tom Lane
Subject Suppressing occasional failures in copy2 regression test
Date
Msg-id 16170.1244910435@sss.pgh.pa.us
Whole thread Raw
Responses Re: Suppressing occasional failures in copy2 regression test  (Greg Stark <greg.stark@enterprisedb.com>)
List pgsql-hackers
Every so often the buildfarm shows row-ordering differences in the copy2
test, for example
http://www.pgbuildfarm.org/cgi-bin/show_log.pl?nm=jaguar&dt=2009-06-13%2003:00:02
("jaguar" seems particularly prone to this for some reason, but other
members have shown it too.)  I believe what is happening is that
autovacuum chances to trigger on the table being used, allowing some of
the updated rows to be placed in positions they're not normally placed
in.

There is a simple fix for that: change the table to be a temp table,
thus preventing autovac from touching it.

Any objections to doing that?
        regards, tom lane


pgsql-hackers by date:

Previous
From: kris@shannon.id.au
Date:
Subject: Re: PostgreSQL Developer meeting minutes up
Next
From: Greg Stark
Date:
Subject: Re: Suppressing occasional failures in copy2 regression test