Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ah1kc-0001N3-TQ for pgsql-odbc@arkaria.postgresql.org; Fri, 18 Mar 2016 21:16:07 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1ah1kc-0007Tx-8y for pgsql-odbc@arkaria.postgresql.org; Fri, 18 Mar 2016 21:16:06 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ah1kb-0007Th-PI for pgsql-odbc@postgresql.org; Fri, 18 Mar 2016 21:16:05 +0000 Received: from feynman.df7cb.de ([195.49.152.168]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ah1kX-00036j-PW for pgsql-odbc@postgresql.org; Fri, 18 Mar 2016 21:16:04 +0000 Received: from msg.df7cb.de (aftr-37-201-193-102.unity-media.net [37.201.193.102]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 3qRdLS2J1kz3F03 for ; Fri, 18 Mar 2016 22:16:00 +0100 (CET) Date: Fri, 18 Mar 2016 22:15:59 +0100 From: Christoph Berg To: PostgreSQL ODBC Subject: Regression test failures on big endian Message-ID: <20160318211558.GA7269@msg.df7cb.de> Mail-Followup-To: Christoph Berg , PostgreSQL ODBC MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-Pg-Spam-Score: -1.9 (-) 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 Hi, 09.05.0100 is failing the result-conversions tests on big endian architectures, e.g. powerpc: https://buildd.debian.org/status/fetch.php?pkg=psqlodbc&arch=powerpc&ver=1%3A09.05.0100-1&stamp=1458326445 * expected/result-conversions.out Sun Jan 10 13:25:15 2016 --- results/result-conversions.out Fri Mar 18 18:40:34 2016 *************** *** 262,270 **** '1234567' (int4) as SQL_C_UTINYINT: 135 '1234567' (int4) as SQL_C_SBIGINT: 1234567 '1234567' (int4) as SQL_C_UBIGINT: 1234567 ! '1234567' (int4) as SQL_C_BINARY: hex: 87D61200 '1234567' (int4) as SQL_C_BOOKMARK: 1234567 ! '1234567' (int4) as SQL_C_VARBOOKMARK: hex: 87D61200 '1234567' (int4) as SQL_C_TYPE_TIME: h: 0 m: 0 s: 0 '1234567' (int4) as SQL_C_NUMERIC: precision: 7 scale: 0 sign: 0 val: 87d61200000000000000000000000000 '1234567' (int4) as SQL_C_GUID: SQLGetData failed --- 262,270 ---- '1234567' (int4) as SQL_C_UTINYINT: 135 '1234567' (int4) as SQL_C_SBIGINT: 1234567 '1234567' (int4) as SQL_C_UBIGINT: 1234567 ! '1234567' (int4) as SQL_C_BINARY: hex: 0012D687 '1234567' (int4) as SQL_C_BOOKMARK: 1234567 ! '1234567' (int4) as SQL_C_VARBOOKMARK: hex: 0012D687 '1234567' (int4) as SQL_C_TYPE_TIME: h: 0 m: 0 s: 0 '1234567' (int4) as SQL_C_NUMERIC: precision: 7 scale: 0 sign: 0 val: 87d61200000000000000000000000000 '1234567' (int4) as SQL_C_GUID: SQLGetData failed *************** *** 1328,1334 **** 'foobar' (text) as SQL_C_WCHAR: fooba (truncated) 'foobar' (text) as SQL_C_WCHAR: foobar '' (text) as SQL_C_CHAR: ! '' (text) as SQL_C_WCHAR: \FF00\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF (truncated) '2011-02-15 15:49:18' (timestamp) as SQL_C_CHAR: 2011-02-15 15:49:1 (truncated) '2011-02-15 15:49:18 BC' (timestamp) as SQL_C_CHAR: 2011-02-15 15:49:18 (truncated) 'NaN' (float4) as SQL_C_FLOAT: nan --- 1328,1334 ---- 'foobar' (text) as SQL_C_WCHAR: fooba (truncated) 'foobar' (text) as SQL_C_WCHAR: foobar '' (text) as SQL_C_CHAR: ! '' (text) as SQL_C_WCHAR: \ FF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF (truncated) '2011-02-15 15:49:18' (timestamp) as SQL_C_CHAR: 2011-02-15 15:49:1 (truncated) '2011-02-15 15:49:18 BC' (timestamp) as SQL_C_CHAR: 2011-02-15 15:49:18 (truncated) 'NaN' (float4) as SQL_C_FLOAT: nan The failure pattern is always the same: https://buildd.debian.org/status/package.php?p=psqlodbc (There is an extra problem with bulkoperations on sparc64, but that might be a problem with that port. https://buildd.debian.org/status/fetch.php?pkg=psqlodbc&arch=sparc64&ver=1%3A09.05.0100-1&stamp=1458326750 ) Christoph -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc