pgsql: Fix race condition in parallel regression tests. - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Fix race condition in parallel regression tests.
Date
Msg-id 20070316161149.802D69FBA53@postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Fix race condition in parallel regression tests.  The new plancache test
was expecting there to be no regular table named 'foo', but it turns out
the rules test transiently creates one, so that plancache would sometimes
fail.  I couldn't reproduce that in quite a few tries here, but several
buildfarm machines have shown the failure.  Fix by renaming plancache's
temp table to something nonconflicting.

Modified Files:
--------------
    pgsql/src/test/regress/expected:
        plancache.out (r1.2 -> r1.3)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/expected/plancache.out.diff?r1=1.2&r2=1.3)
    pgsql/src/test/regress/sql:
        plancache.sql (r1.2 -> r1.3)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/sql/plancache.sql.diff?r1=1.2&r2=1.3)

pgsql-committers by date:

Previous
From: alvherre@postgresql.org (Alvaro Herrera)
Date:
Subject: pgsql: Fix uninitialized value in pgstatindex leading to invalid values
Next
From: mha@postgresql.org (Magnus Hagander)
Date:
Subject: pgsql: Add new columns for tuple statistics on a database level to