Re: Yet Another Socket .s.PGSQL.5432 Problem - Mailing list pgsql-admin

From Alvaro Herrera
Subject Re: Yet Another Socket .s.PGSQL.5432 Problem
Date
Msg-id 20070816212517.GC27775@alvh.no-ip.org
Whole thread Raw
In response to Re: Yet Another Socket .s.PGSQL.5432 Problem  ("Hilton Perantunes" <hperantunes@gmail.com>)
Responses Re: Yet Another Socket .s.PGSQL.5432 Problem  ("Hilton Perantunes" <hperantunes@gmail.com>)
List pgsql-admin
Hilton Perantunes escribió:
> Tom, really... the socket lies in /tmp/. The socket file has 0777
> postgres:postgres. /tmp/ has 0777 root:root.

psql is complaining about /var/run/postgresql (the Debian packaging of
libpq does that).  Try setting PGHOST to /tmp, like in

PGHOST=/tmp psql


--
Alvaro Herrera                          Developer, http://www.PostgreSQL.org/
"The eagle never lost so much time, as
when he submitted to learn of the crow." (William Blake)

pgsql-admin by date:

Previous
From: "Hilton Perantunes"
Date:
Subject: Re: Yet Another Socket .s.PGSQL.5432 Problem
Next
From: "Hilton Perantunes"
Date:
Subject: Re: Yet Another Socket .s.PGSQL.5432 Problem