(PHP 8 >= 8.3.0)
pg_enter_pipeline_mode — Causes a connection to enter pipeline mode if it is currently idle.
Causes a connection to enter pipeline mode if it is currently idle.
Returns true
if it succeeds to enter in pipeline mode or false
示例 #1 pg_enter_pipeline_mode() example
<?php
$dbconn = pg_connect("host=localhost port=5432 dbname=mary")
or die("Could not connect");
echo pg_enter_pipeline_node($dbconn);
pg_close($dbconn);
?>
以上示例会输出:
false