Re: [HACKERS] DefaultHost
От | Edmund Mergl |
---|---|
Тема | Re: [HACKERS] DefaultHost |
Дата | |
Msg-id | 34B7D397.1977238F@bawue.de обсуждение исходный текст |
Ответ на | Re: [HACKERS] DefaultHost (The Hermit Hacker <scrappy@hub.org>) |
Список | pgsql-hackers |
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
В списке pgsql-hackers по дате отправления: