Again, head over to the dbi services blog:
Oracle post done by my colleague Franck Pachot: Variations on 1M rows insert (1): bulk insert
PostgreSQL post done be me: Variations on 1M rows insert (1): bulk insert – PostgreSQL
Have fun with the test cases …