pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <hlinnakangas@vmware.com>
To: Christoph Berg <christoph.berg@credativ.de>
To: PostgreSQL ODBC <pgsql-odbc@postgresql.org>
To: psqlodbc@packages.debian.org
Subject: Re: 09.03.0100 cursor failures on various architectures
Date: Thu, 13 Feb 2014 22:39:32 +0200
Message-ID: <52FD2D84.8020601@vmware.com> (raw)
In-Reply-To: <20140212104524.GA4409@msgid.credativ.de>
References: <20140212104524.GA4409@msgid.credativ.de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

On 02/12/2014 12:45 PM, Christoph Berg wrote:
> I've uploaded 09.03.0100 to Debian, but the build daemons for various
> architectures are reporting regression test failures for the "cursors"
> test, e.g. on mipsel:
>[...]
> The problem is the same on mips, mipsel, powerpc, s390x, and sparc.

It was a bug in the cursors test case. It was passing pointer to an 
SQLUINTEGER variable to SQLGetInfo(..., SQL_CURSOR_COMMIT_BEHAVIOR, 
...), but that property is a SQLUSMALLINT. On a little-endian system it 
didn't make a difference, as SQLGetInfo set the low 2 bytes, but on 
big-endian it's more visible.

Fixed, thanks for the report!

> s390x has that problem, plus an additional diff for positioned-update:
>
> *** /«PKGBUILDDIR»/test/expected/positioned-update.out	Tue Dec 17 14:16:00 2013
> --- /«PKGBUILDDIR»/test/results/positioned-update.out	Wed Feb  5 17:09:31 2014
> ***************
> *** 13,19 ****
>    2	2
>    3	3
>    4	4
> ! 105	5
>    7	7
>    8	8
>    9	9
> --- 13,19 ----
>    2	2
>    3	3
>    4	4
> ! 5	5
>    7	7
>    8	8
>    9	9

Hmm. I'll take a look..

- Heikki


-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



view thread (14+ messages)  latest in thread

Message-ID: <52FD2D84.8020601@vmware.com>
Permalink:  ../52FD2D84.8020601@vmware.com/
Also on:    postgresql.org/message-id/52FD2D84.8020601@vmware.com

 · 

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: hlinnakangas@vmware.com, christoph.berg@credativ.de, psqlodbc@packages.debian.org
  Subject: Re: 09.03.0100 cursor failures on various architectures
  In-Reply-To: <52FD2D84.8020601@vmware.com>
  References: <20140212104524.GA4409@msgid.credativ.de> <52FD2D84.8020601@vmware.com>

* 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