Fwd: Re: Possible psql bug

Поиск
Список
Период
Сортировка
От Kurt Roeckx
Тема Fwd: Re: Possible psql bug
Дата
Msg-id 20030714204622.GA526@ping.be
обсуждение исходный текст
Ответы Re: Fwd: Re: Possible psql bug  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
This mail didn't make it to the list, it seems.


Kurt

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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Possible psql bug
Следующее
От: Joe Conway
Дата:
Сообщение: duplicate define in elog.h