You cannot COPY directly into the target table. You must copy to a staging table. You then insert from the staging table to the target table, listing every single column, and replacing those columns you want to change with some kind of expression.
Чтобы сделать работу с сайтом удобнее, мы используем cookie и аналитический сервис «Яндекс.Метрика». Продолжая пользоваться сайтом, вы соглашаетесь с их использованием.