<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.pgsql.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'ru',
  ),
  'this' => 
  array (
    0 => 'function.pg-jit.php',
    1 => 'pg_jit',
    2 => 'Возвращает информацию о JIT сервера',
  ),
  'up' => 
  array (
    0 => 'ref.pgsql.php',
    1 => 'Функции PostgreSQL',
  ),
  'prev' => 
  array (
    0 => 'function.pg-insert.php',
    1 => 'pg_insert',
  ),
  'next' => 
  array (
    0 => 'function.pg-last-error.php',
    1 => 'pg_last_error',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'ru',
    'path' => 'reference/pgsql/functions/pg-jit.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.pg-jit" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">pg_jit</h1>
  <p class="verinfo">(PHP 8 &gt;= 8.4.0)</p><p class="refpurpose"><span class="refname">pg_jit</span> &mdash; <span class="dc-title">Возвращает информацию о JIT сервера</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.pg-jit-description">
  <h3 class="title">Описание</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">function</span> <span class="methodname"><strong>pg_jit</strong></span>(<span class="methodparam"><span class="type"><span class="type"><a href="language.types.null.php" class="type null">?</a></span><span class="type"><a href="class.pgsql-connection.php" class="type PgSql\Connection">PgSql\Connection</a></span></span> <code class="parameter">$connection</code><span class="initializer"> = <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong></span></span>): <span class="type"><a href="language.types.array.php" class="type array">array</a></span></div>

  <p class="simpara">
   Функция <span class="function"><strong>pg_jit()</strong></span> возвращает массив с информацией о JIT
   (компиляции Just-In-Time) сервера PostgreSQL.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.pg-jit-parameters">
  <h3 class="title">Список параметров</h3>
  <dl>
   
    <dt><code class="parameter">connection</code></dt>
    <dd>
     <p class="para">Экземпляр
класса <span class="classname"><a href="class.pgsql-connection.php" class="classname">PgSql\Connection</a></span>.
Функция выберет соединение по умолчанию, если для параметра <code class="parameter">connection</code> указали значение <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong>.
Соединение по умолчанию — последнее соединение,
которое установила функция <span class="function"><a href="function.pg-connect.php" class="function">pg_connect()</a></span> или <span class="function"><a href="function.pg-pconnect.php" class="function">pg_pconnect()</a></span>.
<div class="warning"><strong class="warning">Внимание</strong><p class="simpara">Начиная с PHP 8.1.0 выбор функцией соединения по умолчанию устарел.</p></div></p>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.pg-jit-returnvalues">
  <h3 class="title">Возвращаемые значения</h3>
  <p class="simpara">
   Функция возвращает массив (<span class="type"><a href="language.types.array.php" class="type array">array</a></span>) с информацией о JIT сервера.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.pg-jit-seealso">
  <h3 class="title">Смотрите также</h3>
  <ul class="simplelist">
   <li><span class="function"><a href="function.pg-version.php" class="function" rel="rdfs-seeAlso">pg_version()</a> - Возвращает массив, содержащий версии клиента, протокола клиент-серверного
   взаимодействия и сервера (если доступно)</span></li>
  </ul>
 </div>


</div><?php manual_footer($setup); ?>