pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Heikki Linnakangas <hlinnakangas@vmware.com>
Cc: Christoph Berg <cb@df7cb.de>
Cc: PostgreSQL ODBC <pgsql-odbc@postgresql.org>
Subject: Re: Testsuite failing on s390x
Date: Wed, 12 Jun 2013 10:49:24 -0400
Message-ID: <8664.1371048564@sss.pgh.pa.us> (raw)
In-Reply-To: <51B8886C.9000602@vmware.com>
References: <20130612104756.GB14328@msgid.df7cb.de>
	<51B8886C.9000602@vmware.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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


-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



view thread (5+ messages)  latest in thread

Message-ID: <8664.1371048564@sss.pgh.pa.us>
Permalink:  ../8664.1371048564@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/8664.1371048564@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: tgl@sss.pgh.pa.us, hlinnakangas@vmware.com, cb@df7cb.de
  Subject: Re: Testsuite failing on s390x
  In-Reply-To: <8664.1371048564@sss.pgh.pa.us>
  References: <20130612104756.GB14328@msgid.df7cb.de> <51B8886C.9000602@vmware.com> <8664.1371048564@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox