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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)postgreSQL(dot)org
Subject: Someone's broken psql's connection-failure error reporting
Date: 2003-02-13 18:21:01
Message-ID: 23555.1045160461@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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 ...

regards, tom lane

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-02-13 18:30:50 Re: [HACKERS] parse_expr.c another type produced by transformations?
Previous Message Oliver Elphick 2003-02-13 18:18:31 Re: location of the configuration files