Re: Alias hstore's ? to ~ so that it works with JDBC

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: Alias hstore's ? to ~ so that it works with JDBC
Дата
Msg-id CAHyXU0zstU7FKiJQbYjYa_h4v_wh1UAwGHtQg-3MsbOSS3Hm9Q@mail.gmail.com
обсуждение исходный текст
Ответ на Alias hstore's ? to ~ so that it works with JDBC  (Seamus Abshere <seamus@abshere.net>)
Ответы Re: Alias hstore's ? to ~ so that it works with JDBC
Список pgsql-hackers
On Tue, Feb 5, 2013 at 11:29 AM, Seamus Abshere <seamus@abshere.net> wrote:
> hi,
>
> As reported in BUG #7715 [1], hstore's use of ? as an operator conflicts
> with JDBC's bind variables.
>
> I think we could just alias ? to ~ and tell JDBC users to use that instead.
> [2]

This is not a bug with postgres, but with java/JDBC. There are many
operators that use '?' besides hstore and JDBC should allow for
escaping out of its statement interpretation.

merlin



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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Fast promote mode skips checkpoint at end of recovery.
Следующее
От: Robert Haas
Дата:
Сообщение: Re: sql_drop Event Trigger