How to use [pgsql.connect]

The reference page of pgsql.connect has its arguments, constraints and declaration.

Connects to a database