From Xojo Documentation
Connects to the database server and opens the database for access.
Before proceeding with database operations, test to be sure that Connect returns True.
The additionalOptions are passed to PostgreSQL as is and are not escaped in any way. The available options for this parameter are specified here: http://www.postgresql.org/docs/9.1/static/libpq-connect.html
To connect using SSL, use the SSLMode, SSLCertificate and SSLKey properties as appropriate for how your server is configured.
This code attempts to connect to the "BaseballLeague" database on a PostgreSQL server: