pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Pierre Couderc <pierre@couderc.eu>
To: pgsql-odbc@postgresql.org
Subject: problem with _ character
Date: Wed, 20 Feb 2019 11:42:50 +0100
Message-ID: <9f7bc2b3-83df-e2c5-cdd9-3164afdddfb6@couderc.eu> (raw)

Hello,

I am using ANSI odbc driver (11.0) on a W10  with a utf8 DB trying to :

SELECT * FROM table WHERE (name = ?);

with a name including a '_' character : '1170332_381-P364'

In the postgresql server logs, I see that it has been replaced with 
'1170332[_]381-P364' and my query fails.

How should I do ?

Thanks.

PC






view thread (7+ messages)  latest in thread

Message-ID: <9f7bc2b3-83df-e2c5-cdd9-3164afdddfb6@couderc.eu>
Permalink:  ../9f7bc2b3-83df-e2c5-cdd9-3164afdddfb6@couderc.eu/
Also on:    postgresql.org/message-id/9f7bc2b3-83df-e2c5-cdd9-3164afdddfb6@couderc.eu

 · 

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: pierre@couderc.eu
  Subject: Re: problem with _ character
  In-Reply-To: <9f7bc2b3-83df-e2c5-cdd9-3164afdddfb6@couderc.eu>
  References: <9f7bc2b3-83df-e2c5-cdd9-3164afdddfb6@couderc.eu>

* 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