I\'m trying to import a (rather large) .txt file into a table geonames in PostgreSQL 9.1. I\'m in the /~ directory of my server, with a file named US.txt placed in that director
Maybe a bit late, but hopefully useful:
Use \copy instead
https://wiki.postgresql.org/wiki/COPY
jvdw