I am trying to convert a .csv
file to a postgres
database. I have set up the database with the appropriate number of columns to match the .csv
file. I have also taken care to strip all ",
" (comma characters) from the .csv
file.
Here is my command I am typing into psql
:
COPY newtable FROM 'path/to/file.csv' CSV HEADER;
I have tried everything I can think of. Any idea how to fix this?