Setup a PostgreSQL database connection
Arguments
- dbname
(character) name of database, has to exist to open a connection
- host
(character) host of the database, see
RPostgres::Postgres()
- port
(integer) port of the database, see
RPostgres::Postgres()
- ...
additional named parameters passed on to
RPostgres::Postgres()
Examples
if (FALSE) {
con <- src_postgres()
print(con)
}