summaryrefslogtreecommitdiff
path: root/ext/pgsql/tests/pg_get_pid.inc
blob: 5aa8e7efa53bf77ae053b809849a577df45441d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?php
// optional functions

include('config.inc');


$db = pg_connect($conn_str);
$pid = pg_get_pid($db);

is_integer($pid) ? print 'OK' : print 'NG';


?>