pgloader is a project to load data from flat files into PostgreSQL tables.
As of February the first, the more recent version of pgloader is 2.2.6 which provides a way to disable triggers while loading data. The pgloader tool of course is able to do much more than this, please check its page if interrested.
Here you'll find some slides about the project, from a presentation given at Solutions Linux 2008, in french: pgloader-prefix.pdf.