TypeDictionary
class TypeDictionary
A dictionary that holds PostgreSQL types definitions and allows querying them by OID or name.
It provides specialized methods to fetch specific type categories such as arrays, ranges, and multiranges. Instances of this class are immutable and intended to be replaced entirely when types are reloaded.
Functions
Link copied to clipboard
Returns the row type of the relation with the given relationOid, or null when this dictionary holds none for it.
Link copied to clipboard
Executes the given action on each registered type.
Link copied to clipboard
Retrieves an array type by the OID of its elements.
Link copied to clipboard
Retrieves a multirange type by the OID of its base range type.
Link copied to clipboard
Retrieves a range type by the OID of its elements.
Link copied to clipboard