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 27646.1187323043@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #3504: Some listening sessions never return from writing, problems ensue  ("Peter Koczan" <pjkoczan@gmail.com>)
Список pgsql-bugs
"Peter Koczan" <pjkoczan@gmail.com> writes:
> For instance, I can open up two connections on my test server and
> illustrate the problem.

Well, the fact that psql acts that way is not unexpected, because it
doesn't monitor the database connection constantly --- when it's waiting
for console input, it just sleeps.  It's not so much "send a NOTIFY"
that wakes it up, as "do anything at all with the database connection".

What you've told us so far about your own application doesn't suggest
that it would need to be told to send a notify before it remembered to
check for input, but maybe there's some interaction there that you
missed.

            regards, tom lane

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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: BUG #3544: SQLException from JDBC driver
Следующее
От: "Peter Koczan"
Дата:
Сообщение: Re: BUG #3504: Some listening sessions never return from writing, problems ensue