There are a number of things you can do in order to speed up the population process:
Generally applicable things, and
PostgreSQL-specific things.