mirror of
https://github.com/php/php-src.git
synced 2026-03-24 08:12:21 +01:00
This makes the tests independent of each other and allows them to be run in parallel. Co-authored-by: Gina Peter Banyard <girgias@php.net>
20 lines
292 B
PHP
20 lines
292 B
PHP
--TEST--
|
|
PostgreSQL pg_get_pid() functions
|
|
--EXTENSIONS--
|
|
pgsql
|
|
--SKIPIF--
|
|
<?php include("inc/skipif.inc"); ?>
|
|
--FILE--
|
|
<?php
|
|
// optional functions
|
|
|
|
include('inc/config.inc');
|
|
|
|
$db = pg_connect($conn_str);
|
|
$pid = pg_get_pid($db);
|
|
|
|
is_integer($pid) ? print 'OK' : print 'NG';
|
|
?>
|
|
--EXPECT--
|
|
OK
|