This function able to establish a connection with a PostgreSQL database.

postgresql_dbconnection(db_user, db_password, db_dbname, db_host, db_port)

Arguments

db_user

character expected. Login or username for the database connection.

db_password

character expected. Password for the database connection.

db_dbname

character expected. Name/identification of the database.

db_host

character expected. Host adress of the database.

db_port

integer expected. Identification of the port.

Value

The function return a list.