Class TypeRegistry.SqlTypeMapper

java.lang.Object
io.debezium.connector.postgresql.TypeRegistry.SqlTypeMapper
Enclosing class:
TypeRegistry

private static class TypeRegistry.SqlTypeMapper extends Object
Allows to obtain the SQL type corresponding to PG types. This uses a custom statement instead of going through PgDatabaseMetaData.getTypeInfo() as the latter causes N+1 SELECTs, making it very slow on installations with many custom types.
Author:
Gunnar Morling