PostgreSQL user defined types (partial support)

Allow user defined types in PostgreSQL for e.g. Postgis geometry / geography types.