PGConnection.getNotifications(0) doesn't block

Поиск
Список
Период
Сортировка
От Pawel Veselov
Тема PGConnection.getNotifications(0) doesn't block
Дата
Msg-id CAMnJ+Bf7STMy2DwKjT12dxT-j+Han1KoVSkmFZ9Otuwd6to+DA@mail.gmail.com
обсуждение исходный текст
Ответы Re: PGConnection.getNotifications(0) doesn't block
Re: PGConnection.getNotifications(0) doesn't block
Список pgsql-jdbc
Hello.

I'm implementing a bit that is expected to wait for published channel
notifications,
and once there are any - process them.

I'm using PGConnection.getNotifications(0), but that immediately
returns an empty
array, and doesn't block like JavaDoc says it should.

I'm on 42.6.0.

What am I missing?

Thank you.



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

Предыдущее
От: Laurenz Albe
Дата:
Сообщение: Re: Executing the same query multiple times gets slow
Следующее
От: Pawel Veselov
Дата:
Сообщение: Re: PGConnection.getNotifications(0) doesn't block