Re: Can't connect to socket in Debian distribution - Mailing list pgsql-novice

From Tom Lane
Subject Re: Can't connect to socket in Debian distribution
Date
Msg-id 20774.1038423171@sss.pgh.pa.us
Whole thread Raw
In response to Can't connect to socket in Debian distribution  ("KEVIN ZEMBOWER" <KZEMBOWER@jhuccp.org>)
List pgsql-novice
"KEVIN ZEMBOWER" <KZEMBOWER@jhuccp.org> writes:
> When I try to run psql as root, I get this error:
> www2:/etc/postgresql# psql -p mnogosearch mnogosearch
> psql: could not connect to server: No such file or directory
>         Is the server running locally and accepting
>         connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.0"?

"-p" is probably not what you want here.  It looks like the code is
failing to notice that the argument of -p doesn't look like an integer...

            regards, tom lane

pgsql-novice by date:

Previous
From: "KEVIN ZEMBOWER"
Date:
Subject: Can't connect to socket in Debian distribution
Next
From: "KEVIN ZEMBOWER"
Date:
Subject: Re: Can't connect to socket in Debian distribution