[ psqlodbc-Bugs-1000488 ] Dollar quoting and '?' in string cause unexpected error.
В списке pgsql-odbc по дате отправления:
| От | |
|---|---|
| Тема | [ psqlodbc-Bugs-1000488 ] Dollar quoting and '?' in string cause unexpected error. |
| Дата | |
| Msg-id | 20051216153153.B39401125070@pgfoundry.org обсуждение исходный текст |
| Список | pgsql-odbc |
Bugs item #1000488, was opened at 16/12/2005 15:31 You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000488&group_id=1000125 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: Dollar quoting and '?' in string cause unexpected error. Initial Comment: Trying a command like the following one on VB5: CurrentConnection.Execute "update mytable set myfield=$_$?$_$;", lAffected I got this error: The # of binded parameters < the # of parameter markers The error seems caused by a '?' anywhere in the string, when using dollar quoting. If I escape the '?', like: CurrentConnection.Execute "update mytable set myfield=$_$\?$_$;", lAffected the command works, but the field in the table will contain '\?'. I'm using psqlodbc-08_01_0102 on a Windows 2003 server, with postgresql 8.0.3 on a Ubuntu Linux box. ---------------------------------------------------------------------- You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000488&group_id=1000125
В списке pgsql-odbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера