Address = FunctionParameters["PG_IP"]; Login = "bayselonarrend"; Password = FunctionParameters["PG_Password"]; Base = "postgres"; ConnectionString = OPI_PostgreSQL.GenerateConnectionString(Address, Base, Login, Password); Result = OPI_PostgreSQL.CreateConnection(ConnectionString); OPI_PostgreSQL.CloseConnection(Result); // With TLS Address = FunctionParameters["PG_IP"]; Port = "5433"; ConnectionString = OPI_PostgreSQL.GenerateConnectionString(Address, Base, Login, Password, Port); TLSSettings = OPI_PostgreSQL.GetTlsSettings(True); Result = OPI_PostgreSQL.CreateConnection(ConnectionString, TLSSettings); OPI_PostgreSQL.CloseConnection(Result);