Re: Correct documentation for protocol version

Поиск
Список
Период
Сортировка
От Dave Cramer
Тема Re: Correct documentation for protocol version
Дата
Msg-id CADK3HH+33WyVA7YBtEDeXhFPX_hpUMcKiRhPjghzw=8bGtCeUw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Correct documentation for protocol version  (Jelte Fennema-Nio <postgres@jeltef.nl>)
Список pgsql-hackers

On Fri, 11 Apr 2025 at 11:02, Jelte Fennema-Nio <postgres@jeltef.nl> wrote:
On Fri, 11 Apr 2025 at 22:57, Dave Cramer <davecramer@gmail.com> wrote:
> Well this isn't quite true since if you request 3.0 and have invalid options it will return 3.0, which is not the highest supported minor version.

Probably good to update this section too then to be similarly correct
as your already updated section. Maybe also good to clarify further
that the version that the server responds with is the protocol version
that will be used during the following communication.

I've updated the wording to specify that the negotiateProtocol message will only be sent if the client requests a major version the server supports.
Also added a note saying that this will be the protocol version that will be used for the duration of the connectin

See attached. 
Вложения

В списке pgsql-hackers по дате отправления: