Loading data into your database is one of the most important tasks. You need to do this accurately and quickly. Here's how.
Loading data from flat files
Getting ready
You'll need a copy of pgloader, which is available at http://github.com/dimitri/pgloader.
At the time of writing, the current stable version is 3.2.2. The 3.x series is a major rewrite, with many additional features, and the 2.x series is now considered obsolete.
How to do it...
PostgreSQL includes a command named COPY that provides the basic data load/unload mechanism. The COPY command doesn&apos...