Re: LISTEN/NOTIFY enhancement: Portable signal handling? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: LISTEN/NOTIFY enhancement: Portable signal handling?
Date
Msg-id 7028.1104167075@sss.pgh.pa.us
Whole thread Raw
In response to LISTEN/NOTIFY enhancement: Portable signal handling?  (Sean Chittenden <sean@chittenden.org>)
List pgsql-hackers
Sean Chittenden <sean@chittenden.org> writes:
> * Allow LISTEN to block until a value changes.  LISTEN [BLOCK|WAIT] 
> 'relname'

> * Allow LISTEN to have a timeout

>    LISTEN name [BLOCK] [WITH] [TIMEOUT [=] ''::INTERVAL];

> * Allow blocking LISTEN queries to update the status of the proc title
>    while blocking.

I don't believe in any of these things, at least not on the server side.
You can get the same effect on the client side without cluttering the
LISTEN semantics and implementation.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Adrian Maier
Date:
Subject: Re: Help Needed
Next
From: Tom Lane
Date:
Subject: Re: LISTEN/NOTIFY enhancement: Portable signal handling?