I love that PostgreSQL is crash resistant, as I don\'t want to spend time fixing a database. However, I\'m sure there must be some things I can disable/modify so that i
One possibility would be to use the keywork DEFERRABLE to defer constraints because constraints are checked for every lines.
So the idea would be to ask postgresql to check constraints just before you commit.