pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dean Rasheed <dean.a.rasheed@gmail.com>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix intermittent self-test failures caused by the stats_ext test
Date: Sun, 15 Sep 2019 12:23:06 +0000
Message-ID: <E1i9TYY-0004bb-WC@gemulon.postgresql.org> (raw)

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

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/5576cbc8ff1f8b34e519e54ef43de68ed1b2f93e

Modified Files
--------------
src/test/regress/expected/stats_ext.out | 42 ++++++++++++++++++---------------
src/test/regress/sql/stats_ext.sql      | 40 ++++++++++++++++---------------
2 files changed, 44 insertions(+), 38 deletions(-)



view thread (2+ messages)  latest in thread

Message-ID: <E1i9TYY-0004bb-WC@gemulon.postgresql.org>
Permalink:  ../E1i9TYY-0004bb-WC@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1i9TYY-0004bb-WC@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: dean.a.rasheed@gmail.com
  Subject: Re: pgsql: Fix intermittent self-test failures caused by the stats_ext test
  In-Reply-To: <E1i9TYY-0004bb-WC@gemulon.postgresql.org>
  References: <E1i9TYY-0004bb-WC@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox