Re: Escaping issues with queries using the `?` operator - Mailing list pgsql-odbc

From Inoue, Hiroshi
Subject Re: Escaping issues with queries using the `?` operator
Date
Msg-id 575F7F54.8060407@dream.email.ne.jp
Whole thread Raw
In response to Escaping issues with queries using the `?` operator  (PSequel Support <support@psequel.com>)
List 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 by date:

Previous
From: "Inoue, Hiroshi"
Date:
Subject: Re: psqlodbc 09.05.0210 commit "Don't do premature execution." Numeric Filter issue?
Next
From: "Venkatesan, Sekhar"
Date:
Subject: Re: PostgreSQL: SQLSetPos fails with SetPos update return error.