Alerter / Events

Discussion of open issues, suggestions and bugs regarding PgDAC (PostgreSQL Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
dschuch
Posts: 75
Joined: Thu 05 Feb 2009 15:29
Location: Dresden

Alerter / Events

Post by dschuch » Tue 30 Mar 2010 16:32

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.

bork
Devart Team
Posts: 649
Joined: Fri 12 Mar 2010 07:55

Post by bork » Thu 01 Apr 2010 09:18

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.

Post Reply