array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'it', ), 'this' => array ( 0 => 'function.pg-flush.php', 1 => 'pg_flush', 2 => 'Flush outbound query data on the connection', ), 'up' => array ( 0 => 'ref.pgsql.php', 1 => 'PostgreSQL Funzioni', ), 'prev' => array ( 0 => 'function.pg-field-type-oid.php', 1 => 'pg_field_type_oid', ), 'next' => array ( 0 => 'function.pg-free-result.php', 1 => 'pg_free_result', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/pgsql/functions/pg-flush.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>
(PHP 5 >= 5.6.0, PHP 7, PHP 8)
pg_flush — Flush outbound query data on the connection
pg_flush() flushes any outbound query data waiting to be sent on the connection.
connectionAn PgSql\Connection instance.
Returns true if the flush was successful or no data was waiting to be
flushed, 0 if part of the pending data was flushed but
more remains o false in caso di fallimento.
| Versione | Descrizione |
|---|---|
| 8.1.0 |
The connection parameter expects an PgSql\Connection
instance now; previously, a resource was expected.
|