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

From: Dave Cramer <pg(at)fastcrypt(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Bruno Harbulot <bruno(at)distributedmatter(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Problems with question marks in operators (JDBC, ECPG, ...)
Date: 2015-05-15 20:45:52
Message-ID: CADK3HHJLZeAuXeoAz_cGAyxao5hAR8qnp0e2HvrjALnHNXp8Zg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 15 May 2015 at 16:44, Dave Cramer <pg(at)fastcrypt(dot)com> wrote:

>
>
> On 15 May 2015 at 16:41, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
>
>> On Fri, May 15, 2015 at 4:38 PM, Dave Cramer <pg(at)fastcrypt(dot)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
> http://www.credativ.ca
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruno Harbulot 2015-05-15 20:58:03 Re: Problems with question marks in operators (JDBC, ECPG, ...)
Previous Message Dave Cramer 2015-05-15 20:44:33 Re: Problems with question marks in operators (JDBC, ECPG, ...)