For CSV export and import from any DB including PostgreSQL, you should look at CSVKit for this purpose.
Import with csvsql http://csvkit.readthedocs.org/en/0.3.0/scripts/csvsql.html and export with sql2csv http://csvkit.readthedocs.org/en/latest/scripts/sql2csv.html