Running COPY results in ERROR: invalid input syntax for integer: \"\" error message for me. What am I missing?
ERROR: invalid input syntax for integer: \"\"
My /tmp/people.cs
/tmp/people.cs
I got this error when loading '|' separated CSV file although there were no '"' characters in my input file. It turned out that I forgot to specify FORMAT:
COPY ... FROM ... WITH (FORMAT CSV, DELIMITER '|').