comparing various types of inserts in PostgreSQL (and graph)