Correct documentation for protocol version - Mailing list pgsql-hackers

From Dave Cramer
Subject Correct documentation for protocol version
Date
Msg-id CADK3HH+KkTFkv3zhJ9Koqmkyj=n2XG=CDp-MxAhMOPoezaQwoQ@mail.gmail.com
Whole thread Raw
Responses Re: Correct documentation for protocol version
List pgsql-hackers
Greetings,

The current docs say that if a client asks for a protocol that the backend doesn't support, it will return the newest minor version. https://www.postgresql.org/docs/current/protocol-message-formats.html#PROTOCOL-MESSAGE-FORMATS-NEGOTIATEPROTOCOLVERSION

However that isn't what it returns. It actually returns the entire newest protocol that it supports. Attached is a patch to fix the docs.


Dave Cramer
Attachment

pgsql-hackers by date:

Previous
From: Amit Langote
Date:
Subject: Re: wrong comments in rewriteTargetListIU
Next
From: "Maksim.Melnikov"
Date:
Subject: Re: sync_standbys_defined read/write race on startup