LISTEN / NOTIFY

From: Hannes Dorbath <light(at)theendofthetunnel(dot)de>
To: pgsql-general(at)postgresql(dot)org
Subject: LISTEN / NOTIFY
Date: 2006-12-08 14:38:49
Message-ID: elbt60$30vt$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Is there a way I can have notifications to be streamed to the listener,
so I don't need to poll with LISTEN?

LISTEN foo;
LISTEN
NOTIFY foo;
NOTIFY
Asynchronous notification "foo" received from server process with PID 3593.

This does work for the same backend, but not for notifications issued
from another one.

Thanks!

--
Regards,
Hannes Dorbath

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Angva 2006-12-08 14:47:37 Re: loading data, creating indexes, clustering, vacuum...
Previous Message Ron Johnson 2006-12-08 14:00:23 Re: Auto Backup facility?