Re: Someone's broken psql's connection-failure error reporting

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Someone's broken psql's connection-failure error reporting
Date: 2003-02-13 19:40:27
Message-ID: 200302131940.h1DJeR407256@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> In CVS tip, I'm getting only an empty string from psql where it should
> print connection-failure messages.
>
> psql 7.3 does this:
>
> $ psql -p 5555
> psql: could not connect to server: No such file or directory
> Is the server running locally and accepting
> connections on Unix domain socket "/tmp/.s.PGSQL.5555"?
> $
>
> CVS tip does this:
>
> $ psql -p 5555
> psql: $
>
> Have not dug to see if this is the fault of libpq or psql; but there's
> been a fair amount of hacking lately in libpq's connection handling ...

I just tried and got an error:

$ psql -p 5555
psql: could not create socket: No such file or directory

This is as of last night's CVS.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-02-13 19:43:27 Re: location of the configuration files
Previous Message Bruce Momjian 2003-02-13 19:38:05 Re: Incremental backup