This is the sort of question that is far better suited to the
pgsql-general@postgresql.org mailing list or the
pgadmin-support@postgresql.org mailing list, but the answer is that
you should use the copy sql command:
http://www.postgresql.org/docs/current/static/sql-copy.html
--
Regards,
Peter Geoghegan