waiting for notfications on the server

Поиск
Список
Период
Сортировка
От Marc Munro
Тема waiting for notfications on the server
Дата
Msg-id 1307733026.32156.5.camel@bluebottle.bloodnok.com
обсуждение исходный текст
Ответы Re: waiting for notfications on the server
Список pgsql-general
I'd like to be able to wait for notify events using a user-defined C
function.  All of the examples and code I can find use libpq.

Is there some way I can synchronously wait for notify events using SPI?

Is there some reason this is a dumb idea?  I wondered about the risk of
deadlocking a backend but can't see why using libpq would eliminate this
risk.

Anyone care to enlighten me?

Thanks.

__
Marc


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: duplicate postings
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: waiting for notfications on the server