Re: Someone's broken psql's connection-failure error reporting - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Someone's broken psql's connection-failure error reporting
Date
Msg-id 200302131940.h1DJeR407256@candle.pha.pa.us
Whole thread Raw
In response to Someone's broken psql's connection-failure error reporting  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Someone's broken psql's connection-failure error reporting
List 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 5555psql: 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@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Incremental backup
Next
From: mlw
Date:
Subject: Re: location of the configuration files