pgsql: Fix dispsize for libpq connection parameters channel_binding and

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix dispsize for libpq connection parameters channel_binding and
Date: 2020-01-29 06:09:49
Message-ID: E1iwgXt-0002BF-6X@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/29e321cdd63ea48fd0223447d58f4742ad729eb0

Modified Files
--------------
src/interfaces/libpq/fe-connect.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2020-01-29 08:54:23 Re: pgsql: Add a non-strict version of jsonb_set
Previous Message Amit Kapila 2020-01-29 05:48:55 pgsql: Add --parallel option to vacuumdb command.