Re: postgresql, odbc and escape characters?

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Kristian Rink <krink(at)pm-planc(dot)de>, pgsql-general(at)postgresql(dot)org
Subject: Re: postgresql, odbc and escape characters?
Date: 2004-08-27 07:44:59
Message-ID: 200408270944.59419.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Kristian Rink wrote:
> For what I understood (and what sounds logical to me, looking at
> those things are handled in unix environments), the \' in "escape
> '\'" is parsed as an escaped ' char, so in the end the query fails
> because of a missing string termination.
>
> Question: Is there any way to modify the behavior of postgresql
> server itself or of the odbc driver to deal with things like that?

No. Just pick a different escape character or double the backslash.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2004-08-27 07:57:24 Re: Creating Functions in Separate Schema
Previous Message Kristian Rink 2004-08-27 06:31:50 postgresql, odbc and escape characters?