]> granicus.if.org Git - postgresql/commit
Fix intermittent self-test failures caused by the stats_ext test.
authorDean Rasheed <dean.a.rasheed@gmail.com>
Sun, 15 Sep 2019 12:13:59 +0000 (13:13 +0100)
committerDean Rasheed <dean.a.rasheed@gmail.com>
Sun, 15 Sep 2019 12:13:59 +0000 (13:13 +0100)
commit3d9a3ef5cbfc70bd2802c3f0da3fbc4e5abdf377
treee4d804b83dc17fc3a5c5308c93d29e76b414feea
parent87e9fae0696d9e3ff70a1438775ad9f786b854a5
Fix intermittent self-test failures caused by the stats_ext test.

Commit d7f8d26d9 added new tests to the stats_ext regression test that
included creating a view in the public schema, without realising that
the stats_ext test runs in the same parallel group as the rules test,
which makes doing that unsafe.

This led to intermittent failures of the rules test on the buildfarm,
although I wasn't able to reproduce that locally. Fix by creating the
view in a different schema.

Tomas Vondra and Dean Rasheed, report and diagnosis by Thomas Munro.

Discussion: https://postgr.es/m/CA+hUKGKX9hFZrYA7rQzAMRE07L4hziCc-nO_b3taJpiuKyLLxg@mail.gmail.com
src/test/regress/expected/stats_ext.out
src/test/regress/sql/stats_ext.sql