Support for extended types in PostgreSQL database