PHP 8.3.0 RC 6 available for testing

pg_enter_pipeline_mode

(PHP 8 >= 8.3.0)

pg_enter_pipeline_modeCauses a connection to enter pipeline mode if it is currently idle.

说明

pg_enter_pipeline_mode(PgSql\Connection $connection): bool

Causes a connection to enter pipeline mode if it is currently idle.

参数

connection

PgSql\Connection 实例。

返回值

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

参见

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top