Added pg enum type support and tests