The Pdo\Pgsql class
Pdo\Pgsql
&reftitle.intro;
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:
Single and double-quoted literals, with doubling as escaping mechanism
C-style “escape” string literals
Dollar-quoted string literals
Two-dashes and C-style comments (non-nested).
Support for ?? as escape sequence for the
? operator.
&reftitle.classsynopsis;
Pdo
Pgsql
extends
PDO
&InheritedConstants;
&Constants;
public
const
int
Pdo\Pgsql::ATTR_DISABLE_PREPARES
public
const
int
Pdo\Pgsql::ATTR_RESULT_MEMORY_SIZE
public
const
int
Pdo\Pgsql::TRANSACTION_IDLE
public
const
int
Pdo\Pgsql::TRANSACTION_ACTIVE
public
const
int
Pdo\Pgsql::TRANSACTION_INTRANS
public
const
int
Pdo\Pgsql::TRANSACTION_INERROR
public
const
int
Pdo\Pgsql::TRANSACTION_UNKNOWN
&Methods;
&InheritedMethods;
&reftitle.constants;
Pdo\Pgsql::ATTR_DISABLE_PREPARES
Send the query and the parameters to the server together in a single
call, avoiding the need to create a named prepared statement separately.
If the query is only going to be executed once this can reduce latency by
avoiding an unnecessary server round-trip.
Pdo\Pgsql::ATTR_RESULT_MEMORY_SIZE
Returns the amount of memory, in bytes, allocated to the specified
query result PDOStatement instance,
or &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
&reference.pdo-pgsql.pdo.entities.pgsql;