Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: