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

        Assertions.assertEquals(dbInfo.getType(), PostgreSqlConstants.POSTGRESQL);
        Assertions.assertEquals(dbInfo.getHost().get(0), ("host1:5432"));
        Assertions.assertEquals(dbInfo.getDatabaseId(), "database_name");
        Assertions.assertEquals(dbInfo.getUrl(), "jdbc:postgresql://host1:5432/database_name");
    }
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