Обсуждение: pgsql: Adjust regression test to avoid platform-dependent failure.

Поиск
Список
Период
Сортировка

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

От
Tom Lane
Дата:
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(-)