Bruce Momjian <[EMAIL PROTECTED]> writes: > I need to call canonicalize_path() in the macro.
There is only one use of get_home_path in libpq. Lose it and do a direct getenv(HOMEDIR). You do not really need to do a canonicalize_path there; it'd be sufficient to insert the appropriate directory separator ('/' or '\') when forming pgpassfile just below. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend