From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ron Johnson <ronljohnsonjr@gmail.com>
Cc: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: Atul Kumar <akumar14871@gmail.com>
Cc: pgsql-general <pgsql-general@lists.postgresql.org>
Subject: Re: permission denied on socket
Date: Thu, 25 Jan 2024 16:30:20 -0500
Message-ID: <455826.1706218220@sss.pgh.pa.us> (raw)
In-Reply-To: <CANzqJaBE9dRWqghXctFn5C0j_oYBBH53sEUQKt-4cAP_KTSniw@mail.gmail.com>
References: <CA+ONtZ5Rmk4=EvXd0j17iN6O0WUhJDmEfK=WJavMsw5ygizfng@mail.gmail.com>
<e7811f7a-ef88-43e9-917f-9cf005e8202f@aklaver.com>
<CANzqJaBE9dRWqghXctFn5C0j_oYBBH53sEUQKt-4cAP_KTSniw@mail.gmail.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, ronljohnsonjr@gmail.com, adrian.klaver@aklaver.com, akumar14871@gmail.com
Subject: Re: permission denied on socket
In-Reply-To: <455826.1706218220@sss.pgh.pa.us>
References: <CA+ONtZ5Rmk4=EvXd0j17iN6O0WUhJDmEfK=WJavMsw5ygizfng@mail.gmail.com> <e7811f7a-ef88-43e9-917f-9cf005e8202f@aklaver.com> <CANzqJaBE9dRWqghXctFn5C0j_oYBBH53sEUQKt-4cAP_KTSniw@mail.gmail.com> <455826.1706218220@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox