updateTypes

fun updateTypes(newTypes: Map<Int, PgType>)

Replaces the entire type map with a new instance, ensuring thread-safety. Additionally applies custom codecs waiting for an OID.