3 ms·
Not sure if this solves it in all cases, but foreign key constraint checks can be deferred until the end of the transaction. https://www.postgresql.org/docs/9.
by latch 6y ago
Not sure if this solves it in all cases, but foreign key constraint checks can be deferred until the end of the transaction.
https://www.postgresql.org/docs/9.1/sql-set-constraints.html https://www.postgresql.org/docs/9.1/sql-set-constraints.html