as in the destination table there is one or more foreign keys, it is not possible with a plain COPY FROM. What do you think?