The current behaviour of libpq is to use Unix sockets whenever the host
parameter (PGHOST or setdbLogin argument) is NULL/unset.

Could we extend that to also use Unix sockets if the parameter is set but
empty?  That could avoid a bunch of shell contortions; e.g., you can't
portably un-export variables, in some shells you don't even have "unset".

Or would this be too incompatible?

-- 
Peter Eisentraut      [EMAIL PROTECTED]       http://yi.org/peter-e/

Reply via email to