Shmagi Kavtaradze <kavtaradze.s@gmail.com> writes:
> I want to import text to a specific column and for other columns to specify
> literals/constants myself, using same copy command.
COPY is not bright enough to do what you want. I'd suggest copying into
a temporary table that just receives the data literally as it appears in
the file, and then using INSERT ... SELECT ... to transform the data and
put it into the final table.
regards, tom lane