connection_postgres: connection_postgres

Description Usage Arguments

View source: R/connection_postgres.R

Description

Adds the ability to re-try connections on failure and reads from pre-defined environment variables names.

Usage

1
2
3
4
5
6
7
8
connection_postgres(
  POSTGRES_HOST = NULL,
  POSTGRES_PORT = NULL,
  POSTGRES_USER = NULL,
  POSTGRES_PASSWORD = NULL,
  POSTGRES_DB = NULL,
  n_connection_tries = 5
)

Arguments

POSTGRES_HOST

for the host name

POSTGRES_PORT

for the port number

POSTGRES_USER

for the user name

POSTGRES_PASSWORD

for the password

POSTGRES_DB

for the name of the database on the host, or the database file name

n_connection_tries

Number of times to try connecting to PostgreSQL


fdrennan/redditsuite documentation built on Feb. 19, 2021, 4:32 a.m.