<?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 => 'it',
  ),
  'this' => 
  array (
    0 => 'function.pg-free-result.php',
    1 => 'pg_free_result',
    2 => 'Libera la memoria allocata per i risultati',
  ),
  'up' => 
  array (
    0 => 'ref.pgsql.php',
    1 => 'PostgreSQL Funzioni',
  ),
  'prev' => 
  array (
    0 => 'function.pg-flush.php',
    1 => 'pg_flush',
  ),
  'next' => 
  array (
    0 => 'function.pg-get-notify.php',
    1 => 'pg_get_notify',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'it',
    'path' => 'reference/pgsql/functions/pg-free-result.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.pg-free-result" class="refentry">
   <div class="refnamediv">
    <h1 class="refname">pg_free_result</h1> 
    <p class="verinfo">(PHP 4 &gt;= 4.2.0, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">pg_free_result</span> &mdash; <span class="dc-title">Libera la memoria allocata per i risultati</span></p>

   </div>
   <div class="refsect1 unknown-346" id="refsect1-function.pg-free-result-unknown-346">
    <h3 class="title">Descrizione</h3>
     <div class="methodsynopsis dc-description">
      <span class="methodname"><strong>pg_free_result</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span> <code class="parameter">$risultato</code></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

    <p class="para rdfs-comment">
     <span class="function"><strong>pg_free_result()</strong></span> deve essere chiamata solo se si è 
     preoccupati di aver usato troppa memoria durante l&#039;esecuzione dello
     script. Normalmente tutte le aree di memoria allocate per i risultati sono automaticamente deallocate
     alla fine dell&#039;esecuzione. Se invece si è sicuri di non dover più
     utilizzare i dati del risultato, è possibile chiamare
     <span class="function"><strong>pg_free_result()</strong></span> con la 
     risorsa <code class="parameter">result</code> come argomento e la
     memoria associata verrà liberata. Restituisce <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> in caso di successo, <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> in caso di fallimento.
    </p>
    <blockquote class="note"><p><strong class="note">Nota</strong>: 
     <p class="para">
      Questa funzione si chiamava <code class="literal">pg_freeresult()</code>.
     </p>
    </p></blockquote>
    <p class="para">
     See also <span class="function"><a href="function.pg-query.php" class="function">pg_query()</a></span>.
    </p>
   </div>

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