Fix dispsize for libpq connection parameters channel_binding and gssencmode

Michael Paquier <michael@paquier.xyz>

Commit: b558f6da61c47b2be270dfbeed210c418601be82
Author: Michael Paquier <michael@paquier.xyz>
Date: 2020-01-29T06:08:26Z
Releases: 12.2
Fix dispsize for libpq connection parameters channel_binding and gssencmode

channel_binding's longest allowed value is not "7", it is actually "8".
gssencmode also got that wrong.

A similar mistake has been fixed as of f4051e3.

Backpatch down to v12, where gssencmode has been introduced.

Reviewed-by: Daniel Gustafsson
Discussion: https://postgr.es/m/20200128053633.GD1552@paquier.xyz
Backpatch-through: 12

Files

PathChange+/−
src/interfaces/libpq/fe-connect.c modified +2 −2

Discussion