(PHP 8 >= 8.3.0)
pg_exit_pipeline_mode — Causes a connection to exit pipeline mode
Causes a connection to exit pipeline mode if it is currently in pipeline mode with an empty queue and no pending results.
Returns true
if it succeeds to exit the pipeline mode, assuming
it was in this mode via pg_enter_pipeline_mode(),
false
otherwise.
示例 #1 pg_exit_pipeline_mode() example
<?php
$dbconn = pg_connect("host=localhost port=5432 dbname=mary")
or die("Could not connect");
echo pg_exit_pipeline_node($dbconn);
pg_close($dbconn);
?>
以上示例会输出:
false