Get rid of pgpass_from_client tracking inside libpq --- given the conclusion
Tom Lane <tgl@sss.pgh.pa.us>
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 simpler and perhaps more generally useful, too.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/libpq.sgml | modified | +4 −8 |
| src/interfaces/libpq/fe-connect.c | modified | +7 −25 |
| src/interfaces/libpq/libpq-int.h | modified | +1 −2 |