| From: | Kurt Roeckx <Q(at)ping(dot)be> |
|---|---|
| To: | Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au> |
| Cc: | Hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Possible psql bug |
| Date: | 2003-07-10 17:12:27 |
| Message-ID: | 20030710171227.GA7260@ping.be |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Thu, Jul 10, 2003 at 10:35:04AM +0800, Christopher Kings-Lynne wrote:
> When I run psql on freebsd/alpha with latest CVS and no postmaster running,
> I get this:
>
> bash-2.03$ psql test
> psql: could not connect to server: No such file or directory
> Is the server running locally and accepting
> connections on Unix domain socket "ùÿÿÿÿÿÿÿØ`"?
This is probably getnameinfo() not supporting AF_UNIX, which I
already was afraid of. And the return value of getnameinfo()
isn't checked either.
My suggestion was to make our own getnameinfo_unix() like we have
a getaddrinfo_unix() for exactly the same reason.
It should be rather easy to write since we already have a
getnameinfo() in it that supports it.
Kurt
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jenny - | 2003-07-10 18:40:25 | table-level and row-level locks. |
| Previous Message | Doug McNaught | 2003-07-10 17:03:21 | Re: Beta start date |