(PHP 4 = 4.3.0) pg_get_pid() gets backend (database server process) PID. PID is useful to check if NOTIFY message is sent from other process or not. See also pg_get_notify() δΎ‹ 1PostgreSQL backend PID