Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vgKfX-00B1qY-16 for pgsql-hackers@arkaria.postgresql.org; Thu, 15 Jan 2026 10:33:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vgKfU-00GMI4-0Y for pgsql-hackers@arkaria.postgresql.org; Thu, 15 Jan 2026 10:33:32 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vgKfT-00GMHs-2i for pgsql-hackers@lists.postgresql.org; Thu, 15 Jan 2026 10:33:32 +0000 Received: from mail-oa1-x2f.google.com ([2001:4860:4864:20::2f]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vgKfS-000bL8-0E for pgsql-hackers@lists.postgresql.org; Thu, 15 Jan 2026 10:33:31 +0000 Received: by mail-oa1-x2f.google.com with SMTP id 586e51a60fabf-3ec47e4c20eso577705fac.1 for ; Thu, 15 Jan 2026 02:33:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1768473207; x=1769078007; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=zFqwB2lSCEHqOFw4s9vf8/sB+h4R9ePzBHTubifYkPg=; b=lwzMVhmHlHVaVetnKgbzhxcyABW1sqVGGkQMxA0OvVLBuXjX3Bev/bZ1Jg7rX02JES kg+juoiK9Ai3OoCDQi/7g6baSc3R0RRk6kYVR5GF4SuoaXQjtKRBtNdvu7pvMr7S/Wu5 c3OaiP+zNIsXHLg5N1sucCx/dQJ8QWTyh3Mo6viVfPyBOeRPZiUvZybPwmHkS5PGjo7w j2BAi0tsyAjRVIq3nUxt9AJ0l6Xld7Jj/42Qbb80KDq0meDLUSZlHXDwZrgMO8lsYGLy auxEMcklNxAVWVOTwv1wHsDE7xBl9iEd0TRGwTOuwjxTo/gu2kuD+DRTBonE0zMbfwgO H5pQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768473207; x=1769078007; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=zFqwB2lSCEHqOFw4s9vf8/sB+h4R9ePzBHTubifYkPg=; b=Kbqbqb5rx6TFfqtiwyr/8Zp0tplEIx5raZSIh+8QLdtW/FGpG8OBXPCm7j1od6hu3r s++DTa8pp8NpNTQoHxEiYZhl+KIVpj+geBoumpcNLltojZYU7VtPei2/wvpreCesfRXY sm3fzxI+ZL+LcTLU1ll2zsFwJRfRx7T5+2gLFQ8wy/eOfnTetDoQq2s5RbTkceRUwosh FIk/WvwAX3lbJfqymsIGOTG6xikX1FZFqqbk+BeUqvgzcwY5njBOL9eaOOoESgixPw+Z yQ8lwPY3VPRz7OeXSpKRTBKVc1lWFgzSMLrwxSQjS5ylAwMYJbQakRd8brrp5/jDz5Fc jPRQ== X-Forwarded-Encrypted: i=1; AJvYcCWTK2EXLoEUb4/0E59Snve9nuGGK8d3pgjeySa2skLPdKQDH+kS2UbshSawMsuGToCTU7BPRUunt267ZzTA@lists.postgresql.org X-Gm-Message-State: AOJu0Yz79Ch4aF908GwPKwH759lk/mPfZbaQcKNNJvLBHi5T+G0/6xPz SO40NohU//09rDbay2XIqLbQWcgpL41+Tees58ySBKxVP2XSO4PJnaa6y46+fW9vKUuRYE9sZfR qYln/3Q6ox9IY9KXgTngdnRUvuC92cec= X-Gm-Gg: AY/fxX4tLpWkK8hToSAKH1v3QNkS1SV2nu9SQL8godSJyAdZlSXM6JKGZ9meovmR+3E lqydqw/2Gvn+0doqZbphTUm1xqsqCGAIPa40QYDAxNGu+zmiKIr4wIXzHIDyWGxSkkDtd9tIgrn 7OIkx5f7So93WqkuOVeyv4D4WiukpiCS/8YFwnLZrvMwh9FIJfH4CUr4u6nnT0drgjtux3/cZdo XUhx9Xp65RWCB0aS+2Rum4fP4haYwCfbsnHaX2n9lw8UBUoug2zImLMZoWIc+ifKohV/Q== X-Received: by 2002:a05:6820:f036:b0:65d:8eb:dc with SMTP id 006d021491bc7-66102b309bamr3858692eaf.26.1768473207434; Thu, 15 Jan 2026 02:33:27 -0800 (PST) MIME-Version: 1.0 References: <2155281.1767900170@sss.pgh.pa.us> <431484.1768433414@sss.pgh.pa.us> In-Reply-To: <431484.1768433414@sss.pgh.pa.us> From: Dave Cramer Date: Thu, 15 Jan 2026 05:33:11 -0500 X-Gm-Features: AZwV_Qja_44uszihF8Pqa1b-yDGsxlW7cmGlvKtHdVWuLViMROkTB8DbSkf4Ojw Message-ID: Subject: Re: Proposal to allow setting cursor options on Portals To: Tom Lane Cc: Jelte Fennema-Nio , Robert Haas , Jacob Champion , PostgreSQL Hackers , Heikki Linnakangas Content-Type: multipart/alternative; boundary="00000000000052f36b06486ac1e8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000052f36b06486ac1e8 Content-Type: text/plain; charset="UTF-8" Dave Cramer On Wed, 14 Jan 2026 at 18:30, Tom Lane wrote: > Jelte Fennema-Nio writes: > > I feel like I've said this many times already, but I really do not > > understand why there's such a hesitation on bumping the minor protocol > > version. Bumping the minor protocol version has zero downsides to me. > > I think you have that backwards. The right way to think about it > is that bumping the minor version has zero upside. What we actually > want is for the client and server to agree on what specific optional > features they will use, and we have a design that allows doing that > in a fine-grained, extensible way. We don't need to change the > protocol version number ever again, as long as we use protocol > options correctly. > I would argue in the case of "cursor with hold" this should have been in the original protocol. This is not an added feature this just enables an existing feature in the server. This is not unlike widening the cancel key. Something like encryption would be a feature that I could see using the extension mechanism > > Having said that, I share Robert's distaste for "silent" protocol > bumps that change the behavior without any negotiation. > My understanding reading his message he was in favour of it As for proxies or "middleboxes" I will concede that not advertising that we are going to change that message is a non-starter Dave --00000000000052f36b06486ac1e8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Dave Cramer


On Wed, 14 Jan 2026 at 18:30, Tom Lane <tgl@sss.pgh.pa.us> wrote:
Jelte Fennema-Nio <postgres@jeltef.nl> writes:
> I feel like I've said this many times already, but I really do not=
> understand why there's such a hesitation on bumping the minor prot= ocol
> version. Bumping the minor protocol version has zero downsides to me.<= br>
I think you have that backwards.=C2=A0 The right way to think about it
is that bumping the minor version has zero upside.=C2=A0 What we actually want is for the client and server to agree on what specific optional
features they will use, and we have a design that allows doing that
in a fine-grained, extensible way.=C2=A0 We don't need to change the protocol version number ever again, as long as we use protocol
options correctly.

I would argue in the= case of "cursor with hold" this should have been in the original= protocol.=C2=A0
This is not an added feature this just enables a= n existing feature in the server. This is not unlike widening the cancel ke= y.=C2=A0
Something like encryption would be a feature that I coul= d see using the extension mechanism

Having said that, I share Robert's distaste for "silent" prot= ocol
bumps that change the behavior without any negotiation.
My understanding reading his message he was in favour of it
As for proxies or "middleboxes" I will concede that n= ot advertising that we are going to change that message is a non-starter=C2= =A0

Dave
--00000000000052f36b06486ac1e8--