connect()
private

Connects to a PostgreSQL server and sets up the adapter depending on the connected server’s characteristics.