Re: postgresql, odbc and escape characters?

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: postgresql, odbc and escape characters?
Дата
Msg-id 200408270944.59419.peter_e@gmx.net
обсуждение исходный текст
Ответ на postgresql, odbc and escape characters?  (Kristian Rink <krink@pm-planc.de>)
Ответы Re: postgresql, odbc and escape characters?  (Kristian Rink <krink@pm-planc.de>)
Список 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/


В списке pgsql-general по дате отправления:

Предыдущее
От: Kristian Rink
Дата:
Сообщение: postgresql, odbc and escape characters?
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: Creating Functions in Separate Schema