Re: BUG #3504: Some listening sessions never return from writing, problems ensue

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #3504: Some listening sessions never return from writing, problems ensue
Дата
Msg-id 17555.1186102193@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #3504: Some listening sessions never return from writing, problems ensue  ("Peter Koczan" <pjkoczan@gmail.com>)
Ответы Re: BUG #3504: Some listening sessions never return from writing, problems ensue
Список pgsql-bugs
"Peter Koczan" <pjkoczan@gmail.com> writes:
> This app uses Perl/DBD::Pg, and the code is basically:

> while ($dbh->func('pg_notifies')) {
>   # do stuff
> }

If I'm not mistaken, that loop would process all the currently available
notify messages and then fall out.  So the real question is what's
around this --- what conditions will make the program come back to this
loop periodically?  Or not do so?

            regards, tom lane

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

Предыдущее
От: "Peter Koczan"
Дата:
Сообщение: Re: BUG #3504: Some listening sessions never return from writing, problems ensue
Следующее
От: Laurent Martelli
Дата:
Сообщение: Re: BUG #3506: to_number silently ignore characters