Re: [HACKERS] DefaultHost

Peter T Mount <psqlhack@maidast.demon.co.uk>

From: Peter T Mount <psqlhack@maidast.demon.co.uk>
To: Edmund Mergl <E.Mergl@bawue.de>
Cc: PostgreSQL Developers Mailinglist <pgsql-hackers@postgresql.org>
Date: 1998-01-10T12:13:24Z
Lists: pgsql-hackers
On Sat, 10 Jan 1998, Edmund Mergl wrote:

> Hi all,
> 
> in the current snapshot there is no default for PGHOST 
> in src/interfaces/libpq/fe-connect.c. 
> In 6.2 this was 'localhost', which is a reasonable default.
> 
> If there is no real reason for not having a default for
> the host-option, please provide 'localhost' as default.

I think this was changed to allow UNIX Sockets to be the default if no
hostname is provided.

-- 
Peter T Mount  petermount@earthling.net or pmount@maidast.demon.co.uk
Main Homepage: http://www.demon.co.uk/finder
Work Homepage: http://www.maidstone.gov.uk Work EMail: peter@maidstone.gov.uk