Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iSdWN-00074F-K7 for pgsql-odbc@arkaria.postgresql.org; Thu, 07 Nov 2019 08:52:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iSdWL-0001wf-BW for pgsql-odbc@arkaria.postgresql.org; Thu, 07 Nov 2019 08:52:01 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iSdWL-0001wU-1K for pgsql-odbc@lists.postgresql.org; Thu, 07 Nov 2019 08:52:01 +0000 Received: from feynman.df7cb.de ([195.49.152.168]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iSdWI-0000VS-3X for pgsql-odbc@postgresql.org; Thu, 07 Nov 2019 08:51:59 +0000 Received: from msg.df7cb.de (unknown [IPv6:2003:5b:203b:100:7627:eaff:fe52:8e03]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 477xwW1lx9z3Dx3 for ; Thu, 7 Nov 2019 09:51:55 +0100 (CET) Date: Thu, 7 Nov 2019 09:51:53 +0100 From: Christoph Berg To: PostgreSQL ODBC Subject: Regression tests fail with PG12 Message-ID: <20191107085153.GA3717@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.12.2 (2019-09-21) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, the psqlodbc regression tests need updating for PG12's new floating point output format. Also, "abstime" got removed as type. *** ./expected/result-conversions.out Fri Oct 11 15:03:22 2019 --- results/result-conversions.out Thu Nov 7 09:47:19 2019 *************** *** 638,645 **** '1.234' (float4) as SQL_C_INTERVAL_HOUR_TO_MINUTE: interval sign: 0 unknown interval type: 0 '1.234' (float4) as SQL_C_INTERVAL_HOUR_TO_SECOND: interval sign: 0 unknown interval type: 0 '1.234' (float4) as SQL_C_INTERVAL_MINUTE_TO_SECOND: interval sign: 0 unknown interval type: 0 ! '1.23456789012' (float8) as SQL_C_CHAR: 1.2345678901199999 ! '1.23456789012' (float8) as SQL_C_WCHAR: 1.2345678901199999 '1.23456789012' (float8) as SQL_C_SSHORT: 1 '1.23456789012' (float8) as SQL_C_USHORT: 1 '1.23456789012' (float8) as SQL_C_SLONG: 1 --- 638,645 ---- '1.234' (float4) as SQL_C_INTERVAL_HOUR_TO_MINUTE: interval sign: 0 unknown interval type: 0 '1.234' (float4) as SQL_C_INTERVAL_HOUR_TO_SECOND: interval sign: 0 unknown interval type: 0 '1.234' (float4) as SQL_C_INTERVAL_MINUTE_TO_SECOND: interval sign: 0 unknown interval type: 0 ! '1.23456789012' (float8) as SQL_C_CHAR: 1.23456789012 ! '1.23456789012' (float8) as SQL_C_WCHAR: 1.23456789012 '1.23456789012' (float8) as SQL_C_SSHORT: 1 '1.23456789012' (float8) as SQL_C_USHORT: 1 '1.23456789012' (float8) as SQL_C_SLONG: 1 *************** *** 657,663 **** '1.23456789012' (float8) as SQL_C_VARBOOKMARK: SQLGetData failed 07006=Received an unsupported type from Postgres. '1.23456789012' (float8) as SQL_C_TYPE_TIME: h: 0 m: 0 s: 0 ! '1.23456789012' (float8) as SQL_C_NUMERIC: precision: 17 scale: 16 sign: 16 val: 7fc46a5d54dc2b000000000000000000 '1.23456789012' (float8) as SQL_C_GUID: SQLGetData failed 07006=Received an unsupported type from Postgres. '1.23456789012' (float8) as SQL_C_INTERVAL_YEAR: interval sign: 0 unknown interval type: 0 --- 657,663 ---- '1.23456789012' (float8) as SQL_C_VARBOOKMARK: SQLGetData failed 07006=Received an unsupported type from Postgres. '1.23456789012' (float8) as SQL_C_TYPE_TIME: h: 0 m: 0 s: 0 ! '1.23456789012' (float8) as SQL_C_NUMERIC: precision: 12 scale: 11 sign: 11 val: 141a99be1c0000000000000000000000 '1.23456789012' (float8) as SQL_C_GUID: SQLGetData failed 07006=Received an unsupported type from Postgres. '1.23456789012' (float8) as SQL_C_INTERVAL_YEAR: interval sign: 0 unknown interval type: 0 .... --- 674,679 ---- '1.23456789012' (float8) as SQL_C_INTERVAL_HOUR_TO_MINUTE: interval sign: 0 unknown interval type: 0 '1.23456789012' (float8) as SQL_C_INTERVAL_HOUR_TO_SECOND: interval sign: 0 unknown interval type: 0 '1.23456789012' (float8) as SQL_C_INTERVAL_MINUTE_TO_SECOND: interval sign: 0 unknown interval type: 0 ! '2011-01-14 16:49:18+03' (abstime) as SQL_C_CHAR: SQLExecDirect failed ! 42704=ERROR: type "abstime" does not exist; ! Error while executing the query Spotted by Debian's CI pipeline. https://salsa.debian.org/postgresql/psqlodbc/-/jobs/402606 Christoph