pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Still another try at stabilizing stats_ext test results.
Date: Tue, 31 Mar 2020 20:09:41 +0000
Message-ID: <E1jJNCf-00045H-5B@gemulon.postgresql.org> (raw)

Still another try at stabilizing stats_ext test results.

The stats_ext test is not expecting that autovacuum will touch
any of its tables; an expectation falsified by commit b07642dbc.
Although I'm suspicious that there's something else going on that
makes extended stats estimates not 100% reproducible, it's pretty
easy to demonstrate that there are places in this test that fail
if an autovacuum updates the table's stats unexpectedly.

Hence, revert the band-aid changes made by 2dc16efed and 24566b359
in favor of summarily disabling autovacuum for all the tables that
this test checks estimated rowcounts for.

Also remove an evidently obsolete comment at the head of the test.

Discussion: https://postgr.es/m/15012.1585623298@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0936d1b6ffc6d59b4d17f3d6e53c036110c02b44

Modified Files
--------------
src/test/regress/expected/stats_ext.out | 54 +++++++++++++++++++-------------
src/test/regress/sql/stats_ext.sql      | 55 ++++++++++++++++++++-------------
2 files changed, 65 insertions(+), 44 deletions(-)



Message-ID: <E1jJNCf-00045H-5B@gemulon.postgresql.org>
Permalink:  ../E1jJNCf-00045H-5B@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1jJNCf-00045H-5B@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: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Still another try at stabilizing stats_ext test results.
  In-Reply-To: <E1jJNCf-00045H-5B@gemulon.postgresql.org>
  References: <E1jJNCf-00045H-5B@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