Re: permission denied on socket - Mailing list pgsql-general

From Tom Lane
Subject Re: permission denied on socket
Date
Msg-id 455826.1706218220@sss.pgh.pa.us
Whole thread Raw
In response to Re: permission denied on socket  (Ron Johnson <ronljohnsonjr@gmail.com>)
Responses Re: permission denied on socket
List pgsql-general
Ron Johnson <ronljohnsonjr@gmail.com> writes:
> On Thu, Jan 25, 2024 at 3:32 PM Adrian Klaver <adrian.klaver@aklaver.com>
> wrote:
>> Best guess is you are using a version of psql that is expecting the
>> socket to be somewhere else then where it actually is.

> Is "permission denied" really the error you get when the socket does not
> exist?

Nope, that should mean either that /tmp is not readable, or that the
socket file is there but has restrictive permissions.

That doesn't necessarily make Adrian's answer wrong though.

            regards, tom lane



pgsql-general by date:

Previous
From: Michael Nolan
Date:
Subject: field error on refreshed materialized view
Next
From: Adrian Klaver
Date:
Subject: Re: field error on refreshed materialized view