Re: Proposal to allow setting cursor options on Portals - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Proposal to allow setting cursor options on Portals
Date
Msg-id 431484.1768433414@sss.pgh.pa.us
Whole thread Raw
In response to Re: Proposal to allow setting cursor options on Portals  (Jelte Fennema-Nio <postgres@jeltef.nl>)
Responses Re: Proposal to allow setting cursor options on Portals
List pgsql-hackers
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 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.

Having said that, I share Robert's distaste for "silent" protocol
bumps that change the behavior without any negotiation.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: Adding basic NUMA awareness
Next
From: Melanie Plageman
Date:
Subject: Re: Checkpointer write combining