since PostgreSQL 11, LLVM JIT feature had been brought thus reporting the settings to the client connection. Close GH-14566
22 lines
281 B
PHP
22 lines
281 B
PHP
--TEST--
|
|
PostgreSQL JIT support
|
|
--EXTENSIONS--
|
|
pgsql
|
|
--SKIPIF--
|
|
<?php include("inc/skipif.inc"); ?>
|
|
--FILE--
|
|
<?php
|
|
include('inc/config.inc');
|
|
|
|
$db = pg_connect($conn_str);
|
|
var_dump(pg_jit($db));
|
|
pg_close($db);
|
|
?>
|
|
--EXPECTF--
|
|
array(2) {
|
|
["jit_provider"]=>
|
|
%s
|
|
["jit"]=>
|
|
%s
|
|
}
|