| From: | Dave Cramer <davecramer(at)gmail(dot)com> |
|---|---|
| To: | Jelte Fennema-Nio <postgres(at)jeltef(dot)nl> |
| Cc: | Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: Correct documentation for protocol version |
| Date: | 2025-04-22 14:34:55 |
| Message-ID: | CADK3HH+33WyVA7YBtEDeXhFPX_hpUMcKiRhPjghzw=8bGtCeUw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Fri, 11 Apr 2025 at 11:02, Jelte Fennema-Nio <postgres(at)jeltef(dot)nl> wrote:
> On Fri, 11 Apr 2025 at 22:57, Dave Cramer <davecramer(at)gmail(dot)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.
| Attachment | Content-Type | Size |
|---|---|---|
| protocol-6.patch | application/octet-stream | 1.6 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Pavel Borisov | 2025-04-22 14:40:14 | Re: Fortify float4 and float8 regression tests by ordering test results |
| Previous Message | Tom Lane | 2025-04-22 14:26:15 | Re: Cygwin support |