> I'm doing the writes individually. Is there a better way? Combining
> them all into a transaction or something?
Use COPY of course :)
Or at worst bundle 1000 inserts at a time in a transation...
And if you seriously do not care about your data at all, set fsync = off
in you postgresql.conf for a mega speedup.
Chris