Commit 2e48fadd authored by Marcin's avatar Marcin
Browse files

new rewind algorithm

Previous rewind alghorithm required to use only DEFFERABLE constraints
even for CHECK, PK and UNIQUE contraints. It cannot be accepted since
'ON CONFLICT DO UPDATE' won't work with DEFFERABLE constraints. Current
algoritm, revert all operations one by one, is much more slower ( even
400x slower), but do not requires DEFFERABLE constaints on a single
tables. FOREIGN KEYs still need to be DEFFERABLE.
parent 2b98924b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment