(PHP 8 >= 8.4.0)
A PDO subclass representing a connection using the PostgreSQL PDO driver.
This driver supports a dedicated SQL query parser for the PostgreSQL dialect. It can handle the following:
??
as escape sequence for the
?
operator.
$tableName
,$rows
,$separator
= "\t",$nullAs
= "\\\\N",$fields
= null
$tableName
,$filename
,$separator
= "\t",$nullAs
= "\\\\N",$fields
= null
$tableName
,$separator
= "\t",$nullAs
= "\\\\N",$fields
= null
$tableName
,$filename
,$separator
= "\t",$nullAs
= "\\\\N",$fields
= null
$dsn
,$username
= null
,$password
= null
,$options
= null
$dsn
,$username
= null
,$password
= null
,$options
= null
$query
, ?int $fetchMode
= PDO::FETCH_COLUMN, int $colno
): PDOStatement|false$query
,$fetchMode
= PDO::FETCH_CLASS,$classname
,$constructorArgs
$query
, ?int $fetchMode
= PDO::FETCH_INTO, object $object
): PDOStatement|falsePdo\Pgsql::ATTR_DISABLE_PREPARES
Pdo\Pgsql::ATTR_RESULT_MEMORY_SIZE
null
if no results exist before the query is executed.
Pdo\Pgsql::TRANSACTION_IDLE
Pdo\Pgsql::TRANSACTION_ACTIVE
Pdo\Pgsql::TRANSACTION_INTRANS
Pdo\Pgsql::TRANSACTION_INERROR
Pdo\Pgsql::TRANSACTION_UNKNOWN