Re: implementing asynchronous notifications

Поиск
Список
Период
Сортировка
От Andras Kadinger
Тема Re: implementing asynchronous notifications
Дата
Msg-id Pine.LNX.4.44.0504110548390.13042-200000@ns.surfnonstop.com
обсуждение исходный текст
Ответ на Re: implementing asynchronous notifications  (Andras Kadinger <bandit@surfnonstop.com>)
Ответы Re: implementing asynchronous notifications  (Oliver Jowett <oliver@opencloud.com>)
Список pgsql-jdbc
On Mon, 11 Apr 2005, Andras Kadinger wrote:

> I am unclear as to how to handle possible protocol errors (e.g. when what
> we end up reading from the connection is not an 'A'sync Notify).
> Theoretically, in a working connection this should not happen though.

Yes, it could: reading the PostgreSQL protocol documentation, it says
"frontends should always be prepared to accept and display NoticeResponse
messages, even when the connection is nominally idle".

So I now added code to process Error 'N'otifications as well.

Вложения

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

Предыдущее
От: Andras Kadinger
Дата:
Сообщение: Re: implementing asynchronous notifications
Следующее
От: Oliver Jowett
Дата:
Сообщение: Re: implementing asynchronous notifications