Skip to contents

Connecting and disconnecting

Connecting to and disconnecting from a database.

Tables

Reading and writing entire tables.

Queries and statements

Sending queries and executing statements.

Transactions

Ensuring multiple statements are executed together, or not at all.

dbBegin(<PqConnection>) dbCommit(<PqConnection>) dbRollback(<PqConnection>)
Transaction management.
postgresIsTransacting()
Return whether a transaction is ongoing

Misellaneous

Functions specific to Postgres

RPostgres RPostgres-package
RPostgres: Rcpp Interface to PostgreSQL
postgresHasDefault() postgresDefault()
Check if default database is available.
postgresWaitForNotify()
Wait for and return any notifications that return within timeout