FoundationDB/sql-layer — pull request #1004 by tjoneslo (2013-10-24 15:34:09+00:00)
Title: Add Types, Type_attibutes, Type_bundles tables to basic IS tables.

Three new tables for the Information_schema, per the SQL Layer data dictionary.

The Types table has columns required for the JDBC data dictionary.

The only tricky part is the TypeFactory.Scan#next() which has to unite four different list of types, The ais.Types forms the basis (because that informs types for the table columns), then linked to the TInstance/TClass type, then linked to the PostgresType (for the Postgres OID), and from there to the sql-parser TypeId to get the JDBC Type ID. The latter two are needed by the JDBC work.