PostgreSQLDriver-class: Class PostgreSQLDriver

Description Generators Extends Methods References See Also Examples

Description

An PostgreSQL driver implementing the R/S-Plus database (DBI) API.

Generators

The main generators are dbDriver and PostgreSQL.

Extends

Class "DBIDriver", directly. Class "PostgreSQLObject", directly. Class "DBIObject", by class "DBIDriver". Class "dbObjectId", by class "PostgreSQLObject".

Methods

coerce

signature(from = "PostgreSQLObject", to = "PostgreSQLDriver"): ...

dbConnect

signature(drv = "PostgreSQLDriver"): ...

dbGetInfo

signature(dbObj = "PostgreSQLDriver"): ...

dbListConnections

signature(drv = "PostgreSQLDriver"): ...

dbUnloadDriver

signature(drv = "PostgreSQLDriver"): ...

summary

signature(object = "PostgreSQLDriver"): ...

References

See the Database Interface definition document DBI.pdf in the base directory of this package or http://developer.r-project.org/db.

See Also

DBI base classes:

DBIObject-class DBIDriver-class DBIConnection-class DBIResult-class

PostgreSQL classes:

PostgreSQLObject-class PostgreSQLDriver-class PostgreSQLConnection-class PostgreSQLResult-class

Examples

1
2
3
4
5
## Not run: 
drv <- dbDriver("PostgreSQL")
con <- dbConnect(drv, dbname="template1")

## End(Not run)

RPostgreSQL documentation built on May 2, 2019, 8:49 a.m.