Have you seen libpq - C Library Functions Associated with the COPY Command This is best way to INSERT large amounts of data. Regards, Christoph
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных