PostgresDAC

TPSQLDatabase.Methods.GetBackendPID

Previous Next

Returns the process ID of the backend server handling this connection.

Syntax:

function GetBackendPID: Integer;

Description:

The backend PID is useful for debugging purposes and for comparison to NOTIFY messages (which include the PID of the notifying backend).

Please see Notify demo for details.