pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Shulman <shulman@math.uchicago.edu>
To: Ludek Finstrle <luf@pzkagis.cz>
Cc: pgsql-odbc@postgresql.org
Subject: Re: psqlODBC generating incorrect SQL?
Date: Thu, 23 Feb 2006 07:50:23 -0600
Message-ID: <c3f821000602230550s73a2cd2cn9804433454dffa85@mail.gmail.com> (raw)
In-Reply-To: <20060217160802.GA27499@soptik.pzkagis.cz>
References: <c3f821000602161835l57c4ceccuce514987cc01fefd@mail.gmail.com>
	<20060217115355.GA25896@soptik.pzkagis.cz>
	<c3f821000602170741h5b30868bo6e887d4e2ddc6e58@mail.gmail.com>
	<20060217160802.GA27499@soptik.pzkagis.cz>

Yes, it is very simple.  Just create a Unicode database and then try
to connect to it from an ANSI data source.

On 2/17/06, Ludek Finstrle <luf@pzkagis.cz> wrote:
> Fri, Feb 17, 2006 at 09:41:07AM -0600, Michael Shulman napsal(a):
> > On 2/17/06, Ludek Finstrle <luf@pzkagis.cz> wrote:
> > > Are you both using same psqlODBC driver (version ant type - ANSI vs.
> > > Unicode)?
> >
> > That was it!  She had it set to ANSI and mine (and the database) is
> > Unicode.  Changing hers to unicode fixes it.  Thanks!
> >
> > It would be nice if the driver could give a more informative error
> > message if this happens, though.  I never would have guessed that
> > would cause a problem like this.
>
> I tried only some shots into dark. I have no idea what's happen.
> Are you able simulate the problem on your computer? Or even better
> could you create minimalistic application which reproduce the problem
> and send it to me?
>
> Regards,
>
> Luf
>



view thread (5+ messages)

Message-ID: <c3f821000602230550s73a2cd2cn9804433454dffa85@mail.gmail.com>
Permalink:  ../c3f821000602230550s73a2cd2cn9804433454dffa85@mail.gmail.com/
Also on:    postgresql.org/message-id/c3f821000602230550s73a2cd2cn9804433454dffa85@mail.gmail.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: shulman@math.uchicago.edu, luf@pzkagis.cz
  Subject: Re: psqlODBC generating incorrect SQL?
  In-Reply-To: <c3f821000602230550s73a2cd2cn9804433454dffa85@mail.gmail.com>
  References: <c3f821000602161835l57c4ceccuce514987cc01fefd@mail.gmail.com> <20060217115355.GA25896@soptik.pzkagis.cz> <c3f821000602170741h5b30868bo6e887d4e2ddc6e58@mail.gmail.com> <20060217160802.GA27499@soptik.pzkagis.cz> <c3f821000602230550s73a2cd2cn9804433454dffa85@mail.gmail.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