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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Adjust regression test to avoid platform-dependent failure.
Date: 2011-03-14 16:52:38
Message-ID: E1PzB0Y-0006m3-OZ@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2011-03-14 18:52:26 pgsql: Remove special case allowing parameters to ident auth for initdb
Previous Message Bruce Momjian 2011-03-14 14:40:43 pgsql: Remove duplicate time-based macros recently added.