Re: NOTIFY in asynchronous mode - Mailing list psycopg

From Daniele Varrazzo
Subject Re: NOTIFY in asynchronous mode
Date
Msg-id CA+mi_8ZM9-oPc3Ocw1ODOqSMDjffT+2p461fNWPgxxqwgBsi4w@mail.gmail.com
Whole thread Raw
In response to NOTIFY in asynchronous mode  (Tobias Oberstein <tobias.oberstein@tavendo.de>)
Responses Re: NOTIFY in asynchronous mode
List 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 by date:

Previous
From: Tobias Oberstein
Date:
Subject: NOTIFY in asynchronous mode
Next
From: Jan Urbański
Date:
Subject: Re: NOTIFY in asynchronous mode