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.
tests/integration/functional/hive_fork/context_rewind/register_table_edit_negative_unique_test.sql → tests/integration/functional/hive_fork/context_rewind/back_from_fork_constraint_pk_test.sql
tests/integration/functional/hive_fork/context_rewind/register_table_negative_unique_test.sql deleted 100644 → 0