Adjust regression test to avoid platform-dependent failure.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 14 Mar 2011 16:52:03 +0000 (12:52 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 14 Mar 2011 16:52:31 +0000 (12:52 -0400)
commitf12423d75a1181d75bd646869b140ba0c199fa99
treed7be118fee1965476e38461d4c4c66de321931c6
parentb051a34fd8877635186ed84a857f2f38cd059468
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.
src/test/regress/expected/polymorphism.out
src/test/regress/sql/polymorphism.sql