pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ludek Finstrle <luf@pzkagis.cz>
To: Michael Shulman <shulman@math.uchicago.edu>
Cc: pgsql-odbc@postgresql.org
Subject: Re: psqlODBC generating incorrect SQL?
Date: Fri, 17 Feb 2006 12:53:55 +0100
Message-ID: <20060217115355.GA25896@soptik.pzkagis.cz> (raw)
In-Reply-To: <c3f821000602161835l57c4ceccuce514987cc01fefd@mail.gmail.com>
References: <c3f821000602161835l57c4ceccuce514987cc01fefd@mail.gmail.com>

> Can anyone think of a reason that the windows psqlODBC driver would
> generate SQL that doesn't quote strings correctly?  I am seeing lines
> in psqlodbc_xxxx.log that begin like:

It seems to me that psqlODBC means it is another type.

> UPDATE "public"."application" SET "decision"=?  WHERE ...

It uses binding parameters. Nothing new. I don't know what leads to
the problem.

> by filling in parameters, so it seems to me that it is the driver that
> is at fault, since it must have filled in the parameters.

Maybe driver or something another doesn't work correctly.
What's the decision column type?

> I'm very confused about how this could be happening.  It doesn't
> happen on my computer, only on one of my users' computers, running the
> latest version of psqlODBC in Windows XP. Any suggestions would be
> greatly appreciated!

It could be interesting to see mylog outputs (from your computer - the
correct one and from user's comupter - the faulty one).
Maybe you don't have same connection options.
Are you both using same psqlODBC driver (version ant type - ANSI vs.
Unicode)?
And what about backends, ...?

Regards,

Luf



view thread (5+ messages)  latest in thread

Message-ID: <20060217115355.GA25896@soptik.pzkagis.cz>
Permalink:  ../20060217115355.GA25896@soptik.pzkagis.cz/
Also on:    postgresql.org/message-id/20060217115355.GA25896@soptik.pzkagis.cz

 · 

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: luf@pzkagis.cz, shulman@math.uchicago.edu
  Subject: Re: psqlODBC generating incorrect SQL?
  In-Reply-To: <20060217115355.GA25896@soptik.pzkagis.cz>
  References: <c3f821000602161835l57c4ceccuce514987cc01fefd@mail.gmail.com> <20060217115355.GA25896@soptik.pzkagis.cz>

* 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