Re: error on connecting port 5432

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Atul Kumar <akumar14871(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: error on connecting port 5432
Date: 2020-12-02 15:31:01
Message-ID: 0b93ba45-9dfb-e5a8-119f-df793f51e06f@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 12/1/20 11:02 PM, Atul Kumar wrote:
> Thanks a lot Tom, I appended the -h /tmp and it worked.
>
> I need just one more help from you.
>
> Could you tell me that why & how that socket file existed in /tmp directory.
>
> What is the practice to make sure that this file (.s.PGSQL.5432)
> should be inside /var/run directory ? so that it will not throw such
> error.
>
> Please help me.

We have been trying, but you have not provided the information necessary
to come up with a solution.

So once again:

What OS and version?

Do you have more then one instance of Postgres on this machine?

Where did you get your Postgres code/packages from?

>
>
>
>
>
>
> Regards,
> Atul
>
>
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Michael Lewis 2020-12-02 15:59:32 Re: concurrent re-partitioning of declarative partitioned tables
Previous Message Thomas Kellerer 2020-12-02 10:55:49 Re: Calling Procedure from another procedure in Postgres