Problems Escaping quotes by backslash with PsqlODBC - Mailing list pgsql-interfaces

From Walter, Gregor
Subject Problems Escaping quotes by backslash with PsqlODBC
Date
Msg-id F7DE1390D677D2118EFB0008C7A4335023A9C1@DESDC01
Whole thread Raw
List pgsql-interfaces
hi,

I am using the pgadmin windows tool with the latest PsqlODBC drivers.
The problem seems to be, that running a query with escaped quotes like
[Select * from test where xyz like 'pete\'s cafe'] doesnt work, but
using 2 single quotes works: [Select * from test where xyz like 'pete''s
cafe'].
But I can run both queries on the psql command line interface on linux.

Can this be a problem with the ODBC or is there a setting that can be
changed to also allow both ways?

thanks,
Gregor Walter
GW@Globalfulfillment.com


pgsql-interfaces by date:

Previous
From: Byron Nikolaidis
Date:
Subject: Re: query from Murty
Next
From: Peter Mount
Date:
Subject: RE: ODBC and crypted passwords