CatalogLoader

internal object CatalogLoader

Utility object responsible for loading PostgreSQL type definitions from the database and populating a CatalogHolder.

Functions

Link copied to clipboard
fun load(holder: CatalogHolder, 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 CatalogHolder's catalog with the constructed PgType instances.