COPY FROM instructs the PostgreSQL server process to read a file. You may want a client-side facility such as psql's \copy.
By Elisa Heller at Jul 15 2020