Re: Escaping issues with queries using the `?` operator

Поиск
Список
Период
Сортировка
От Inoue, Hiroshi
Тема Re: Escaping issues with queries using the `?` operator
Дата
Msg-id 575F7F54.8060407@dream.email.ne.jp
обсуждение исходный текст
Ответ на Escaping issues with queries using the `?` operator  (PSequel Support <support@psequel.com>)
Список pgsql-odbc
Hi,

On 2016/06/06 15:26, PSequel Support wrote:
Given a query like this:

SELECT t.val 
FROM (VALUES ('{"a": 1}'::jsonb), ('{"b": 2}'::jsonb)) t (val) 
WHERE t.val ? 'b';

I get this error:
> the # of binded parameters < the # of parameter markers

Hmm, ? as an operator. It conflicts with parameter place holder.
I can't think of the way to fix this issue at once.

regards,
Hiroshi Inoue

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

Предыдущее
От: "Inoue, Hiroshi"
Дата:
Сообщение: Re: psqlodbc 09.05.0210 commit "Don't do premature execution." Numeric Filter issue?
Следующее
От: "Venkatesan, Sekhar"
Дата:
Сообщение: Re: PostgreSQL: SQLSetPos fails with SetPos update return error.