pg_get_pid

Supported Versions: PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8
Gets the backend's process ID
<?php pg_get_pid(PgSql\Connection $connection): int
<?php             $a['transaction'] = new ConstStub(self::TRANSACTION_STATUS[$a['transaction']], $a['transaction']);

        }



        $a['pid'] = pg_get_pid($link);

        $a['last error'] = pg_last_error($link);

        $a['last notice'] = pg_last_notice($link);

        $a['host'] = pg_host($link);