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: Improve stability of identity.sql regression test.
Date: Mon, 05 Oct 2020 00:46:36 +0000
Message-ID: <E1kPEeC-00055U-F3@gemulon.postgresql.org> (raw)

Improve stability of identity.sql regression test.

I noticed while trying to run the regression tests under a low
geqo_threshold that one query on information_schema.columns had
unstable (as in, variable from one run to the next) output order.
This is pretty unsurprising given the complexity of the underlying
plan.  Interestingly, of this test's three nigh-identical queries on
information_schema.columns, the other two already had ORDER BY clauses
guaranteeing stable output.  Let's make this one look the same.

Back-patch to v10 where this test was added.  We've not heard field
reports of the test failing, but this experience shows that it can
happen when testing under even slightly unusual conditions.

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/5856ed1099d9288a7cee20cff9f95831a96add1c

Modified Files
--------------
src/test/regress/expected/identity.out | 2 +-
src/test/regress/sql/identity.sql      | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)



view thread (5+ messages)  latest in thread

Message-ID: <E1kPEeC-00055U-F3@gemulon.postgresql.org>
Permalink:  ../E1kPEeC-00055U-F3@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1kPEeC-00055U-F3@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: Improve stability of identity.sql regression test.
  In-Reply-To: <E1kPEeC-00055U-F3@gemulon.postgresql.org>
  References: <E1kPEeC-00055U-F3@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