Re: Bug in libpq causes local clients to hang

Поиск
Список
Период
Сортировка
От Jeffrey Baker
Тема Re: Bug in libpq causes local clients to hang
Дата
Msg-id fd145f7d0803240921t34a8ea89x70a4c72945b7de91@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Bug in libpq causes local clients to hang  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Bug in libpq causes local clients to hang  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sun, Mar 23, 2008 at 8:35 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> "Jeffrey Baker" <jwbaker@gmail.com> writes:
>  > You'll note that I'm using the DBD::Pg Perl interface.  So far I've
>  > never seen this happen with TCP connections, only with UNIX sockets.
>
>  If it works over TCP and not over Unix socket, it's a kernel bug.
>  The libpq code doesn't really know the difference after connection
>  setup.

The same thought occurred to me, but it could also be a race condition
which the unix socket is fast enough to trigger but the TCP socket is
not fast enough to trigger.  I'm peeking around in the code but
nothing jumps out yet.

-jwb


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Better error message for select_common_type()
Следующее
От: Tom Lane
Дата:
Сообщение: Proposal: new ereport option "errdetail_log"