Added enum support for postgresql.