libpq PGHOST - Mailing list pgsql-hackers

From Peter Eisentraut
Subject libpq PGHOST
Date
Msg-id Pine.LNX.4.21.0010021246100.931-100000@peter.localdomain
Whole thread Raw
Responses Re: libpq PGHOST  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
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      peter_e@gmx.net       http://yi.org/peter-e/



pgsql-hackers by date:

Previous
From: Alfred Perlstein
Date:
Subject: Re: Note about include files
Next
From: "Martin A. Marques"
Date:
Subject: backup and restore