pgsql: Fix advertised dispsize for libpq's sslmode connection parameter

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix advertised dispsize for libpq's sslmode connection parameter
Date: 2014-03-17 01:44:21
Message-ID: E1WPMbF-00032D-LK@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix advertised dispsize for libpq's sslmode connection parameter.

"8" was correct back when "disable" was the longest allowed value, but
since "verify-full" was added, it should be "12". Given the lack of
complaints, I wouldn't be surprised if nobody is actually using these
values ... but still, if they're in the API, they should be right.

Noticed while pursuing a different problem. It's been wrong for quite
a long time, so back-patch to all supported branches.

Branch
------
REL9_0_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/fecc9e23a34b8d99dbecdc28acb25eeb622faeed

Modified Files
--------------
src/interfaces/libpq/fe-connect.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2014-03-17 01:47:58 pgsql: Make punctuation consistent
Previous Message Magnus Hagander 2014-03-16 14:23:00 pgsql: Cleanups from the remove-native-krb5 patch