Re: Snapshot is not working - Mailing list pgsql-general

From Tom Lane
Subject Re: Snapshot is not working
Date
Msg-id 21767.1003948307@sss.pgh.pa.us
Whole thread Raw
In response to Re: Snapshot is not working  ("Tille, Andreas" <TilleA@rki.de>)
Responses Re: Snapshot is not working (Solution)
Re: Snapshot is not working
List pgsql-general
"Tille, Andreas" <TilleA@rki.de> writes:
> No I did not.  Even if I set
>     unix_socket_directory = '/tmp'
> explicitely in /usr/local/pgsql/data/postgresql.conf but this doesn�t
> change anything.

No, because that's telling the postmaster to put the socket in /tmp,
which is what it was doing anyway.  Your problem is that psql is doing
something different from the postmaster.

> and I do not see any remander from the Debian settings but the problem
> remains that the socket is created under /tmp but from postgres
> expected to be under /var/run/postgresql/.s.PGSQL.5432.

Do you perhaps have PGHOST set to /var/run/postgresql in psql's
environment?

            regards, tom lane

pgsql-general by date:

Previous
From: "Matthew G. Gilarde"
Date:
Subject: Re: Progress, anything in common with PostgreSQl besides
Next
From: "Brett W. McCoy"
Date:
Subject: Re: Installation Problems