News for hackers. Stuff that matters.
Re:Modern SQL in PostgreSQL by random_number on Monday February 09, 2015 @04:35AM (#9020340)
http://stackoverflow.com/a/2681413

SET CONSTRAINTS ALL DEFERRED

Then do your inserts, followed by whatever work needs to be done without referential integrity, in the same transaction.

There are no comments on this comment yet.