Skip site navigation (1) Skip section navigation (2)

Re: LISTEN/NOTIFY enhancement: Portable signal handling?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Sean Chittenden <sean(at)chittenden(dot)org>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: LISTEN/NOTIFY enhancement: Portable signal handling?
Date: 2004-12-27 17:41:07
Message-ID: 7373.1104169267@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Sean Chittenden <sean(at)chittenden(dot)org> writes:
> The async interface is nice, but not really useful to me as it requires 
> polling, instead of unblocking when an event comes through, which would 
> create a vastly more real time interface that should be easier on the 
> database.

BTW, this is nonsense; the backend sends a message exactly when the
NOTIFY occurs.  It may well be that libpq needs some work to make it
easier to wait for a NOTIFY without polling, but again there isn't a
reason to clutter the server-side code with it.

			regards, tom lane

In response to

Responses

pgsql-hackers by date

Next:From: Joe ConwayDate: 2004-12-27 18:08:36
Subject: Re: production server down
Previous:From: Tom LaneDate: 2004-12-27 17:04:35
Subject: Re: LISTEN/NOTIFY enhancement: Portable signal handling?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group