Best way to import data in postgresl (not "COPY") - Mailing list pgsql-general

Hello,

I have a system that must each day import lots of data from another one.
Our system is in postgresql and we connect to the other via ODBC.

Currently we do something like :

SELECT ... FROM ODBC source
foreach row {
INSERT INTO postgresql
}

The problem is that this method is very slow...

Does someone has a better suggestion ?

Thanks a lot in advance !

Denis

pgsql-general by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: psql \du [PATCH] extended \du with [+] - was missing
Next
From: Greg Stark
Date:
Subject: Re: Can LIKE under utf8 use INDEXes?