The connection to the PostgreSQL server.
See the General Usage page for an introduction on how to use this class.
int$defaultFetchType# = pq\Result::FETCH_ARRAY
int$defaultAutoConvert# = pq\Result::CONV_ALL
int$defaultTransactionIsolation# = pq\Transaction::READ_COMMITTED
Create a new PostgreSQL connection.
Declare a cursor for a query.
Asynchronously declare a cursor for a query.
Escape binary data for use within a query with the type bytea.
Execute one or multiple SQL queries on the connection.
Execute an SQL query with properly escaped parameters substituted.
Flush pending writes on the connection.
Fetch the result of an asynchronous query.
Listen on $channel for notifications.
Asynchronously start listening on $channel for notifcations.
Notify all listeners on $channel with $message.
Asynchronously start notifying all listeners on $channel with $message.
Stops listening for an event type.
Listen for an event.
Poll an asynchronously operating connection.
Prepare a named statement for later execution with pq\Statement::execute().
string for safe use in a query.
Quote an identifier for safe usage as name.
Attempt to reset a possibly broken connection to a working state.
Asynchronously reset a possibly broken connection to a working state.
Set a data type converter.
Begin a transaction.
Asynchronously begin a transaction.
Trace protocol communication with the server.
Unescape bytea data retrieved from the server.
Stop listening for notifications on channel $channel.
Asynchronously stop listening for notifications on channel $channel.
Stop applying a data type converter.