pgsql: Fix random regression failure in test case "collate.icu.utf8"

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix random regression failure in test case "collate.icu.utf8"
Date: 2019-08-14 04:38:44
Message-ID: E1hxl3c-0004GJ-AL@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix random regression failure in test case "collate.icu.utf8"

This is a fix similar to 2d7d67cc, where slight plan alteration can
cause a random failure of this regression test because of an incorect
tuple ordering, except that this one involves lookups of pg_type.
Similarly to the other case, add ORDER BY clauses to ensure the output
order.

The failure has been seen at least once on buildfarm member skink.

Reported-by: Thomas Munro
Discussion: https://postgr.es/m/CA+hUKGLjR9ZBvhXcr9b-NSBHPw9aRgbjyzGE+kqLsT4vwX+nkQ@mail.gmail.com
Backpatch-through: 12

Branch
------
REL_12_STABLE

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

Modified Files
--------------
src/test/regress/expected/collate.icu.utf8.out | 6 ++++--
src/test/regress/sql/collate.icu.utf8.sql | 6 ++++--
2 files changed, 8 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2019-08-14 04:53:07 pgsql: initdb: Remove obsolete locale handling
Previous Message Peter Geoghegan 2019-08-14 00:17:29 pgsql: Remove obsolete nbtree README commentary.