buildUpdated

internal fun buildUpdated(newTypes: Map<Int, PgType>, registry: TypeRegistry): CodecDictionary

Rebuilds the dictionary with new dynamically resolved types from the database.

Return

a new updated instance of CodecDictionary.

Parameters

newTypes

a map of newly discovered PostgreSQL types by OID.

registry

the TypeRegistry used for creating dynamic container codecs.