1BEGIN; 2 3-- ALTER TABLE device_port ALTER COLUMN remote_id TYPE bytea USING remote_id::bytea; 4 5COMMIT; 6