From: Christoph Berg <myon@debian.org>
To: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Subject: Fix test/expected/deprecated.out for older unixodbc releases
Date: Fri, 18 Mar 2016 19:37:23 +0100
Message-ID: <20160318183722.GA30439@msg.df7cb.de> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>
Hi,
the unixodbc version in Debian wheezy and Ubuntu trusty/precise needs
an alternative test/expected/deprecated_1.out file. The diff between
the two is:
inline patch 1: test/expected/deprecated_1.out (+1/-1 lines) download inline-1.patch--- test/expected/deprecated.out 2016-01-10 14:25:14.000000000 +0100+++ test/expected/deprecated_1.out 2016-03-18 19:36:28.625344313 +0100@@ -5,7 +5,7 @@
Check for SQLGetConnectOption
Access type is: read-write
Check for SQLError
-Error check: ERROR: relation "table_not_here" does not exist;+Error check: [unixODBC]ERROR: relation "table_not_here" does not exist;
Error while executing the query
Check for SQLSetParam
Result set:
Patch attached.
Christoph
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbcAttachments:tests-alternatives (text/plain, 798B) download
--- /dev/null
+++ b/test/expected/deprecated_1.out
@@ -0,0 +1,30 @@
+Check for SQLAllocEnv
+Check for SQLAllocConnect
+Check for SQLAllocStmt
+Check for SQLSetConnectOption
+Check for SQLGetConnectOption
+Access type is: read-write
+Check for SQLError
+Error check: [unixODBC]ERROR: relation "table_not_here" does not exist;
+Error while executing the query
+Check for SQLSetParam
+Result set:
+100
+Check for SQLGetStmtOption
+Cursor type is: forward
+Check for SQLSetStmtOption
+Cursor type is: static
+Check for SQLSetScrollOptions
+Cursor type is: forward
+Check for SQLColAttributes
+Column 1: foo
+Column 2: bar
+Check for SQLParamOptions
+Status of execution
+Check for SQLFreeStmt
+Check for SQLFreeConnect
+Check for SQLFreeEnv
+connected
+Check for SQLTransact
+Result set:
+disconnecting
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: Fix test/expected/deprecated.out for older unixodbc releases
In-Reply-To: <20160318183722.GA30439@msg.df7cb.de>
References: <20160318183722.GA30439@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