dbConnect.PgSQL {RdbiPgSQL} | R Documentation |
dbConnect
establishes a connection to the PostgreSQL database
when passed a PgSQL object.
## S3 method for class 'PgSQL': dbConnect(dbObj, ...)
dbObj |
An object of class PgSQL |
... |
Additional arguments to pass to the database |
The first argument must be an object of class PgSQL. See the function
PgSQL
for details. Additional arguments can be passed
after the database object. The most important of these will be
'host', 'dbname' and 'user'. Check your PostgreSQL documentation for
a full list of options.
A connection object
Timothy H. Keitt