How do I import a CSV file into postgres and make it skip the first 3 line and last line
Is it possible in postgres if yes how ?
How do I import a CSV file into postgres and make it skip the first 3 line and last line
Is it possible in postgres if yes how ?
Nope, can't be done. Please file an issue with them.
If you're on *Nix, then you can use tail | head:
tail -n+4 file | head -n-1 > newfile
If Windows then combine Batch file to delete first 3 lines of a text file and Deleting last n lines from file using batch file then realize the errors of your ways and use unix