I've to import a CSV file into a Postgres database.
I've tried using a scanner but it's very slow (the file has more than 9000 rows).
I've also tried to use the command "COPY", but it gave me the error "permission denied". I know I haveve to give reading permission on the file's folder, but I don't like this solution.
Is there another way to perform this operation?
CopyManager
, see here or here or here – a_horse_with_no_name yesterday