PgDAC

TPgNotificationEvent Procedure Reference

This type is used for the TPgConnection.OnNotification event.

Unit

PgAccess

Syntax

TPgNotificationEvent = procedure (Sender: TObject; const EventName: string; PID: integer; const EventMessage: string) of object;

Parameters
Sender
An object that raised the event.
EventName
Holds the event name.
PID
Holds the process ID of a connection that has sent this notification.
EventMessage
Holds the event message.

Remarks

EventMessage parameter supported in PostgreSQL 9.0 or higher. For previous PostgreSQL versions EventMessage will be always empty.

© 1997-2020 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback