Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UmmMi-0002wU-7W for pgsql-odbc@arkaria.postgresql.org; Wed, 12 Jun 2013 14:49:36 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UmmMh-0004ad-Mq for pgsql-odbc@arkaria.postgresql.org; Wed, 12 Jun 2013 14:49:35 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UmmMg-0004aX-Ra for pgsql-odbc@postgresql.org; Wed, 12 Jun 2013 14:49:35 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UmmMa-0007OK-VO for pgsql-odbc@postgresql.org; Wed, 12 Jun 2013 14:49:34 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id r5CEnOrE008665; Wed, 12 Jun 2013 10:49:24 -0400 (EDT) From: Tom Lane To: Heikki Linnakangas cc: Christoph Berg , PostgreSQL ODBC Subject: Re: Testsuite failing on s390x In-reply-to: <51B8886C.9000602@vmware.com> References: <20130612104756.GB14328@msgid.df7cb.de> <51B8886C.9000602@vmware.com> Comments: In-reply-to Heikki Linnakangas message dated "Wed, 12 Jun 2013 17:40:44 +0300" Date: Wed, 12 Jun 2013 10:49:24 -0400 Message-ID: <8664.1371048564@sss.pgh.pa.us> X-Pg-Spam-Score: 0.6 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org Heikki Linnakangas 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