EPUB | CHM | PDF

TPSQLNotify.Events.OnNotify

Top Previous Next

Fires when TPSQLNotify recieves notification from PostgreSQL server.

Syntax:

TPSQLNotifyEvent = procedure(Sender: TObject;
                              Event: String;
                          ProcessID: Integer) of object;
property OnNotify: TPSQLNotifyEvent;

Description:

Write your own OnNotify event handler to handle notifications from other client applications. For example, to refresh table or to notify client application user about some event in your system was happened.

Event will contain notification name.

ProcessID will contain an ID of client application process, which sent this notification.