Re: Parsing of backslash in statements via ODBC

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: Parsing of backslash in statements via ODBC
Дата
Msg-id 20050114221932.GF1724@svana.org
обсуждение исходный текст
Ответ на Re: Parsing of backslash in statements via ODBC  ("Frank D. Engel, Jr." <fde101@fjrhome.net>)
Ответы Re: Parsing of backslash in statements via ODBC  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Fri, Jan 14, 2005 at 04:59:57PM -0500, Frank D. Engel, Jr. wrote:
> Given that this issue is a violation of SQL compatibility, shouldn't
> there really be an option to turn off interpretation of backslash
> characters in string literals as escapes?  Maybe as a session variable
> of some kind, with a default being set in postgresql.conf?

I'm not totally sure about how ODBC works, but if it's anything like
Perl DBI, surely it's the responsibility of the ODBC layer to escape
the baackslashes? Maybe it depends on whether they're using
placeholders or not...

Hope this helps,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

Вложения

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

Предыдущее
От: Jaime Casanova
Дата:
Сообщение: developers map
Следующее
От: "J. Greenlees"
Дата:
Сообщение: Re: ntfs for windows port rc5-2