pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christoph Berg <myon@debian.org>
To: Inoue, Hiroshi <h-inoue@dream.email.ne.jp>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Regression test failures on big endian
Date: Tue, 5 Apr 2016 10:28:31 +0200
Message-ID: <20160405082831.GA4327@msg.df7cb.de> (raw)
In-Reply-To: <5702F6C6.6010707@dream.email.ne.jp>
References: <20160318211558.GA7269@msg.df7cb.de>
	<20160402220602.GB2042@msg.df7cb.de>
	<5702F6C6.6010707@dream.email.ne.jp>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

Re: Inoue, Hiroshi 2016-04-05 <5702F6C6.6010707@dream.email.ne.jp>
> Hi Christoph,
> 
> Sorry for the late reply.

Thanks for the reply :)

> >>! '1234567' (int4) as SQL_C_BINARY: hex: 87D61200
> >>! '1234567' (int4) as SQL_C_BINARY: hex: 0012D687
> 
> The difference above is a natural outcome from the difference of endianness.

Ah, on a second look that's indeed the case. I'll blame myself for
still not being comfortable with reading "context" diffs where
original and changed version are way apart.

Thanks for confirming this is an expected change. I'll proceed to
submit some _1.out files.

> >>! '' (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)
> >>! '' (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)
> 
> The difference above means that encoding of Unicode is UTF-16LE whichever
> the endianness is.

Ew. There should be a law forbidding everything except UTF-8 :)

> Is it as you expected?

Thanks for the confirmation!

Christoph


-- 
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 (8+ messages)  latest in thread

Message-ID: <20160405082831.GA4327@msg.df7cb.de>
Permalink:  ../20160405082831.GA4327@msg.df7cb.de/
Also on:    postgresql.org/message-id/20160405082831.GA4327@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, h-inoue@dream.email.ne.jp
  Subject: Re: Regression test failures on big endian
  In-Reply-To: <20160405082831.GA4327@msg.df7cb.de>
  References: <20160318211558.GA7269@msg.df7cb.de> <20160402220602.GB2042@msg.df7cb.de> <5702F6C6.6010707@dream.email.ne.jp> <20160405082831.GA4327@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