Re: State of the support for the hstore ? operator

Поиск
Список
Период
Сортировка
От Albe Laurenz
Тема Re: State of the support for the hstore ? operator
Дата
Msg-id A737B7A37273E048B164557ADEF4A58B50FE70EF@ntex2010i.host.magwien.gv.at
обсуждение исходный текст
Ответ на Re: State of the support for the hstore ? operator  (Albe Laurenz <laurenz.albe@wien.gv.at>)
Список pgsql-jdbc
Laurenz Albe wrote:
> Thomas Kellerer wrote:
>> I just stumbled upon this (using postgresql-9.4-1205.jdbc42.jar)
>>
>>   Statement stmt = con.createStatement();
>>   ResultSet rs = stmt.executeQuery("select count(*) from product where attributes ? 'location_id'");
>>
>> results in
>>
>>    org.postgresql.util.PSQLException: ERROR: syntax error at or near "$1"

> I think that is a bug in org/postgresql/core/Parser: Even if "withParameters"
> is false, it parses question marks.
> 
> I'll try to come up with a patch.

Here:
https://github.com/pgjdbc/pgjdbc/pull/427

Yours,
Laurenz Albe

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

Предыдущее
От: Albe Laurenz
Дата:
Сообщение: Re: State of the support for the hstore ? operator
Следующее
От: John Harvey
Дата:
Сообщение: Has anyone tried to make a pdf of the released documents?