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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-hackers by date

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