Re: Problems with question marks in operators (JDBC, ECPG, ...) - Mailing list pgsql-hackers

From Dave Cramer
Subject Re: Problems with question marks in operators (JDBC, ECPG, ...)
Date
Msg-id CADK3HHKLT3bP=0oTwU+OvKpT=97AzWXKSB4630JJJWYUugfHfQ@mail.gmail.com
Whole thread Raw
In response to Re: Problems with question marks in operators (JDBC, ECPG, ...)  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Problems with question marks in operators (JDBC, ECPG, ...)  (Dave Cramer <pg@fastcrypt.com>)
List pgsql-hackers


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.


Dave Cramer

dave.cramer(at)credativ(dot)ca

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Problems with question marks in operators (JDBC, ECPG, ...)
Next
From: Dave Cramer
Date:
Subject: Re: Problems with question marks in operators (JDBC, ECPG, ...)