xref: /PHP-5.3/ext/pgsql/tests/20pg_get_pid.phpt (revision daded6e6)
1--TEST--
2PostgreSQL pg_get_pid() functions
3--SKIPIF--
4<?php include("skipif.inc"); ?>
5--FILE--
6<?php
7// optional functions
8
9include('config.inc');
10
11$db = pg_connect($conn_str);
12$pid = pg_get_pid($db);
13
14is_integer($pid) ? print 'OK' : print 'NG';
15?>
16--EXPECT--
17OK
18