Re: Protocol 2 and query parameters support

From: Andres Freund <andres(at)anarazel(dot)de>
To: Konstantin Izmailov <pgfizm(at)gmail(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Protocol 2 and query parameters support
Date: 2017-04-24 00:54:55
Message-ID: 20170424005455.zuqwuban7lwzptka@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2017-04-23 12:08:51 -0700, Konstantin Izmailov wrote:
> Does Postgres protocol 2 support query parameters? e.g.:
> SELECT colA FROM tbl WHERE colB=$1
>
> Some systems (Presto) are still using protocol 2, and I need to understand
> the scope of changes in the middleware to support protocol 2.

Could you provide a reference about presto using v2 protocol? A quick
search didn't turn anything up. Presto seems a bit too new to rely on
v2, given how long ago v3 has been introduced.

Greetings,

Andres Freund

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2017-04-24 02:10:27 Re: Protocol 2 and query parameters support
Previous Message Periko Support 2017-04-24 00:48:47 Re: Strange Issue between PSQL 9.3 and Label Zebra Printer?