docs: public DataSource createDataSourceFromConnectionInfo(final ConnectionInfo connectionInfo) throws SQLException
      {
          final PGSimpleDataSource ds = new PGSimpleDataSource();
          ds.setPortNumber(connectionInfo.getPort());
          ds.setDatabaseName(connectionInfo.getDbName());
          ds.setUser(connectionInfo.getUser());
          return ds;
      }