@Test
    public void postgresqlParseFailover2() {
        DatabaseInfo dbInfo = jdbcUrlParser.parse("jdbc:postgresql://host1:5432,host2:5432/databaseName?user=fred");
        Assertions.assertTrue(dbInfo.isParsingComplete());

        Assertions.assertEquals(dbInfo.getType(), PostgreSqlConstants.POSTGRESQL);
        Assertions.assertEquals(dbInfo.getHost().get(0), "host1:5432");
        Assertions.assertEquals(dbInfo.getHost().get(1), "host2:5432");
        Assertions.assertEquals(dbInfo.getDatabaseId(), "databaseName");
        Assertions.assertEquals(dbInfo.getUrl(), "jdbc:postgresql://host1:5432,host2:5432/databaseName");
        logger.info(dbInfo.toString());
    }
https://jdbc.postgresql.org/documentation/head/connect.html
@author Brad Hong
agent-module/plugins/postgresql-jdbc/src/test/java/com/navercorp/pinpoint/plugin/jdbc/postgresql/PostgreSqlJdbcUrlParserTest.java