- Notifications
You must be signed in to change notification settings - Fork28
Commit20bf7b2
committed
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 theserver altogether, which will make this the only reasonable choice, buteven if we kept it, it seems best to never send the password in cleartext.1 parent0de791e commit20bf7b2
2 files changed
+17
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5902 | 5902 | | |
5903 | 5903 | | |
5904 | 5904 | | |
5905 | | - | |
| 5905 | + | |
| 5906 | + | |
| 5907 | + | |
5906 | 5908 | | |
5907 | 5909 | | |
5908 | 5910 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1168 | 1168 | | |
1169 | 1169 | | |
1170 | 1170 | | |
1171 | | - | |
| 1171 | + | |
1172 | 1172 | | |
1173 | 1173 | | |
1174 | 1174 | | |
| |||
1177 | 1177 | | |
1178 | 1178 | | |
1179 | 1179 | | |
1180 | | - | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
| 1183 | + | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
| 1187 | + | |
| 1188 | + | |
1181 | 1189 | | |
| 1190 | + | |
| 1191 | + | |
| 1192 | + | |
1182 | 1193 | | |
1183 | 1194 | | |
1184 | 1195 | | |
| |||
1195 | 1206 | | |
1196 | 1207 | | |
1197 | 1208 | | |
1198 | | - | |
1199 | | - | |
1200 | | - | |
1201 | | - | |
1202 | 1209 | | |
1203 | 1210 | | |
1204 | 1211 | | |
1205 | | - | |
| 1212 | + | |
1206 | 1213 | | |
1207 | 1214 | | |
1208 | 1215 | | |
| |||
0 commit comments
Comments
(0)