Re: error on connecting port 5432 - Mailing list pgsql-general

From Adrian Klaver
Subject Re: error on connecting port 5432
Date
Msg-id 0b93ba45-9dfb-e5a8-119f-df793f51e06f@aklaver.com
Whole thread Raw
In response to Re: error on connecting port 5432  (Atul Kumar <akumar14871@gmail.com>)
List 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.klaver@aklaver.com



pgsql-general by date:

Previous
From: Thomas Kellerer
Date:
Subject: Re: Calling Procedure from another procedure in Postgres
Next
From: Michael Lewis
Date:
Subject: Re: concurrent re-partitioning of declarative partitioned tables