Y
Hacker News
new
|
ask
|
show
|
jobs
by
ashkulz
1375 days ago
You can use DEFERRABLE INITIALLY DEFERRED constraints so that the check happens when the transaction is committed.