Re: Problems with question marks in operators (JDBC, ECPG, ...)

Поиск
Список
Период
Сортировка
От Dave Cramer
Тема Re: Problems with question marks in operators (JDBC, ECPG, ...)
Дата
Msg-id CADK3HHJLZeAuXeoAz_cGAyxao5hAR8qnp0e2HvrjALnHNXp8Zg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Problems with question marks in operators (JDBC, ECPG, ...)  (Dave Cramer <pg@fastcrypt.com>)
Ответы Re: Problems with question marks in operators (JDBC, ECPG, ...)  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-hackers
On 15 May 2015 at 16:44, Dave Cramer <pg@fastcrypt.com> wrote:


On 15 May 2015 at 16:41, Robert Haas <robertmhaas@gmail.com> wrote:
On Fri, May 15, 2015 at 4:38 PM, Dave Cramer <pg@fastcrypt.com> wrote:
>> I don't really want to take a violently strong position on this
>> without understanding what's really going on here.
>>
> Well our solution was to use ?? but that does mean we have to do some extra
> parsing which in a perfect world wouldn't be necessary.

So what about strings quoted with '' or $$ or $something$ - how would
you handle those?

We parse for strings; the ?? just adds to the parsing load which we really try to avoid.


The ?? is just harder to deal with because ? is part of the JDBC spec as a placeholder 

Dave Cramer

dave.cramer(at)credativ(dot)ca

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

Предыдущее
От: Dave Cramer
Дата:
Сообщение: Re: Problems with question marks in operators (JDBC, ECPG, ...)
Следующее
От: Bruno Harbulot
Дата:
Сообщение: Re: Problems with question marks in operators (JDBC, ECPG, ...)