New patchset attached, where I split up the patches in smaller logical units. Note that the first 4 patches in this series are not making any protocol changes. All they do is set up infrastructure in the code that allows us to make protocol changes in the future.
I hope that those 4 should all be fairly uncontroversial, especially patch 1 seems a no-brainer to me. Note that this infrastructure would be needed for any patchset that introduces protocol changes. The 5th only bumps the version The 6th introduces the _pq_.protocol_managed_parms protocol parameter The 7th adds the new ParameterSet protocol message
v4-0005-Bump-protocol-version-to-3.1.patch
Description: Binary data
v4-0002-libpq-Handle-NegotiateProtocolVersion-message-mor.patch
Description: Binary data
v4-0004-Prepare-server-code-for-addition-of-protocol-exte.patch
Description: Binary data
v4-0003-libpq-Include-minor-version-number-in-PQprotocolV.patch
Description: Binary data
v4-0001-libpq-Remove-instance-of-hardcoded-protocol-versi.patch
Description: Binary data
v4-0006-Add-_pq_.protocol_managed_params-protocol-extensi.patch
Description: Binary data
v4-0007-Add-protcol-message-to-change-protocol-extension-.patch
Description: Binary data