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 1vdvbD-006luM-2W for pgsql-hackers@arkaria.postgresql.org; Thu, 08 Jan 2026 19:23:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vdvbC-003vCK-1N for pgsql-hackers@arkaria.postgresql.org; Thu, 08 Jan 2026 19:23:11 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vdvbC-003vCB-0N for pgsql-hackers@lists.postgresql.org; Thu, 08 Jan 2026 19:23:10 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vdvbB-004wct-1g for pgsql-hackers@lists.postgresql.org; Thu, 08 Jan 2026 19:23:09 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 608JMoBf2155282; Thu, 8 Jan 2026 14:22:50 -0500 From: Tom Lane To: Robert Haas cc: Jelte Fennema-Nio , Jacob Champion , Dave Cramer , PostgreSQL Hackers , Heikki Linnakangas Subject: Re: Proposal to allow setting cursor options on Portals In-reply-to: References: Comments: In-reply-to Robert Haas message dated "Thu, 08 Jan 2026 14:01:38 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2155280.1767900170.1@sss.pgh.pa.us> Date: Thu, 08 Jan 2026 14:22:50 -0500 Message-ID: <2155281.1767900170@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Robert Haas writes: > That sounds like the right approach to me. Note that I have also > previously expressed my disagreement with the idea of bumping the > protocol version regularly. I'm not entirely comfortable with the idea > of using protocol extensions for everything, because I really imagined > that they would be used for larger features that made a cluster of > related changes rather than solitary changes, and that there wouldn't > be many of them. I kind of doubt that there will ever be many of them, but if we start to feel like there's a lot, we could invent abbreviations: single feature names that clients can ask for that are defined to represent a particular set of older features. But I'd argue that those sets should be groups of related functions, not "whatever random stuff exists as of Postgres 27". I think it'll be highly useful for clients to declare which features they want, rather than leave people wondering exactly which features this client intends to support. regards, tom lane