pgsql: Adjust regression test to avoid platform-dependent failure. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Adjust regression test to avoid platform-dependent failure.
Date
Msg-id E1PzB0Y-0006m3-OZ@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Adjust regression test to avoid platform-dependent failure.

We have a test that verifies that max(anyarray) will cope if the array
column elements aren't all the same array type.  However, it's now possible
for that to produce a collation-related error message instead of the
expected one, if the first two column elements happen to be of the same
type and it's one that expects to be given collation info.  Tweak the test
to ensure this doesn't happen.  Per buildfarm member pika.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/f12423d75a1181d75bd646869b140ba0c199fa99

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


pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: pgsql: Remove duplicate time-based macros recently added.
Next
From: Magnus Hagander
Date:
Subject: pgsql: Remove special case allowing parameters to ident auth for initdb