keukaman wrote:
> I'd like to import several thousand records, in CSV format, into an
> existing postgres table. Does anyone know a utility that would allow me
> to do this?

If you are literally only doing a couple of thousand, I would use the 
CSV module for Python and create a single transaction.

Otherwise use the CSV module to make sure that your format is clean and 
use copy.

Joshua D. Drake


-- 

             === The PostgreSQL Company: Command Prompt, Inc. ===
       Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
       Providing the most comprehensive  PostgreSQL solutions since 1997
                      http://www.commandprompt.com/



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to