Page 1 of 1

Alerter / Events

Posted: Tue 30 Mar 2010 16:32
by dschuch
Hy,

is it is possible to let the alerter listen on all events?

it seems that with a ";" i can listen on different events.

is there is a way to give additional informations to the event?

e.g. EVENT=VALUE

Daniel.

Posted: Thu 01 Apr 2010 09:18
by bork
Hello

TPgAlerter uses PostgreSQL commands LISTEN and NOTIFY for sending and receiving alerts. You send an alert wit the help of the SendEvent method of the TPgAlerter component and only you will know the name of this alert. To get this alert you should define its name in the Events property of the TPgAlerter component. PostgreSQL command LISTEN cannot get all alerts without definition name. The TPgAlerter component is restricted by the LISTEN command of PostgreSQL.