[Dbconfig-common-devel] postgresql server and .pgpass

Karsten Hilbert Karsten.Hilbert at gmx.net
Fri May 12 14:12:57 UTC 2006


On Thu, May 11, 2006 at 04:43:06PM -0400, sean finney wrote:

> in postgresql 7.x, you could get psql and the like to respect
> the value of the $HOME environment variable when searching
> for the .pgpass file for connection info.
> 
> in 8.x, it directly gets the info from a getpwent like function,
> thus not making it overridable.
...
> so my question to you:
...
> - can you suggest another way of providing this information?

http://www.postgresql.org/docs/8.1/interactive/libpq-pgpass.html
http://www.postgresql.org/docs/8.0/interactive/libpq-pgpass.html

So, a back-patch for 8.0.x only would be in order, I suppose.

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346



More information about the Dbconfig-common-devel mailing list