public PostgresTypes registerCustomType(Class<? extends PGobject> clazz, String typeName) {
        registry.get(SqlArrayTypes.class).register(clazz, typeName);

        types.put(clazz, typeName);

        return this;
    }
Register a Postgres custom type.
@param clazz the class implementing the Java representation of the custom type;
must extend {@link PGobject}.
@param typeName the Postgres custom type name
postgres/src/main/java/org/jdbi/v3/postgres/PostgresTypes.java