From: Inoue, Hiroshi <h-inoue@dream.email.ne.jp>
To: PSequel Support <support@psequel.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Escaping issues with queries using the `?` operator
Date: Tue, 14 Jun 2016 12:51:48 +0900
Message-ID: <575F7F54.8060407@dream.email.ne.jp> (raw)
In-Reply-To: <CABqkTWT0zERofvfy2VJ+AaMKkdrr2vD=9tpxEz7hD_N5ejoMNg@mail.gmail.com>
References: <CABqkTWT0zERofvfy2VJ+AaMKkdrr2vD=9tpxEz7hD_N5ejoMNg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: h-inoue@dream.email.ne.jp, support@psequel.com
Subject: Re: Escaping issues with queries using the `?` operator
In-Reply-To: <575F7F54.8060407@dream.email.ne.jp>
References: <CABqkTWT0zERofvfy2VJ+AaMKkdrr2vD=9tpxEz7hD_N5ejoMNg@mail.gmail.com> <575F7F54.8060407@dream.email.ne.jp>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox