Re: [GENERAL] Question, re: Running enormous batch file from the command line

2008-11-02 Thread Craig Ringer
Milarsky, Jeremy F. wrote: I have, for the record, attempting to get all 10 million rows in with a single COPY command. This method has not been successful, apparently due to client encoding (despite executing several different "set client_encoding" in each attempt). This is probably something

Re: [GENERAL] Question, re: Running enormous batch file from the command line

2008-11-02 Thread Martijn van Oosterhout
On Sun, Nov 02, 2008 at 02:13:34PM -0600, Milarsky, Jeremy F. wrote: > I am attempting to move an unusually large legacy database from old DBF > files into a Postgres database. I've been able to clean up the DBF > tables, export them to CSV and convert that CSV into a SQL batch file. At a wild g

[GENERAL] Question, re: Running enormous batch file from the command line

2008-11-02 Thread Milarsky, Jeremy F.
I am attempting to move an unusually large legacy database from old DBF files into a Postgres database. I've been able to clean up the DBF tables, export them to CSV and convert that CSV into a SQL batch file. My batch file contains 10 million INSERT queries to populate the corresponding table