Get rid of pgpass_from_client tracking inside libpq --- given the conclusion

Tom Lane <tgl@sss.pgh.pa.us>

Commit: c52aab5525c13a3d378cd09f4187844ce697a948
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2008-09-22T14:21:44Z
Releases: 8.4.0
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

PathChange+/−
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