pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christoph Berg <myon@debian.org>
To: PostgreSQL ODBC <pgsql-odbc@postgresql.org>
Subject: Regression tests fail with PG12
Date: Thu, 7 Nov 2019 09:51:53 +0100
Message-ID: <20191107085153.GA3717@msg.df7cb.de> (raw)

Hi,

the psqlodbc regression tests need updating for PG12's new floating
point output format. Also, "abstime" got removed as type.

inline patch 1: results/result-conversions.out (+3/-3 lines) download inline-1.patch*** ./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

view thread (5+ messages)  latest in thread

Message-ID: <20191107085153.GA3717@msg.df7cb.de>
Permalink:  ../20191107085153.GA3717@msg.df7cb.de/
Also on:    postgresql.org/message-id/20191107085153.GA3717@msg.df7cb.de

 ·  · 

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: myon@debian.org
  Subject: Re: Regression tests fail with PG12
  In-Reply-To: <20191107085153.GA3717@msg.df7cb.de>
  References: <20191107085153.GA3717@msg.df7cb.de>

* 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