Andrew Dunstan <[EMAIL PROTECTED]> writes: > I think CSIDL_APPDDATA is probably the way to go, but one of the heavy > Windows hitters will know better than I do.
Now that I look at it, there are several places that are depending on getenv("HOME") or getenv("USERPROFILE") (on Windows) as the meaning of "home directory". In particular ~/.pgpass is sought there, and psql also uses get_home_path in a lot of places. Seems like we should be consistent about this --- either we trust $HOME or we don't. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html