Problems Escaping quotes by backslash with PsqlODBC

From: "Walter, Gregor" <GW(at)GlobalFulfillment(dot)com>
To: "'pgsql-interfaces(at)postgresql(dot)org'" <pgsql-interfaces(at)postgresql(dot)org>
Subject: Problems Escaping quotes by backslash with PsqlODBC
Date: 2000-04-11 09:31:19
Message-ID: F7DE1390D677D2118EFB0008C7A4335023A9C1@DESDC01
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)Globalfulfillment(dot)com

Browse pgsql-interfaces by date

  From Date Subject
Next Message Peter Mount 2000-04-11 09:49:19 RE: ODBC and crypted passwords
Previous Message Byron Nikolaidis 2000-04-11 03:50:29 Re: query from Murty