| От | Seamus Abshere |
|---|---|
| Тема | Re: Alias hstore's ? to ~ so that it works with JDBC |
| Дата | |
| Msg-id | 51192D7A.7070203@abshere.net обсуждение исходный текст |
| Ответ на | Re: Alias hstore's ? to ~ so that it works with JDBC (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-hackers |
On 2/11/13 11:30 AM, Tom Lane wrote: > It would take extremely deep knowledge of SQL syntax for the driver to > reliably tell the difference between a variable and an operator Yes, auto-detecting the difference between bind vars and operators would probably be even more difficult than providing escapes for ?, the difficulty of which Kris pointed out earlier: On 2/8/13 at 10:43AM Kris Jurka wrote: > This will be more complicated than you might hope because the escape processing currently happens prior to bind parameterdetection The relevant section, I believe, is: https://github.com/pgjdbc/pgjdbc/blob/master/org/postgresql/core/v3/QueryExecutorImpl.java#L164 Best, Seamus PS. Thanks Andrew for reminding me about top-posting :)
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера