pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <hlinnaka@iki.fi>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Jelte Fennema-Nio <postgres@jeltef.nl>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Cc: Thomas Munro <thomas.munro@gmail.com>
Subject: Re: Make query cancellation keys longer
Date: Fri, 16 Aug 2024 01:07:25 +0300
Message-ID: <08fee89e-0db2-4545-b00a-ce3436ca5075@iki.fi> (raw)
In-Reply-To: <CA+Tgmobg6pgeKKkXxs4tZBCpuLFC8fPgxAe+EAiihJ5i-czV9g@mail.gmail.com>
References: <508d0505-8b7a-4864-a681-e7e5edfe32aa@iki.fi>
	<CAGECzQSMF7qUF7WTVcjk6qVOz=3du6naLVXRKnZ9AUtM9kQ31w@mail.gmail.com>
	<CAGECzQSGzRE9eF=twhDgDXGKQVzrx=WhhVPEUmbQoDsHAVKQkg@mail.gmail.com>
	<CAGECzQTjFAz=OErVJbH8kbdVze_rnXeufGSbNKw+mpzOEWe8cw@mail.gmail.com>
	<02a4eed2-98f0-4796-9d4f-12128ff44fe0@iki.fi>
	<CA+TgmoZQWXBBxoRrjb-+Dz9yxipDP+55hNVWuc_cuXH0cpDayw@mail.gmail.com>
	<c6ed087e-1b41-4b06-9f7e-350acb887f83@iki.fi>
	<CAGECzQQ2osT_XMpByXELiYwxMmd4EV5SPF+n0azCEiVvaRVcjw@mail.gmail.com>
	<27d936fd-3e1b-422e-8a9b-d0543a22b3dc@iki.fi>
	<3dceed41-7624-426c-b464-f47b4acb0c8e@iki.fi>
	<7b86da3b-9356-4e50-aa1b-56570825e234@iki.fi>
	<CA+Tgmobg6pgeKKkXxs4tZBCpuLFC8fPgxAe+EAiihJ5i-czV9g@mail.gmail.com>

On 15/08/2024 23:20, Robert Haas wrote:
> On Thu, Aug 15, 2024 at 1:13 PM Heikki Linnakangas <hlinnaka@iki.fi> wrote:
>> Added a "protocol_version" libpq option for that. It defaults to "auto",
>> but you can set it to "3.1" or "3.0" to force the version. It makes it
>> easier to test that the backwards-compatibility works, too.
> 
> Over on the "Add new protocol message to change GUCs for usage with
> future protocol-only GUCs" there is a lot of relevant discussion about
> how bumping the protocol version should work. This thread shouldn't
> ignore all that discussion. Just to take one example, Jelte wants to
> bump the protocol version to 3.2, not 3.1, for some reasons that are
> in the commit message for the relevant patch over there.

Ok, I've read through that thread now, and opined there too. One 
difference is with libpq option name: My patch adds "protocol_version", 
while Jelte proposes "max_protocol_version". I don't have strong 
opinions on that. I hope the ecosystem catches up to support 
NegotiateProtocolVersion quickly, so that only few people will need to 
set this option. In particular, I hope that there will never be need to 
use "max_protocol_version=3.2", because by the time we introduce version 
3.3, all the connection poolers that support 3.2 will also implement 
NegotiateProtocolVersion.

-- 
Heikki Linnakangas
Neon (https://neon.tech)






view thread (40+ messages)  latest in thread

Message-ID: <08fee89e-0db2-4545-b00a-ce3436ca5075@iki.fi>
Permalink:  ../08fee89e-0db2-4545-b00a-ce3436ca5075@iki.fi/
Also on:    postgresql.org/message-id/08fee89e-0db2-4545-b00a-ce3436ca5075@iki.fi

 · 

reply

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-hackers@postgresql.org
  Cc: hlinnaka@iki.fi, robertmhaas@gmail.com, postgres@jeltef.nl, thomas.munro@gmail.com
  Subject: Re: Make query cancellation keys longer
  In-Reply-To: <08fee89e-0db2-4545-b00a-ce3436ca5075@iki.fi>
  References: <508d0505-8b7a-4864-a681-e7e5edfe32aa@iki.fi> <CAGECzQSMF7qUF7WTVcjk6qVOz=3du6naLVXRKnZ9AUtM9kQ31w@mail.gmail.com> <CAGECzQSGzRE9eF=twhDgDXGKQVzrx=WhhVPEUmbQoDsHAVKQkg@mail.gmail.com> <CAGECzQTjFAz=OErVJbH8kbdVze_rnXeufGSbNKw+mpzOEWe8cw@mail.gmail.com> <02a4eed2-98f0-4796-9d4f-12128ff44fe0@iki.fi> <CA+TgmoZQWXBBxoRrjb-+Dz9yxipDP+55hNVWuc_cuXH0cpDayw@mail.gmail.com> <c6ed087e-1b41-4b06-9f7e-350acb887f83@iki.fi> <CAGECzQQ2osT_XMpByXELiYwxMmd4EV5SPF+n0azCEiVvaRVcjw@mail.gmail.com> <27d936fd-3e1b-422e-8a9b-d0543a22b3dc@iki.fi> <3dceed41-7624-426c-b464-f47b4acb0c8e@iki.fi> <7b86da3b-9356-4e50-aa1b-56570825e234@iki.fi> <CA+Tgmobg6pgeKKkXxs4tZBCpuLFC8fPgxAe+EAiihJ5i-czV9g@mail.gmail.com> <08fee89e-0db2-4545-b00a-ce3436ca5075@iki.fi>

* 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