Re: Protocol 2 and query parameters support

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Konstantin Izmailov <pgfizm(at)gmail(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Protocol 2 and query parameters support
Date: 2017-04-24 02:10:27
Message-ID: 8697.1492999827@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Andres Freund <andres(at)anarazel(dot)de> writes:
> On 2017-04-23 12:08:51 -0700, Konstantin Izmailov wrote:
>> 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.

There's been moderately serious discussion about dropping v2 support
altogether, so I sure hope there isn't anything in the wild that still
depends on it.

Also, moving from v2 to v3 per se just isn't very hard, if you aren't
worried about making use of new-in-v3 protocol features. I wonder whether
Konstantin is confusing v2 vs v3 with use of simple vs. extended query
protocol within v3.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tatsuo Ishii 2017-04-24 02:33:09 Re: Protocol 2 and query parameters support
Previous Message Andres Freund 2017-04-24 00:54:55 Re: Protocol 2 and query parameters support