Re: Proposal to allow setting cursor options on Portals
| От | Jelte Fennema-Nio |
|---|---|
| Тема | Re: Proposal to allow setting cursor options on Portals |
| Дата | |
| Msg-id | CAGECzQTVsLcLz=utq5WoihADF-7LXLn6+EeV4oxdjOpW-w_poA@mail.gmail.com обсуждение исходный текст |
| Ответ на | Re: Proposal to allow setting cursor options on Portals (Jacob Champion <jacob.champion@enterprisedb.com>) |
| Список | pgsql-hackers |
On Thu, 8 Jan 2026 at 01:39, Jacob Champion <jacob.champion@enterprisedb.com> wrote: > > Having a single version is only 1 option, > > Seems like clients must support 3.0 up to 3.N in practice, and test > all of those. If you want a feature in 3.6 and the server says it only > supports 3.4, you're speaking 3.4 now. That's still N options. I meant 1 per yearly set of protocol features. So if there's M years with protocol features and on average N features per each of those years the amount of different options to consider over time are: For only version bumps: M For completely orthogonal protocol extensions: M*N For completely non-orthogonal options: (M*N)^2 > You're saying "well hopefully clients don't actually have to support > all of them," but I don't think you gave a reason why that would be > okay for a production implementation. Clients don't have to care about every postgres version that ever existed, or every possible proxy in existence. In 5 years, a client author might just say: well I only care about my client being able to connect to supported postgres servers, so if a server downgrades to protocol 3.0 I close the connection. This is a decision for the client author to make and for the client author only. And they don't need to care about any of the other clients in existence at all. Only the servers their client should be able to connect to. > Is there an unstated assumption > here, that we'll eventually drop support for 3.0 at some point > relatively soon? (And then 3.2, and then...) If so, I'd prefer to > focus the conversation on that assumption. Because that seems like a > complete nonstarter to me, personally. No, that's not what I meant. Because postgres has to care about the clients it wants to support. And that's all of them. There will probably be clients supporting only 3.0 for a very long time. So the postgres server will need to be supporting 3.0 for a very long time.
В списке pgsql-hackers по дате отправления: