I'm trying to copy the enum values between two columns in a table. The the two enum types have the same enum values:
UPDATE dogs SET breed = breed_old;
...
ERROR: column "breed" is of type "breed" but expression is of type "breed_old"
I've also tried:
UPDATE dogs SET breed = breed_old::text;
...
ERROR: column "breed" is of type "breed" but expression is of type text
Any help would be appreciated.