Tatsuo Ishii writes:
> It seems some incompatible changes have been made between 7.0 and
> current. In 7.0, if a parameter is NULL OR a null string (""), then
> the value from an environment variable is applied. However in current
> ONLY NULL is considered. Is there any reason for this?
Yes, there are several reasons. First, to be consistent with
PQconnectdb(). Second, to be able to override a set environment variable
with an empty value. Third, because the existing behaviour was deemed to
be quite useless. See Oct 2 thread "libpq PGHOST". Is there a problem?
--
Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/