dbConnect.PgSQL {RdbiPgSQL}R Documentation

Connect to PostgreSQL backend

Description

dbConnect establishes a connection to the PostgreSQL database when passed a PgSQL object.

Usage

## S3 method for class 'PgSQL':
dbConnect(dbObj, ...)

Arguments

dbObj An object of class PgSQL
... Additional arguments to pass to the database

Details

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.

Value

A connection object

Author(s)

Timothy H. Keitt

References

http://rdbi.sourceforge.net/

See Also

PgSQL


[Package RdbiPgSQL version 1.12.0 Index]