Re: Listen / Notify - what to do when the queue is full
Merlin Moncure <mmoncure@gmail.com>
From: Merlin Moncure <mmoncure@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Arnaud Betremieux <arnaud.betremieux@keyconsulting.fr>, Peter Eisentraut <peter_e@gmx.net>, Cyrille Chépélov <cyrille.chepelov@keyconsulting.fr>, pgsql-hackers@postgresql.org
Date: 2010-01-11T13:51:24Z
Lists: pgsql-hackers
On Mon, Jan 11, 2010 at 8:25 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote: > >> I'm working on a proof of concept patch to use Joachim's new notify >> function to introduce case 3. I think this means going through the >> planner and executor, so I might as well do case 4 as well. > > It would be a lot less work to introduce a function like send_notify() > that could be invoked within a regular SELECT. Pushing a utility +1 IMO, this neatly solves the problem and addresses some of the concerns I was raising upthread. A bytea version would be nice but a text only version is workable. merlin