Thread
-
Re: [HACKERS] DefaultHost
Edmund Mergl <e.mergl@bawue.de> — 1998-01-10T20:01:27Z
The Hermit Hacker wrote: > > 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. > > Default operation now is 'Unix Domain Sockets'...PGHOST isn't a viable > default. The only time that PGHOST is a viable default is if -i is issued to > postmaster when started up... > > Marc G. Fournier > Systems Administrator @ hub.org > primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org sorry, but I still didn't get that. What do I have to do in order to be able to connect to the backend running on the localhost without setting PGHOST and without specifying the host in PQconnectdb() ? Edmund -- Edmund Mergl mailto:E.Mergl@bawue.de Im Haldenhau 9 http://www.bawue.de/~mergl D 70565 Stuttgart fon: +49 711 747503 Germany gsm: +49 171 2645325