problem with _ character - Mailing list pgsql-odbc

From Pierre Couderc
Subject problem with _ character
Date
Msg-id 9f7bc2b3-83df-e2c5-cdd9-3164afdddfb6@couderc.eu
Whole thread Raw
Responses Re: problem with _ character
Re: problem with _ character
Re: problem with _ character
List pgsql-odbc
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




pgsql-odbc by date:

Previous
From: Clemens Ladisch
Date:
Subject: Re: Reported lengths of char fields - psqlODBC
Next
From: Clemens Ladisch
Date:
Subject: Re: problem with _ character