Мне нужно изменить тип данных столбца с _float8 на int4
ALTER TABLE "table" ALTER COLUMN "col" SET DATA TYPE int4;
результаты в column "col" cannot be cast automatically to type integer
ALTER TABLE "table" ALTER COLUMN "col" SET DATA TYPE int4 USING (col::integer);
результаты в cannot cast type double precision[] to integer
есть идеи?