Instead of needing to instrospect the database on connection preload the standard OID / type map. Types from extensions (like hstore) and custom types can be registered by the application developer. Otherwise, they will be treated as strings.
Many still failing, but at least it compiles now.
This required restructuring array types to lookup oid of element instead of hard-coding it due to hstore having a variable oid.