pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexander Korotkov <akorotkov@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Provide deterministic order for catalog queries in partition_spl
Date: Sun, 26 May 2024 03:47:33 +0000
Message-ID: <E1sB4r7-001nCv-IO@gemulon.postgresql.org> (raw)

Provide deterministic order for catalog queries in partition_split.sql

System catalog tables are subject to modification by parallel tests.  This
is the source of instability when querying them without explicit ORDER BY.
This commit adds explicit ORDER BY to system catalog queries in
partition_split.sql to stabilize the result.

Reported-by: Tom Lane
Discussion: https://postgr.es/m/695264.1716578979%40sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d53a4286d772c50ad7a8ff72ca637de613532592

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



Message-ID: <E1sB4r7-001nCv-IO@gemulon.postgresql.org>
Permalink:  ../E1sB4r7-001nCv-IO@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1sB4r7-001nCv-IO@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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: akorotkov@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Provide deterministic order for catalog queries in partition_spl
  In-Reply-To: <E1sB4r7-001nCv-IO@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