Re: [HACKERS] DefaultHost

From: Goran Thyni <goran(at)bildbasen(dot)se>
To: E(dot)Mergl(at)bawue(dot)de
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] DefaultHost
Date: 1998-01-10 14:50:18
Message-ID: 19980110145018.1483.qmail@guevara.bildbasen.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> No host means connect with unix domain socket.
> If host (PGHOST) is set connection is made with tcp socket.
>
> This is related to the problem I mentioned before with
> DBD::Pg and libpq.

ok, but there is still no reasonable default. The only way
I got things working is starting the postmaster with -i
and setting the environment-variable PGHOST to 'localhost'.

It should be possible to connect to the backend on the
localhost without having to define the host in the environment
or as argument in PQconnectdb().

The problem is in PQconnectdb() in libpq.
I will supply a patch as soon as I have time to make a clean one
against current sources.

regards,

--
---------------------------------------------
Göran Thyni, sysadm, JMS Bildbasen, Kiruna

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Goran Thyni 1998-01-10 15:24:52 Re: [HACKERS] DefaultHost
Previous Message D'Arcy J.M. Cain 1998-01-10 14:19:33 Can't run current PostgreSQL