[COMMITTERS] pgsql: Fix PQencryptPasswordConn to work with older server versions. - Mailing list pgsql-committers

From Heikki Linnakangas
Subject [COMMITTERS] pgsql: Fix PQencryptPasswordConn to work with older server versions.
Date
Msg-id E1d6D4X-0006Bv-NA@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix PQencryptPasswordConn to work with older server versions.

password_encryption was a boolean before version 10, so cope with "on" and
"off".

Also, change the behavior with "plain", to treat it the same as "md5".
We're discussing removing the password_encryption='plain' option from the
server altogether, which will make this the only reasonable choice, but
even if we kept it, it seems best to never send the password in cleartext.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/20bf7b2b0afcb53608ec37005ee7f831132925d2

Modified Files
--------------
doc/src/sgml/libpq.sgml        |  4 +++-
src/interfaces/libpq/fe-auth.c | 21 ++++++++++++++-------
2 files changed, 17 insertions(+), 8 deletions(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: [COMMITTERS] pgsql: Fix cursor_to_xml in tableforest false mode
Next
From: Tom Lane
Date:
Subject: [COMMITTERS] pgsql: Fix pfree-of-already-freed-tuple when rescanning a GiSTindex-on