load

fun load(typeRegistry: TypeRegistry, queryExecutor: QueryExecutor)

Executes a query against the pg_catalog to fetch all relevant type information (base types, arrays, composites, enums, domains, ranges, etc.) and updates the given TypeRegistry with the constructed PgType instances.

Parameters

typeRegistry

The registry to populate with loaded types.

queryExecutor

The executor used to run the type extraction query.