Handle ENUM/Select and postgres dialect.