MarkLogic TDE supports a subset of XML xsd data types (Modules/MarkLogic/tde.xsd). pg_type_id supports a subset of TDE data types (sql:pg_type_id). The documented MarkLogic SQL data types (http://docs.marklogic.com/guide/sql/SQLqueries#id_32736) is a super set of types supported by the driver. TypeInfoCache.java has typeAliases HashMap for some aliases. The critical mapping of pg_type_id(type) to OID is missing some types.
MarkLogic TDE supports a subset of XML xsd data types (Modules/MarkLogic/tde.xsd). pg_type_id supports a subset of TDE data types (sql:pg_type_id). The documented MarkLogic SQL data types (http://docs.marklogic.com/guide/sql/SQLqueries#id_32736) is a super set of types supported by the driver. TypeInfoCache.java has typeAliases HashMap for some aliases. The critical mapping of pg_type_id(type) to OID is missing some types.