Re: Testsuite failing on s390x

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Testsuite failing on s390x
Дата
Msg-id 8664.1371048564@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Testsuite failing on s390x  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Список pgsql-odbc
Heikki Linnakangas <hlinnakangas@vmware.com> writes:
> Nope, dunno what's going on. I suspect the prepare test might be failing
> because of some mismatch between integer types. It's binding a parameter
> as SQL_C_SLONG, which means it's passed as a C variable with "signed
> long int" type. Maybe that behaves funnily on s390x.

Remember that s390 is big-endian, so integer width mismatches are more
likely to be exposed than they are on Intel hardware.  For instance,
passing a long by-reference to an integer parameter will work fine on
x86_64 and not so fine on s390x.

            regards, tom lane


В списке pgsql-odbc по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Testsuite failing on s390x
Следующее
От: Hiroshi Inoue
Дата:
Сообщение: Re: Testsuite failing on s390x