copy Insert in PostgreSQL in (Almost) Constant Time One of the things I did was to write a script to insert records in a PostgreSQL database. The records have with a quite simple structure: * id - char(20) * content - XML field * aside - XML field I was working with a sample of 10,000 entries out of