forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc52aab5
committed
Get rid of pgpass_from_client tracking inside libpq --- given the conclusion
that presence of the password in the conninfo string must be checked *before*risking a connection attempt, there is no point in checking it afterwards.This makes the specification of PQconnectionUsedPassword() a bit simplerand perhaps more generally useful, too.1 parentcae7ad9 commitc52aab5
File tree
3 files changed
+12
-35
lines changed- doc/src/sgml
- src/interfaces/libpq
3 files changed
+12
-35
lines changedLines changed: 4 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| |||
1201 | 1201 |
| |
1202 | 1202 |
| |
1203 | 1203 |
| |
1204 |
| - | |
1205 | 1204 |
| |
1206 | 1205 |
| |
1207 | 1206 |
| |
| |||
1216 | 1215 |
| |
1217 | 1216 |
| |
1218 | 1217 |
| |
1219 |
| - | |
| 1218 | + | |
1220 | 1219 |
| |
1221 | 1220 |
| |
1222 | 1221 |
| |
1223 | 1222 |
| |
1224 |
| - | |
1225 | 1223 |
| |
1226 | 1224 |
| |
1227 | 1225 |
| |
1228 |
| - | |
1229 |
| - | |
1230 |
| - | |
1231 |
| - | |
| 1226 | + | |
| 1227 | + | |
1232 | 1228 |
| |
1233 | 1229 |
| |
1234 | 1230 |
| |
|
Lines changed: 7 additions & 25 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
232 | 232 |
| |
233 | 233 |
| |
234 | 234 |
| |
235 |
| - | |
236 |
| - | |
| 235 | + | |
237 | 236 |
| |
238 | 237 |
| |
239 | 238 |
| |
| |||
377 | 376 |
| |
378 | 377 |
| |
379 | 378 |
| |
380 |
| - | |
381 |
| - | |
| 379 | + | |
382 | 380 |
| |
383 | 381 |
| |
384 | 382 |
| |
| |||
474 | 472 |
| |
475 | 473 |
| |
476 | 474 |
| |
477 |
| - | |
478 | 475 |
| |
479 | 476 |
| |
480 | 477 |
| |
| |||
560 | 557 |
| |
561 | 558 |
| |
562 | 559 |
| |
563 |
| - | |
564 | 560 |
| |
565 | 561 |
| |
566 | 562 |
| |
567 | 563 |
| |
568 | 564 |
| |
569 |
| - | |
570 |
| - | |
| 565 | + | |
571 | 566 |
| |
572 | 567 |
| |
573 | 568 |
| |
| |||
668 | 663 |
| |
669 | 664 |
| |
670 | 665 |
| |
671 |
| - | |
672 | 666 |
| |
673 | 667 |
| |
674 | 668 |
| |
| |||
3127 | 3121 |
| |
3128 | 3122 |
| |
3129 | 3123 |
| |
3130 |
| - | |
3131 | 3124 |
| |
3132 | 3125 |
| |
3133 | 3126 |
| |
3134 | 3127 |
| |
3135 | 3128 |
| |
3136 | 3129 |
| |
3137 | 3130 |
| |
3138 |
| - | |
3139 |
| - | |
| 3131 | + | |
3140 | 3132 |
| |
3141 | 3133 |
| |
3142 | 3134 |
| |
| |||
3152 | 3144 |
| |
3153 | 3145 |
| |
3154 | 3146 |
| |
3155 |
| - | |
3156 |
| - | |
3157 | 3147 |
| |
3158 | 3148 |
| |
3159 | 3149 |
| |
3160 |
| - | |
| 3150 | + | |
3161 | 3151 |
| |
3162 | 3152 |
| |
3163 | 3153 |
| |
| |||
3168 | 3158 |
| |
3169 | 3159 |
| |
3170 | 3160 |
| |
3171 |
| - | |
3172 |
| - | |
3173 | 3161 |
| |
3174 | 3162 |
| |
3175 | 3163 |
| |
| |||
3326 | 3314 |
| |
3327 | 3315 |
| |
3328 | 3316 |
| |
3329 |
| - | |
3330 |
| - | |
3331 |
| - | |
3332 |
| - | |
3333 |
| - | |
3334 |
| - | |
3335 | 3317 |
| |
3336 | 3318 |
| |
3337 | 3319 |
| |
| |||
3597 | 3579 |
| |
3598 | 3580 |
| |
3599 | 3581 |
| |
3600 |
| - | |
| 3582 | + | |
3601 | 3583 |
| |
3602 | 3584 |
| |
3603 | 3585 |
| |
|
Lines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 |
| - | |
| 15 | + | |
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
| |||
290 | 290 |
| |
291 | 291 |
| |
292 | 292 |
| |
293 |
| - | |
294 | 293 |
| |
295 | 294 |
| |
296 | 295 |
| |
|
0 commit comments
Comments
(0)