We have a varchar column in a table, that we need to upgrade to enum type.
All the values in the varchar column are valid values in the enumeration. There is no null
Got it.
ALTER TABLE tableName ALTER COLUMN varcharColumn TYPE enum_type USING varcharColumn::enum_type
will update it successfully.