Skip to content
  • Marcin's avatar
    new rewind algorithm · 2e48fadd
    Marcin authored
    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.
    2e48fadd