Re: NOTIFY in asynchronous mode

Поиск
Список
Период
Сортировка
От Daniele Varrazzo
Тема Re: NOTIFY in asynchronous mode
Дата
Msg-id CA+mi_8ZM9-oPc3Ocw1ODOqSMDjffT+2p461fNWPgxxqwgBsi4w@mail.gmail.com
обсуждение исходный текст
Ответ на NOTIFY in asynchronous mode  (Tobias Oberstein <tobias.oberstein@tavendo.de>)
Ответы Re: NOTIFY in asynchronous mode  (Jan Urbański <wulczer@wulczer.org>)
Список psycopg
On Fri, Nov 4, 2011 at 7:12 PM, Tobias Oberstein
<tobias.oberstein@tavendo.de> wrote:

> is it possible to use notification (sent via NOTIFY from Postgres) in asynchronous mode?

Yes: you should register the connection's file descriptor in the
twisted reactor so that you can be notified by the kernel when the
server sends you a notification.

-- Daniele

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

Предыдущее
От: Tobias Oberstein
Дата:
Сообщение: NOTIFY in asynchronous mode
Следующее
От: Jan Urbański
Дата:
Сообщение: Re: NOTIFY in asynchronous mode