]> granicus.if.org Git - postgresql/commit
Fix advertised dispsize for libpq's sslmode connection parameter.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 17 Mar 2014 01:43:46 +0000 (21:43 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 17 Mar 2014 01:43:46 +0000 (21:43 -0400)
commit0bdeb1d51d910e0e19dec3ce0396903ae7de5c74
treefc72177f31e7563ad2ac29afe60b660e2ea8b758
parentf2063b379fe1e3a0d54ca2dd91839f1dac4d0c95
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.
src/interfaces/libpq/fe-connect.c