Returns the process ID (PID) of the backend process handling this connection.
The backend PID is useful for debugging purposes and for comparison to
NOTIFY
messages (which include the PID of the notifying backend process). Note that the PID belongs to a process executing on the database server host, not the local host!
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(c_ptr), | intent(in) | :: | conn |