aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistscan.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2017-05-04 12:28:25 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2017-05-04 12:28:25 +0300
commit20bf7b2b0afcb53608ec37005ee7f831132925d2 (patch)
tree0a7e4dae434ee7afdf62d5c4f87d3ba534b49117 /src/backend/access/gist/gistscan.c
parent0de791ed760614991e7cb8a78fddd6874ea6919d (diff)
downloadpostgresql-20bf7b2b0afcb53608ec37005ee7f831132925d2.tar.gz
postgresql-20bf7b2b0afcb53608ec37005ee7f831132925d2.zip
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.
Diffstat (limited to 'src/backend/access/gist/gistscan.c')
0 files changed, 0 insertions, 0 deletions