1 1
step s1c: COMMIT;
-starting permutation: s1s s1u s2l s2c s1r s1l s1c
-step s1s: SAVEPOINT f;
-step s1u: UPDATE foo SET key = 2;
-step s2l: SELECT * FROM foo FOR KEY SHARE; <waiting ...>
-invalid permutation detected
-
-starting permutation: s1s s2l s1u s1r s1l s1c s2c
-step s1s: SAVEPOINT f;
-step s2l: SELECT * FROM foo FOR KEY SHARE;
-key value
-
-1 1
-step s1u: UPDATE foo SET key = 2; <waiting ...>
-invalid permutation detected
-
-starting permutation: s1s s2l s1u s1r s1l s2c s1c
-step s1s: SAVEPOINT f;
-step s2l: SELECT * FROM foo FOR KEY SHARE;
-key value
-
-1 1
-step s1u: UPDATE foo SET key = 2; <waiting ...>
-invalid permutation detected
-
-starting permutation: s1s s2l s1u s1r s2c s1l s1c
-step s1s: SAVEPOINT f;
-step s2l: SELECT * FROM foo FOR KEY SHARE;
-key value
-
-1 1
-step s1u: UPDATE foo SET key = 2; <waiting ...>
-invalid permutation detected
-
starting permutation: s1s s2l s1u s2c s1r s1l s1c
step s1s: SAVEPOINT f;
step s2l: SELECT * FROM foo FOR KEY SHARE;
1 1
step s1c: COMMIT;
-starting permutation: s2l s1s s1u s1r s1l s1c s2c
-step s2l: SELECT * FROM foo FOR KEY SHARE;
-key value
-
-1 1
-step s1s: SAVEPOINT f;
-step s1u: UPDATE foo SET key = 2; <waiting ...>
-invalid permutation detected
-
-starting permutation: s2l s1s s1u s1r s1l s2c s1c
-step s2l: SELECT * FROM foo FOR KEY SHARE;
-key value
-
-1 1
-step s1s: SAVEPOINT f;
-step s1u: UPDATE foo SET key = 2; <waiting ...>
-invalid permutation detected
-
-starting permutation: s2l s1s s1u s1r s2c s1l s1c
-step s2l: SELECT * FROM foo FOR KEY SHARE;
-key value
-
-1 1
-step s1s: SAVEPOINT f;
-step s1u: UPDATE foo SET key = 2; <waiting ...>
-invalid permutation detected
-
starting permutation: s2l s1s s1u s2c s1r s1l s1c
step s2l: SELECT * FROM foo FOR KEY SHARE;
key value
1 1
step s1c: COMMIT;
-starting permutation: s1s s1u s2l s2c s1r s1l s1c
-step s1s: SAVEPOINT f;
-step s1u: UPDATE foo SET key = 2;
-step s2l: SELECT * FROM foo FOR KEY SHARE; <waiting ...>
-invalid permutation detected
-
-starting permutation: s1s s2l s1u s1r s1l s1c s2c
-step s1s: SAVEPOINT f;
-step s2l: SELECT * FROM foo FOR KEY SHARE;
-key value
-
-1 1
-step s1u: UPDATE foo SET key = 2; <waiting ...>
-invalid permutation detected
-
-starting permutation: s1s s2l s1u s1r s1l s2c s1c
-step s1s: SAVEPOINT f;
-step s2l: SELECT * FROM foo FOR KEY SHARE;
-key value
-
-1 1
-step s1u: UPDATE foo SET key = 2; <waiting ...>
-invalid permutation detected
-
-starting permutation: s1s s2l s1u s1r s2c s1l s1c
-step s1s: SAVEPOINT f;
-step s2l: SELECT * FROM foo FOR KEY SHARE;
-key value
-
-1 1
-step s1u: UPDATE foo SET key = 2; <waiting ...>
-invalid permutation detected
-
starting permutation: s1s s2l s1u s2c s1r s1l s1c
step s1s: SAVEPOINT f;
step s2l: SELECT * FROM foo FOR KEY SHARE;
1 1
step s1c: COMMIT;
-starting permutation: s2l s1s s1u s1r s1l s1c s2c
-step s2l: SELECT * FROM foo FOR KEY SHARE;
-key value
-
-1 1
-step s1s: SAVEPOINT f;
-step s1u: UPDATE foo SET key = 2; <waiting ...>
-invalid permutation detected
-
-starting permutation: s2l s1s s1u s1r s1l s2c s1c
-step s2l: SELECT * FROM foo FOR KEY SHARE;
-key value
-
-1 1
-step s1s: SAVEPOINT f;
-step s1u: UPDATE foo SET key = 2; <waiting ...>
-invalid permutation detected
-
-starting permutation: s2l s1s s1u s1r s2c s1l s1c
-step s2l: SELECT * FROM foo FOR KEY SHARE;
-key value
-
-1 1
-step s1s: SAVEPOINT f;
-step s1u: UPDATE foo SET key = 2; <waiting ...>
-invalid permutation detected
-
starting permutation: s2l s1s s1u s2c s1r s1l s1c
step s2l: SELECT * FROM foo FOR KEY SHARE;
key value
step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
step sc2: COMMIT;
-starting permutation: s1 at1 rx1 wx rx3 sc1 s2 at2 sc2 c2
-step s1: BEGIN;
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step wx: INSERT INTO b VALUES (0); <waiting ...>
-invalid permutation detected
-
-starting permutation: s1 at1 rx1 wx rx3 sc1 s2 at2 c2 sc2
-step s1: BEGIN;
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step wx: INSERT INTO b VALUES (0); <waiting ...>
-invalid permutation detected
-
-starting permutation: s1 at1 rx1 wx rx3 sc1 s2 c2 at2 sc2
-step s1: BEGIN;
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step wx: INSERT INTO b VALUES (0); <waiting ...>
-invalid permutation detected
-
-starting permutation: s1 at1 rx1 wx rx3 sc1 c2 s2 at2 sc2
-step s1: BEGIN;
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step wx: INSERT INTO b VALUES (0); <waiting ...>
-invalid permutation detected
-
-starting permutation: s1 at1 rx1 wx rx3 c2 sc1 s2 at2 sc2
-step s1: BEGIN;
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step wx: INSERT INTO b VALUES (0); <waiting ...>
-invalid permutation detected
-
starting permutation: s1 rx1 at1 sc1 s2 at2 sc2 wx rx3 c2
step s1: BEGIN;
step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
step sc2: COMMIT;
-starting permutation: s1 rx1 at1 wx rx3 sc1 s2 at2 sc2 c2
-step s1: BEGIN;
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
-step wx: INSERT INTO b VALUES (0); <waiting ...>
-invalid permutation detected
-
-starting permutation: s1 rx1 at1 wx rx3 sc1 s2 at2 c2 sc2
-step s1: BEGIN;
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
-step wx: INSERT INTO b VALUES (0); <waiting ...>
-invalid permutation detected
-
-starting permutation: s1 rx1 at1 wx rx3 sc1 s2 c2 at2 sc2
-step s1: BEGIN;
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
-step wx: INSERT INTO b VALUES (0); <waiting ...>
-invalid permutation detected
-
-starting permutation: s1 rx1 at1 wx rx3 sc1 c2 s2 at2 sc2
-step s1: BEGIN;
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
-step wx: INSERT INTO b VALUES (0); <waiting ...>
-invalid permutation detected
-
-starting permutation: s1 rx1 at1 wx rx3 c2 sc1 s2 at2 sc2
-step s1: BEGIN;
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
-step wx: INSERT INTO b VALUES (0); <waiting ...>
-invalid permutation detected
-
-starting permutation: s1 rx1 wx at1 sc1 s2 at2 sc2 rx3 c2
+starting permutation: s1 rx1 wx at1 rx3 c2 sc1 s2 at2 sc2
step s1: BEGIN;
step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
a_id
1
step wx: INSERT INTO b VALUES (0);
step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
-
-starting permutation: s1 rx1 wx at1 sc1 s2 at2 rx3 sc2 c2
-step s1: BEGIN;
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
+step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
a_id
-1
-step wx: INSERT INTO b VALUES (0);
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
+3
+3
+3
+step c2: COMMIT;
+step at1: <... completed>
+step sc1: COMMIT;
+step s2: BEGIN;
+step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
+step sc2: COMMIT;
-starting permutation: s1 rx1 wx at1 sc1 s2 at2 rx3 c2 sc2
+starting permutation: s1 rx1 wx rx3 at1 c2 sc1 s2 at2 sc2
step s1: BEGIN;
step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
a_id
1
step wx: INSERT INTO b VALUES (0);
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
-
-starting permutation: s1 rx1 wx at1 sc1 s2 rx3 at2 sc2 c2
-step s1: BEGIN;
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
+step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
a_id
-1
-step wx: INSERT INTO b VALUES (0);
+3
+3
+3
step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
+step c2: COMMIT;
+step at1: <... completed>
+step sc1: COMMIT;
+step s2: BEGIN;
+step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
+step sc2: COMMIT;
-starting permutation: s1 rx1 wx at1 sc1 s2 rx3 at2 c2 sc2
+starting permutation: s1 rx1 wx rx3 c2 at1 sc1 s2 at2 sc2
step s1: BEGIN;
step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
a_id
1
step wx: INSERT INTO b VALUES (0);
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
-
-starting permutation: s1 rx1 wx at1 sc1 s2 rx3 c2 at2 sc2
-step s1: BEGIN;
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
+step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
a_id
-1
-step wx: INSERT INTO b VALUES (0);
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
+3
+3
+3
+step c2: COMMIT;
+step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
+step sc1: COMMIT;
+step s2: BEGIN;
+step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
+step sc2: COMMIT;
-starting permutation: s1 rx1 wx at1 sc1 rx3 s2 at2 sc2 c2
-step s1: BEGIN;
+starting permutation: rx1 s1 at1 sc1 s2 at2 sc2 wx rx3 c2
step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
a_id
1
-step wx: INSERT INTO b VALUES (0);
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
-
-starting permutation: s1 rx1 wx at1 sc1 rx3 s2 at2 c2 sc2
step s1: BEGIN;
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
+step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
+step sc1: COMMIT;
+step s2: BEGIN;
+step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
+step sc2: COMMIT;
step wx: INSERT INTO b VALUES (0);
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
-
-starting permutation: s1 rx1 wx at1 sc1 rx3 s2 c2 at2 sc2
-step s1: BEGIN;
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
+step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
a_id
-1
-step wx: INSERT INTO b VALUES (0);
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
+3
+3
+3
+step c2: COMMIT;
-starting permutation: s1 rx1 wx at1 sc1 rx3 c2 s2 at2 sc2
-step s1: BEGIN;
+starting permutation: rx1 s1 at1 sc1 s2 at2 wx sc2 rx3 c2
step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
a_id
1
-step wx: INSERT INTO b VALUES (0);
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
-
-starting permutation: s1 rx1 wx at1 rx3 sc1 s2 at2 sc2 c2
step s1: BEGIN;
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
+step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
+step sc1: COMMIT;
+step s2: BEGIN;
+step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
step wx: INSERT INTO b VALUES (0);
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
+step sc2: COMMIT;
step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
a_id
3
3
3
-invalid permutation detected
+step c2: COMMIT;
-starting permutation: s1 rx1 wx at1 rx3 sc1 s2 at2 c2 sc2
-step s1: BEGIN;
+starting permutation: rx1 s1 at1 sc1 s2 at2 wx rx3 sc2 c2
step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
a_id
1
+step s1: BEGIN;
+step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
+step sc1: COMMIT;
+step s2: BEGIN;
+step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
step wx: INSERT INTO b VALUES (0);
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
a_id
3
3
3
-invalid permutation detected
+step sc2: COMMIT;
+step c2: COMMIT;
-starting permutation: s1 rx1 wx at1 rx3 sc1 s2 c2 at2 sc2
-step s1: BEGIN;
+starting permutation: rx1 s1 at1 sc1 s2 at2 wx rx3 c2 sc2
step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
a_id
1
+step s1: BEGIN;
+step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
+step sc1: COMMIT;
+step s2: BEGIN;
+step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
step wx: INSERT INTO b VALUES (0);
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
a_id
3
3
3
-invalid permutation detected
+step c2: COMMIT;
+step sc2: COMMIT;
-starting permutation: s1 rx1 wx at1 rx3 sc1 c2 s2 at2 sc2
-step s1: BEGIN;
+starting permutation: rx1 s1 at1 sc1 s2 wx at2 sc2 rx3 c2
step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
a_id
1
+step s1: BEGIN;
+step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
+step sc1: COMMIT;
+step s2: BEGIN;
step wx: INSERT INTO b VALUES (0);
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
+step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
+step sc2: COMMIT;
step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
a_id
3
3
3
-invalid permutation detected
+step c2: COMMIT;
-starting permutation: s1 rx1 wx at1 rx3 c2 sc1 s2 at2 sc2
-step s1: BEGIN;
+starting permutation: rx1 s1 at1 sc1 s2 wx at2 rx3 sc2 c2
step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
a_id
1
+step s1: BEGIN;
+step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
+step sc1: COMMIT;
+step s2: BEGIN;
step wx: INSERT INTO b VALUES (0);
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
+step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
a_id
3
3
3
-step c2: COMMIT;
-step at1: <... completed>
-step sc1: COMMIT;
-step s2: BEGIN;
-step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
step sc2: COMMIT;
+step c2: COMMIT;
-starting permutation: s1 rx1 wx rx3 at1 sc1 s2 at2 sc2 c2
-step s1: BEGIN;
+starting permutation: rx1 s1 at1 sc1 s2 wx at2 rx3 c2 sc2
step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
a_id
1
+step s1: BEGIN;
+step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
+step sc1: COMMIT;
+step s2: BEGIN;
step wx: INSERT INTO b VALUES (0);
+step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
a_id
3
3
3
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
+step c2: COMMIT;
+step sc2: COMMIT;
-starting permutation: s1 rx1 wx rx3 at1 sc1 s2 at2 c2 sc2
-step s1: BEGIN;
+starting permutation: rx1 s1 at1 sc1 s2 wx rx3 at2 sc2 c2
step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
a_id
1
+step s1: BEGIN;
+step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
+step sc1: COMMIT;
+step s2: BEGIN;
step wx: INSERT INTO b VALUES (0);
step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
a_id
3
3
3
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
+step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
+step sc2: COMMIT;
+step c2: COMMIT;
-starting permutation: s1 rx1 wx rx3 at1 sc1 s2 c2 at2 sc2
-step s1: BEGIN;
+starting permutation: rx1 s1 at1 sc1 s2 wx rx3 at2 c2 sc2
step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
a_id
1
+step s1: BEGIN;
+step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
+step sc1: COMMIT;
+step s2: BEGIN;
step wx: INSERT INTO b VALUES (0);
step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
a_id
3
3
3
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
+step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
+step c2: COMMIT;
+step sc2: COMMIT;
-starting permutation: s1 rx1 wx rx3 at1 sc1 c2 s2 at2 sc2
-step s1: BEGIN;
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step wx: INSERT INTO b VALUES (0);
-step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
-a_id
-
-3
-3
-3
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
-
-starting permutation: s1 rx1 wx rx3 at1 c2 sc1 s2 at2 sc2
-step s1: BEGIN;
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step wx: INSERT INTO b VALUES (0);
-step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
-a_id
-
-3
-3
-3
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-step c2: COMMIT;
-step at1: <... completed>
-step sc1: COMMIT;
-step s2: BEGIN;
-step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
-step sc2: COMMIT;
-
-starting permutation: s1 rx1 wx rx3 c2 at1 sc1 s2 at2 sc2
-step s1: BEGIN;
+starting permutation: rx1 s1 at1 sc1 s2 wx rx3 c2 at2 sc2
step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
a_id
1
+step s1: BEGIN;
+step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
+step sc1: COMMIT;
+step s2: BEGIN;
step wx: INSERT INTO b VALUES (0);
step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
a_id
3
3
step c2: COMMIT;
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
-step sc1: COMMIT;
-step s2: BEGIN;
step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
step sc2: COMMIT;
-starting permutation: rx1 s1 at1 sc1 s2 at2 sc2 wx rx3 c2
+starting permutation: rx1 s1 at1 sc1 wx s2 at2 sc2 rx3 c2
step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
a_id
step s1: BEGIN;
step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
step sc1: COMMIT;
+step wx: INSERT INTO b VALUES (0);
step s2: BEGIN;
step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
step sc2: COMMIT;
-step wx: INSERT INTO b VALUES (0);
step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
a_id
3
step c2: COMMIT;
-starting permutation: rx1 s1 at1 sc1 s2 at2 wx sc2 rx3 c2
+starting permutation: rx1 s1 at1 sc1 wx s2 at2 rx3 sc2 c2
step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
a_id
step s1: BEGIN;
step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
step sc1: COMMIT;
+step wx: INSERT INTO b VALUES (0);
step s2: BEGIN;
step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
-step wx: INSERT INTO b VALUES (0);
-step sc2: COMMIT;
step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
a_id
3
3
3
+step sc2: COMMIT;
step c2: COMMIT;
-starting permutation: rx1 s1 at1 sc1 s2 at2 wx rx3 sc2 c2
+starting permutation: rx1 s1 at1 sc1 wx s2 at2 rx3 c2 sc2
step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
a_id
step s1: BEGIN;
step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
step sc1: COMMIT;
+step wx: INSERT INTO b VALUES (0);
step s2: BEGIN;
step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
-step wx: INSERT INTO b VALUES (0);
step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
a_id
3
3
3
-step sc2: COMMIT;
step c2: COMMIT;
+step sc2: COMMIT;
-starting permutation: rx1 s1 at1 sc1 s2 at2 wx rx3 c2 sc2
+starting permutation: rx1 s1 at1 sc1 wx s2 rx3 at2 sc2 c2
step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
a_id
step s1: BEGIN;
step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
step sc1: COMMIT;
-step s2: BEGIN;
-step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
step wx: INSERT INTO b VALUES (0);
+step s2: BEGIN;
step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
a_id
3
3
3
-step c2: COMMIT;
+step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
step sc2: COMMIT;
+step c2: COMMIT;
-starting permutation: rx1 s1 at1 sc1 s2 wx at2 sc2 rx3 c2
+starting permutation: rx1 s1 at1 sc1 wx s2 rx3 at2 c2 sc2
step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
a_id
step s1: BEGIN;
step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
step sc1: COMMIT;
-step s2: BEGIN;
step wx: INSERT INTO b VALUES (0);
-step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
-step sc2: COMMIT;
+step s2: BEGIN;
step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
a_id
3
3
3
+step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
step c2: COMMIT;
+step sc2: COMMIT;
-starting permutation: rx1 s1 at1 sc1 s2 wx at2 rx3 sc2 c2
+starting permutation: rx1 s1 at1 sc1 wx s2 rx3 c2 at2 sc2
step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
a_id
step s1: BEGIN;
step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
step sc1: COMMIT;
-step s2: BEGIN;
step wx: INSERT INTO b VALUES (0);
-step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
+step s2: BEGIN;
step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
a_id
3
3
3
-step sc2: COMMIT;
step c2: COMMIT;
+step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
+step sc2: COMMIT;
-starting permutation: rx1 s1 at1 sc1 s2 wx at2 rx3 c2 sc2
+starting permutation: rx1 s1 at1 sc1 wx rx3 s2 at2 sc2 c2
step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
a_id
step s1: BEGIN;
step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
step sc1: COMMIT;
-step s2: BEGIN;
step wx: INSERT INTO b VALUES (0);
-step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
a_id
3
3
3
-step c2: COMMIT;
+step s2: BEGIN;
+step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
step sc2: COMMIT;
+step c2: COMMIT;
-starting permutation: rx1 s1 at1 sc1 s2 wx rx3 at2 sc2 c2
+starting permutation: rx1 s1 at1 sc1 wx rx3 s2 at2 c2 sc2
step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
a_id
step s1: BEGIN;
step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
step sc1: COMMIT;
-step s2: BEGIN;
step wx: INSERT INTO b VALUES (0);
step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
a_id
3
3
3
+step s2: BEGIN;
step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
-step sc2: COMMIT;
step c2: COMMIT;
+step sc2: COMMIT;
-starting permutation: rx1 s1 at1 sc1 s2 wx rx3 at2 c2 sc2
+starting permutation: rx1 s1 at1 sc1 wx rx3 s2 c2 at2 sc2
step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
a_id
step s1: BEGIN;
step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
step sc1: COMMIT;
-step s2: BEGIN;
step wx: INSERT INTO b VALUES (0);
step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
a_id
3
3
3
-step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
+step s2: BEGIN;
step c2: COMMIT;
+step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
step sc2: COMMIT;
-starting permutation: rx1 s1 at1 sc1 s2 wx rx3 c2 at2 sc2
+starting permutation: rx1 s1 at1 sc1 wx rx3 c2 s2 at2 sc2
step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
a_id
step s1: BEGIN;
step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
step sc1: COMMIT;
-step s2: BEGIN;
step wx: INSERT INTO b VALUES (0);
step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
a_id
3
3
step c2: COMMIT;
+step s2: BEGIN;
step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
step sc2: COMMIT;
-starting permutation: rx1 s1 at1 sc1 wx s2 at2 sc2 rx3 c2
+starting permutation: rx1 s1 at1 wx sc1 s2 at2 sc2 rx3 c2
step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
a_id
1
step s1: BEGIN;
step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
+step wx: INSERT INTO b VALUES (0); <waiting ...>
step sc1: COMMIT;
-step wx: INSERT INTO b VALUES (0);
+step wx: <... completed>
step s2: BEGIN;
step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
step sc2: COMMIT;
3
step c2: COMMIT;
-starting permutation: rx1 s1 at1 sc1 wx s2 at2 rx3 sc2 c2
+starting permutation: rx1 s1 at1 wx sc1 s2 at2 rx3 sc2 c2
step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
a_id
1
step s1: BEGIN;
step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
+step wx: INSERT INTO b VALUES (0); <waiting ...>
step sc1: COMMIT;
-step wx: INSERT INTO b VALUES (0);
+step wx: <... completed>
step s2: BEGIN;
step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
step sc2: COMMIT;
step c2: COMMIT;
-starting permutation: rx1 s1 at1 sc1 wx s2 at2 rx3 c2 sc2
+starting permutation: rx1 s1 at1 wx sc1 s2 at2 rx3 c2 sc2
step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
a_id
1
step s1: BEGIN;
step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
+step wx: INSERT INTO b VALUES (0); <waiting ...>
step sc1: COMMIT;
-step wx: INSERT INTO b VALUES (0);
+step wx: <... completed>
step s2: BEGIN;
step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
step c2: COMMIT;
step sc2: COMMIT;
-starting permutation: rx1 s1 at1 sc1 wx s2 rx3 at2 sc2 c2
+starting permutation: rx1 s1 at1 wx sc1 s2 rx3 at2 sc2 c2
step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
a_id
1
step s1: BEGIN;
step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
+step wx: INSERT INTO b VALUES (0); <waiting ...>
step sc1: COMMIT;
-step wx: INSERT INTO b VALUES (0);
+step wx: <... completed>
step s2: BEGIN;
step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
a_id
step sc2: COMMIT;
step c2: COMMIT;
-starting permutation: rx1 s1 at1 sc1 wx s2 rx3 at2 c2 sc2
+starting permutation: rx1 s1 at1 wx sc1 s2 rx3 at2 c2 sc2
step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
a_id
1
step s1: BEGIN;
step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
+step wx: INSERT INTO b VALUES (0); <waiting ...>
step sc1: COMMIT;
-step wx: INSERT INTO b VALUES (0);
+step wx: <... completed>
step s2: BEGIN;
step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
a_id
step c2: COMMIT;
step sc2: COMMIT;
-starting permutation: rx1 s1 at1 sc1 wx s2 rx3 c2 at2 sc2
+starting permutation: rx1 s1 at1 wx sc1 s2 rx3 c2 at2 sc2
step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
a_id
1
step s1: BEGIN;
step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
+step wx: INSERT INTO b VALUES (0); <waiting ...>
step sc1: COMMIT;
-step wx: INSERT INTO b VALUES (0);
+step wx: <... completed>
step s2: BEGIN;
step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
a_id
step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
step sc2: COMMIT;
-starting permutation: rx1 s1 at1 sc1 wx rx3 s2 at2 sc2 c2
+starting permutation: rx1 s1 at1 wx sc1 rx3 s2 at2 sc2 c2
step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
a_id
1
step s1: BEGIN;
step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
+step wx: INSERT INTO b VALUES (0); <waiting ...>
step sc1: COMMIT;
-step wx: INSERT INTO b VALUES (0);
+step wx: <... completed>
step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
a_id
step sc2: COMMIT;
step c2: COMMIT;
-starting permutation: rx1 s1 at1 sc1 wx rx3 s2 at2 c2 sc2
+starting permutation: rx1 s1 at1 wx sc1 rx3 s2 at2 c2 sc2
step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
a_id
1
step s1: BEGIN;
step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
+step wx: INSERT INTO b VALUES (0); <waiting ...>
step sc1: COMMIT;
-step wx: INSERT INTO b VALUES (0);
+step wx: <... completed>
step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
a_id
step c2: COMMIT;
step sc2: COMMIT;
-starting permutation: rx1 s1 at1 sc1 wx rx3 s2 c2 at2 sc2
+starting permutation: rx1 s1 at1 wx sc1 rx3 s2 c2 at2 sc2
step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
a_id
1
step s1: BEGIN;
step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
+step wx: INSERT INTO b VALUES (0); <waiting ...>
step sc1: COMMIT;
-step wx: INSERT INTO b VALUES (0);
+step wx: <... completed>
step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
a_id
step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
step sc2: COMMIT;
-starting permutation: rx1 s1 at1 sc1 wx rx3 c2 s2 at2 sc2
+starting permutation: rx1 s1 at1 wx sc1 rx3 c2 s2 at2 sc2
step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
a_id
1
step s1: BEGIN;
step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
+step wx: INSERT INTO b VALUES (0); <waiting ...>
step sc1: COMMIT;
-step wx: INSERT INTO b VALUES (0);
+step wx: <... completed>
step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
a_id
step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
step sc2: COMMIT;
-starting permutation: rx1 s1 at1 wx sc1 s2 at2 sc2 rx3 c2
+starting permutation: rx1 s1 wx at1 rx3 c2 sc1 s2 at2 sc2
step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
a_id
1
step s1: BEGIN;
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
-step wx: INSERT INTO b VALUES (0); <waiting ...>
-step sc1: COMMIT;
-step wx: <... completed>
-step s2: BEGIN;
-step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
-step sc2: COMMIT;
+step wx: INSERT INTO b VALUES (0);
+step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
a_id
3
3
step c2: COMMIT;
-
-starting permutation: rx1 s1 at1 wx sc1 s2 at2 rx3 sc2 c2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step s1: BEGIN;
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
-step wx: INSERT INTO b VALUES (0); <waiting ...>
+step at1: <... completed>
step sc1: COMMIT;
-step wx: <... completed>
step s2: BEGIN;
step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
-step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
-a_id
-
-3
-3
-3
step sc2: COMMIT;
-step c2: COMMIT;
-starting permutation: rx1 s1 at1 wx sc1 s2 at2 rx3 c2 sc2
+starting permutation: rx1 s1 wx rx3 at1 c2 sc1 s2 at2 sc2
step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
a_id
1
step s1: BEGIN;
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
-step wx: INSERT INTO b VALUES (0); <waiting ...>
-step sc1: COMMIT;
-step wx: <... completed>
-step s2: BEGIN;
-step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
+step wx: INSERT INTO b VALUES (0);
step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
a_id
3
3
3
+step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
step c2: COMMIT;
+step at1: <... completed>
+step sc1: COMMIT;
+step s2: BEGIN;
+step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
step sc2: COMMIT;
-starting permutation: rx1 s1 at1 wx sc1 s2 rx3 at2 sc2 c2
+starting permutation: rx1 s1 wx rx3 c2 at1 sc1 s2 at2 sc2
step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
a_id
1
step s1: BEGIN;
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
-step wx: INSERT INTO b VALUES (0); <waiting ...>
-step sc1: COMMIT;
-step wx: <... completed>
-step s2: BEGIN;
+step wx: INSERT INTO b VALUES (0);
step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
a_id
3
3
3
-step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
-step sc2: COMMIT;
step c2: COMMIT;
-
-starting permutation: rx1 s1 at1 wx sc1 s2 rx3 at2 c2 sc2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step s1: BEGIN;
step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
-step wx: INSERT INTO b VALUES (0); <waiting ...>
step sc1: COMMIT;
-step wx: <... completed>
step s2: BEGIN;
-step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
-a_id
-
-3
-3
-3
step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
-step c2: COMMIT;
step sc2: COMMIT;
-starting permutation: rx1 s1 at1 wx sc1 s2 rx3 c2 at2 sc2
+starting permutation: rx1 wx s1 at1 rx3 c2 sc1 s2 at2 sc2
step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
a_id
1
+step wx: INSERT INTO b VALUES (0);
step s1: BEGIN;
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
-step wx: INSERT INTO b VALUES (0); <waiting ...>
-step sc1: COMMIT;
-step wx: <... completed>
-step s2: BEGIN;
+step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
a_id
3
3
step c2: COMMIT;
+step at1: <... completed>
+step sc1: COMMIT;
+step s2: BEGIN;
step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
step sc2: COMMIT;
-starting permutation: rx1 s1 at1 wx sc1 rx3 s2 at2 sc2 c2
+starting permutation: rx1 wx s1 rx3 at1 c2 sc1 s2 at2 sc2
step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
a_id
1
+step wx: INSERT INTO b VALUES (0);
step s1: BEGIN;
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
-step wx: INSERT INTO b VALUES (0); <waiting ...>
-step sc1: COMMIT;
-step wx: <... completed>
step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
a_id
3
3
3
+step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
+step c2: COMMIT;
+step at1: <... completed>
+step sc1: COMMIT;
step s2: BEGIN;
step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
step sc2: COMMIT;
-step c2: COMMIT;
-starting permutation: rx1 s1 at1 wx sc1 rx3 s2 at2 c2 sc2
+starting permutation: rx1 wx s1 rx3 c2 at1 sc1 s2 at2 sc2
step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
a_id
1
+step wx: INSERT INTO b VALUES (0);
step s1: BEGIN;
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
-step wx: INSERT INTO b VALUES (0); <waiting ...>
-step sc1: COMMIT;
-step wx: <... completed>
step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
a_id
3
3
3
+step c2: COMMIT;
+step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
+step sc1: COMMIT;
step s2: BEGIN;
step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
-step c2: COMMIT;
step sc2: COMMIT;
-starting permutation: rx1 s1 at1 wx sc1 rx3 s2 c2 at2 sc2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step s1: BEGIN;
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
-step wx: INSERT INTO b VALUES (0); <waiting ...>
-step sc1: COMMIT;
-step wx: <... completed>
-step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
-a_id
-
-3
-3
-3
-step s2: BEGIN;
-step c2: COMMIT;
-step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
-step sc2: COMMIT;
-
-starting permutation: rx1 s1 at1 wx sc1 rx3 c2 s2 at2 sc2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step s1: BEGIN;
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
-step wx: INSERT INTO b VALUES (0); <waiting ...>
-step sc1: COMMIT;
-step wx: <... completed>
-step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
-a_id
-
-3
-3
-3
-step c2: COMMIT;
-step s2: BEGIN;
-step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
-step sc2: COMMIT;
-
-starting permutation: rx1 s1 at1 wx rx3 sc1 s2 at2 sc2 c2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step s1: BEGIN;
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
-step wx: INSERT INTO b VALUES (0); <waiting ...>
-invalid permutation detected
-
-starting permutation: rx1 s1 at1 wx rx3 sc1 s2 at2 c2 sc2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step s1: BEGIN;
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
-step wx: INSERT INTO b VALUES (0); <waiting ...>
-invalid permutation detected
-
-starting permutation: rx1 s1 at1 wx rx3 sc1 s2 c2 at2 sc2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step s1: BEGIN;
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
-step wx: INSERT INTO b VALUES (0); <waiting ...>
-invalid permutation detected
-
-starting permutation: rx1 s1 at1 wx rx3 sc1 c2 s2 at2 sc2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step s1: BEGIN;
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
-step wx: INSERT INTO b VALUES (0); <waiting ...>
-invalid permutation detected
-
-starting permutation: rx1 s1 at1 wx rx3 c2 sc1 s2 at2 sc2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step s1: BEGIN;
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
-step wx: INSERT INTO b VALUES (0); <waiting ...>
-invalid permutation detected
-
-starting permutation: rx1 s1 wx at1 sc1 s2 at2 sc2 rx3 c2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step s1: BEGIN;
-step wx: INSERT INTO b VALUES (0);
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
-
-starting permutation: rx1 s1 wx at1 sc1 s2 at2 rx3 sc2 c2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step s1: BEGIN;
-step wx: INSERT INTO b VALUES (0);
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
-
-starting permutation: rx1 s1 wx at1 sc1 s2 at2 rx3 c2 sc2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step s1: BEGIN;
-step wx: INSERT INTO b VALUES (0);
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
-
-starting permutation: rx1 s1 wx at1 sc1 s2 rx3 at2 sc2 c2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step s1: BEGIN;
-step wx: INSERT INTO b VALUES (0);
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
-
-starting permutation: rx1 s1 wx at1 sc1 s2 rx3 at2 c2 sc2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step s1: BEGIN;
-step wx: INSERT INTO b VALUES (0);
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
-
-starting permutation: rx1 s1 wx at1 sc1 s2 rx3 c2 at2 sc2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step s1: BEGIN;
-step wx: INSERT INTO b VALUES (0);
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
-
-starting permutation: rx1 s1 wx at1 sc1 rx3 s2 at2 sc2 c2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step s1: BEGIN;
-step wx: INSERT INTO b VALUES (0);
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
-
-starting permutation: rx1 s1 wx at1 sc1 rx3 s2 at2 c2 sc2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step s1: BEGIN;
-step wx: INSERT INTO b VALUES (0);
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
-
-starting permutation: rx1 s1 wx at1 sc1 rx3 s2 c2 at2 sc2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step s1: BEGIN;
-step wx: INSERT INTO b VALUES (0);
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
-
-starting permutation: rx1 s1 wx at1 sc1 rx3 c2 s2 at2 sc2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step s1: BEGIN;
-step wx: INSERT INTO b VALUES (0);
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
-
-starting permutation: rx1 s1 wx at1 rx3 sc1 s2 at2 sc2 c2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step s1: BEGIN;
-step wx: INSERT INTO b VALUES (0);
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
-a_id
-
-3
-3
-3
-invalid permutation detected
-
-starting permutation: rx1 s1 wx at1 rx3 sc1 s2 at2 c2 sc2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step s1: BEGIN;
-step wx: INSERT INTO b VALUES (0);
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
-a_id
-
-3
-3
-3
-invalid permutation detected
-
-starting permutation: rx1 s1 wx at1 rx3 sc1 s2 c2 at2 sc2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step s1: BEGIN;
-step wx: INSERT INTO b VALUES (0);
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
-a_id
-
-3
-3
-3
-invalid permutation detected
-
-starting permutation: rx1 s1 wx at1 rx3 sc1 c2 s2 at2 sc2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step s1: BEGIN;
-step wx: INSERT INTO b VALUES (0);
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
-a_id
-
-3
-3
-3
-invalid permutation detected
-
-starting permutation: rx1 s1 wx at1 rx3 c2 sc1 s2 at2 sc2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step s1: BEGIN;
-step wx: INSERT INTO b VALUES (0);
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
-a_id
-
-3
-3
-3
-step c2: COMMIT;
-step at1: <... completed>
-step sc1: COMMIT;
-step s2: BEGIN;
-step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
-step sc2: COMMIT;
-
-starting permutation: rx1 s1 wx rx3 at1 sc1 s2 at2 sc2 c2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step s1: BEGIN;
-step wx: INSERT INTO b VALUES (0);
-step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
-a_id
-
-3
-3
-3
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
-
-starting permutation: rx1 s1 wx rx3 at1 sc1 s2 at2 c2 sc2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step s1: BEGIN;
-step wx: INSERT INTO b VALUES (0);
-step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
-a_id
-
-3
-3
-3
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
-
-starting permutation: rx1 s1 wx rx3 at1 sc1 s2 c2 at2 sc2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step s1: BEGIN;
-step wx: INSERT INTO b VALUES (0);
-step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
-a_id
-
-3
-3
-3
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
-
-starting permutation: rx1 s1 wx rx3 at1 sc1 c2 s2 at2 sc2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step s1: BEGIN;
-step wx: INSERT INTO b VALUES (0);
-step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
-a_id
-
-3
-3
-3
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
-
-starting permutation: rx1 s1 wx rx3 at1 c2 sc1 s2 at2 sc2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step s1: BEGIN;
-step wx: INSERT INTO b VALUES (0);
-step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
-a_id
-
-3
-3
-3
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-step c2: COMMIT;
-step at1: <... completed>
-step sc1: COMMIT;
-step s2: BEGIN;
-step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
-step sc2: COMMIT;
-
-starting permutation: rx1 s1 wx rx3 c2 at1 sc1 s2 at2 sc2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step s1: BEGIN;
-step wx: INSERT INTO b VALUES (0);
-step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
-a_id
-
-3
-3
-3
-step c2: COMMIT;
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
-step sc1: COMMIT;
-step s2: BEGIN;
-step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
-step sc2: COMMIT;
-
-starting permutation: rx1 wx s1 at1 sc1 s2 at2 sc2 rx3 c2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step wx: INSERT INTO b VALUES (0);
-step s1: BEGIN;
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
-
-starting permutation: rx1 wx s1 at1 sc1 s2 at2 rx3 sc2 c2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step wx: INSERT INTO b VALUES (0);
-step s1: BEGIN;
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
-
-starting permutation: rx1 wx s1 at1 sc1 s2 at2 rx3 c2 sc2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step wx: INSERT INTO b VALUES (0);
-step s1: BEGIN;
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
-
-starting permutation: rx1 wx s1 at1 sc1 s2 rx3 at2 sc2 c2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step wx: INSERT INTO b VALUES (0);
-step s1: BEGIN;
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
-
-starting permutation: rx1 wx s1 at1 sc1 s2 rx3 at2 c2 sc2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step wx: INSERT INTO b VALUES (0);
-step s1: BEGIN;
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
-
-starting permutation: rx1 wx s1 at1 sc1 s2 rx3 c2 at2 sc2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step wx: INSERT INTO b VALUES (0);
-step s1: BEGIN;
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
-
-starting permutation: rx1 wx s1 at1 sc1 rx3 s2 at2 sc2 c2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step wx: INSERT INTO b VALUES (0);
-step s1: BEGIN;
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
-
-starting permutation: rx1 wx s1 at1 sc1 rx3 s2 at2 c2 sc2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step wx: INSERT INTO b VALUES (0);
-step s1: BEGIN;
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
-
-starting permutation: rx1 wx s1 at1 sc1 rx3 s2 c2 at2 sc2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step wx: INSERT INTO b VALUES (0);
-step s1: BEGIN;
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
-
-starting permutation: rx1 wx s1 at1 sc1 rx3 c2 s2 at2 sc2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step wx: INSERT INTO b VALUES (0);
-step s1: BEGIN;
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
-
-starting permutation: rx1 wx s1 at1 rx3 sc1 s2 at2 sc2 c2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step wx: INSERT INTO b VALUES (0);
-step s1: BEGIN;
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
-a_id
-
-3
-3
-3
-invalid permutation detected
-
-starting permutation: rx1 wx s1 at1 rx3 sc1 s2 at2 c2 sc2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step wx: INSERT INTO b VALUES (0);
-step s1: BEGIN;
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
-a_id
-
-3
-3
-3
-invalid permutation detected
-
-starting permutation: rx1 wx s1 at1 rx3 sc1 s2 c2 at2 sc2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step wx: INSERT INTO b VALUES (0);
-step s1: BEGIN;
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
-a_id
-
-3
-3
-3
-invalid permutation detected
-
-starting permutation: rx1 wx s1 at1 rx3 sc1 c2 s2 at2 sc2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step wx: INSERT INTO b VALUES (0);
-step s1: BEGIN;
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
-a_id
-
-3
-3
-3
-invalid permutation detected
-
-starting permutation: rx1 wx s1 at1 rx3 c2 sc1 s2 at2 sc2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step wx: INSERT INTO b VALUES (0);
-step s1: BEGIN;
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
-a_id
-
-3
-3
-3
-step c2: COMMIT;
-step at1: <... completed>
-step sc1: COMMIT;
-step s2: BEGIN;
-step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
-step sc2: COMMIT;
-
-starting permutation: rx1 wx s1 rx3 at1 sc1 s2 at2 sc2 c2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step wx: INSERT INTO b VALUES (0);
-step s1: BEGIN;
-step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
-a_id
-
-3
-3
-3
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
-
-starting permutation: rx1 wx s1 rx3 at1 sc1 s2 at2 c2 sc2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step wx: INSERT INTO b VALUES (0);
-step s1: BEGIN;
-step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
-a_id
-
-3
-3
-3
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
-
-starting permutation: rx1 wx s1 rx3 at1 sc1 s2 c2 at2 sc2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step wx: INSERT INTO b VALUES (0);
-step s1: BEGIN;
-step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
-a_id
-
-3
-3
-3
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
-
-starting permutation: rx1 wx s1 rx3 at1 sc1 c2 s2 at2 sc2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step wx: INSERT INTO b VALUES (0);
-step s1: BEGIN;
-step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
-a_id
-
-3
-3
-3
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
-
-starting permutation: rx1 wx s1 rx3 at1 c2 sc1 s2 at2 sc2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step wx: INSERT INTO b VALUES (0);
-step s1: BEGIN;
-step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
-a_id
-
-3
-3
-3
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-step c2: COMMIT;
-step at1: <... completed>
-step sc1: COMMIT;
-step s2: BEGIN;
-step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
-step sc2: COMMIT;
-
-starting permutation: rx1 wx s1 rx3 c2 at1 sc1 s2 at2 sc2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step wx: INSERT INTO b VALUES (0);
-step s1: BEGIN;
-step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
-a_id
-
-3
-3
-3
-step c2: COMMIT;
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
-step sc1: COMMIT;
-step s2: BEGIN;
-step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk;
-step sc2: COMMIT;
-
-starting permutation: rx1 wx rx3 s1 at1 sc1 s2 at2 sc2 c2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step wx: INSERT INTO b VALUES (0);
-step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
-a_id
-
-3
-3
-3
-step s1: BEGIN;
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
-
-starting permutation: rx1 wx rx3 s1 at1 sc1 s2 at2 c2 sc2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step wx: INSERT INTO b VALUES (0);
-step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
-a_id
-
-3
-3
-3
-step s1: BEGIN;
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
-
-starting permutation: rx1 wx rx3 s1 at1 sc1 s2 c2 at2 sc2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step wx: INSERT INTO b VALUES (0);
-step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
-a_id
-
-3
-3
-3
-step s1: BEGIN;
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
-
-starting permutation: rx1 wx rx3 s1 at1 sc1 c2 s2 at2 sc2
-step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
-a_id
-
-1
-step wx: INSERT INTO b VALUES (0);
-step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3;
-a_id
-
-3
-3
-3
-step s1: BEGIN;
-step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
-
starting permutation: rx1 wx rx3 s1 at1 c2 sc1 s2 at2 sc2
step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1;
a_id
step s2e: INSERT INTO a VALUES (4);
step s2f: COMMIT;
-starting permutation: s1a s1b s2a s2b s2c s2d s2e s1c s2f
-step s1a: BEGIN;
-step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
-step s2a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE;
-a_id
-
-3
-step s2d: INSERT INTO b VALUES (0); <waiting ...>
-invalid permutation detected
-
-starting permutation: s1a s1b s2a s2b s2c s2d s2e s2f s1c
-step s1a: BEGIN;
-step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
-step s2a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE;
-a_id
-
-3
-step s2d: INSERT INTO b VALUES (0); <waiting ...>
-invalid permutation detected
-
starting permutation: s1a s2a s1b s1c s2b s2c s2d s2e s2f
step s1a: BEGIN;
step s2a: BEGIN;
step s2e: INSERT INTO a VALUES (4);
step s2f: COMMIT;
-starting permutation: s1a s2a s1b s2b s2c s2d s2e s1c s2f
-step s1a: BEGIN;
-step s2a: BEGIN;
-step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE;
-a_id
-
-3
-step s2d: INSERT INTO b VALUES (0); <waiting ...>
-invalid permutation detected
-
-starting permutation: s1a s2a s1b s2b s2c s2d s2e s2f s1c
-step s1a: BEGIN;
-step s2a: BEGIN;
-step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE;
-a_id
-
-3
-step s2d: INSERT INTO b VALUES (0); <waiting ...>
-invalid permutation detected
-
starting permutation: s1a s2a s2b s1b s1c s2c s2d s2e s2f
step s1a: BEGIN;
step s2a: BEGIN;
step s2e: INSERT INTO a VALUES (4);
step s2f: COMMIT;
-starting permutation: s1a s2a s2b s1b s2c s2d s2e s1c s2f
-step s1a: BEGIN;
-step s2a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
-step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE;
-a_id
-
-3
-step s2d: INSERT INTO b VALUES (0); <waiting ...>
-invalid permutation detected
-
-starting permutation: s1a s2a s2b s1b s2c s2d s2e s2f s1c
-step s1a: BEGIN;
-step s2a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
-step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE;
-a_id
-
-3
-step s2d: INSERT INTO b VALUES (0); <waiting ...>
-invalid permutation detected
-
starting permutation: s1a s2a s2b s2c s1b s1c s2d s2e s2f
step s1a: BEGIN;
step s2a: BEGIN;
step s2e: INSERT INTO a VALUES (4);
step s2f: COMMIT;
-starting permutation: s1a s2a s2b s2c s1b s2d s2e s1c s2f
-step s1a: BEGIN;
-step s2a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE;
-a_id
-
-3
-step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
-step s2d: INSERT INTO b VALUES (0); <waiting ...>
-invalid permutation detected
-
-starting permutation: s1a s2a s2b s2c s1b s2d s2e s2f s1c
-step s1a: BEGIN;
-step s2a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE;
-a_id
-
-3
-step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
-step s2d: INSERT INTO b VALUES (0); <waiting ...>
-invalid permutation detected
-
-starting permutation: s1a s2a s2b s2c s2d s1b s1c s2e s2f
-step s1a: BEGIN;
-step s2a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE;
-a_id
-
-3
-step s2d: INSERT INTO b VALUES (0);
-step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
-
-starting permutation: s1a s2a s2b s2c s2d s1b s2e s1c s2f
-step s1a: BEGIN;
-step s2a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE;
-a_id
-
-3
-step s2d: INSERT INTO b VALUES (0);
-step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-step s2e: INSERT INTO a VALUES (4);
-invalid permutation detected
-
starting permutation: s1a s2a s2b s2c s2d s1b s2e s2f s1c
step s1a: BEGIN;
step s2a: BEGIN;
step s1b: <... completed>
step s1c: COMMIT;
-starting permutation: s1a s2a s2b s2c s2d s2e s1b s1c s2f
-step s1a: BEGIN;
-step s2a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE;
-a_id
-
-3
-step s2d: INSERT INTO b VALUES (0);
-step s2e: INSERT INTO a VALUES (4);
-step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
-
starting permutation: s1a s2a s2b s2c s2d s2e s1b s2f s1c
step s1a: BEGIN;
step s2a: BEGIN;
step s2e: INSERT INTO a VALUES (4);
step s2f: COMMIT;
-starting permutation: s2a s1a s1b s2b s2c s2d s2e s1c s2f
-step s2a: BEGIN;
-step s1a: BEGIN;
-step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE;
-a_id
-
-3
-step s2d: INSERT INTO b VALUES (0); <waiting ...>
-invalid permutation detected
-
-starting permutation: s2a s1a s1b s2b s2c s2d s2e s2f s1c
-step s2a: BEGIN;
-step s1a: BEGIN;
-step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE;
-a_id
-
-3
-step s2d: INSERT INTO b VALUES (0); <waiting ...>
-invalid permutation detected
-
starting permutation: s2a s1a s2b s1b s1c s2c s2d s2e s2f
step s2a: BEGIN;
step s1a: BEGIN;
step s2e: INSERT INTO a VALUES (4);
step s2f: COMMIT;
-starting permutation: s2a s1a s2b s1b s2c s2d s2e s1c s2f
-step s2a: BEGIN;
-step s1a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
-step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE;
-a_id
-
-3
-step s2d: INSERT INTO b VALUES (0); <waiting ...>
-invalid permutation detected
-
-starting permutation: s2a s1a s2b s1b s2c s2d s2e s2f s1c
-step s2a: BEGIN;
-step s1a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
-step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE;
-a_id
-
-3
-step s2d: INSERT INTO b VALUES (0); <waiting ...>
-invalid permutation detected
-
starting permutation: s2a s1a s2b s2c s1b s1c s2d s2e s2f
step s2a: BEGIN;
step s1a: BEGIN;
step s2e: INSERT INTO a VALUES (4);
step s2f: COMMIT;
-starting permutation: s2a s1a s2b s2c s1b s2d s2e s1c s2f
-step s2a: BEGIN;
-step s1a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE;
-a_id
-
-3
-step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
-step s2d: INSERT INTO b VALUES (0); <waiting ...>
-invalid permutation detected
-
-starting permutation: s2a s1a s2b s2c s1b s2d s2e s2f s1c
-step s2a: BEGIN;
-step s1a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE;
-a_id
-
-3
-step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
-step s2d: INSERT INTO b VALUES (0); <waiting ...>
-invalid permutation detected
-
-starting permutation: s2a s1a s2b s2c s2d s1b s1c s2e s2f
-step s2a: BEGIN;
-step s1a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE;
-a_id
-
-3
-step s2d: INSERT INTO b VALUES (0);
-step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
-
-starting permutation: s2a s1a s2b s2c s2d s1b s2e s1c s2f
-step s2a: BEGIN;
-step s1a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE;
-a_id
-
-3
-step s2d: INSERT INTO b VALUES (0);
-step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-step s2e: INSERT INTO a VALUES (4);
-invalid permutation detected
-
starting permutation: s2a s1a s2b s2c s2d s1b s2e s2f s1c
step s2a: BEGIN;
step s1a: BEGIN;
step s1b: <... completed>
step s1c: COMMIT;
-starting permutation: s2a s1a s2b s2c s2d s2e s1b s1c s2f
-step s2a: BEGIN;
-step s1a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE;
-a_id
-
-3
-step s2d: INSERT INTO b VALUES (0);
-step s2e: INSERT INTO a VALUES (4);
-step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
-
starting permutation: s2a s1a s2b s2c s2d s2e s1b s2f s1c
step s2a: BEGIN;
step s1a: BEGIN;
step s2e: INSERT INTO a VALUES (4);
step s2f: COMMIT;
-starting permutation: s2a s2b s1a s1b s2c s2d s2e s1c s2f
-step s2a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s1a: BEGIN;
-step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
-step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE;
-a_id
-
-3
-step s2d: INSERT INTO b VALUES (0); <waiting ...>
-invalid permutation detected
-
-starting permutation: s2a s2b s1a s1b s2c s2d s2e s2f s1c
-step s2a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s1a: BEGIN;
-step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
-step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE;
-a_id
-
-3
-step s2d: INSERT INTO b VALUES (0); <waiting ...>
-invalid permutation detected
-
starting permutation: s2a s2b s1a s2c s1b s1c s2d s2e s2f
step s2a: BEGIN;
step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
step s2e: INSERT INTO a VALUES (4);
step s2f: COMMIT;
-starting permutation: s2a s2b s1a s2c s1b s2d s2e s1c s2f
-step s2a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s1a: BEGIN;
-step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE;
-a_id
-
-3
-step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
-step s2d: INSERT INTO b VALUES (0); <waiting ...>
-invalid permutation detected
-
-starting permutation: s2a s2b s1a s2c s1b s2d s2e s2f s1c
-step s2a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s1a: BEGIN;
-step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE;
-a_id
-
-3
-step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
-step s2d: INSERT INTO b VALUES (0); <waiting ...>
-invalid permutation detected
-
-starting permutation: s2a s2b s1a s2c s2d s1b s1c s2e s2f
-step s2a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s1a: BEGIN;
-step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE;
-a_id
-
-3
-step s2d: INSERT INTO b VALUES (0);
-step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
-
-starting permutation: s2a s2b s1a s2c s2d s1b s2e s1c s2f
-step s2a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s1a: BEGIN;
-step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE;
-a_id
-
-3
-step s2d: INSERT INTO b VALUES (0);
-step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-step s2e: INSERT INTO a VALUES (4);
-invalid permutation detected
-
starting permutation: s2a s2b s1a s2c s2d s1b s2e s2f s1c
step s2a: BEGIN;
step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
step s1b: <... completed>
step s1c: COMMIT;
-starting permutation: s2a s2b s1a s2c s2d s2e s1b s1c s2f
-step s2a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s1a: BEGIN;
-step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE;
-a_id
-
-3
-step s2d: INSERT INTO b VALUES (0);
-step s2e: INSERT INTO a VALUES (4);
-step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
-
starting permutation: s2a s2b s1a s2c s2d s2e s1b s2f s1c
step s2a: BEGIN;
step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
step s2e: INSERT INTO a VALUES (4);
step s2f: COMMIT;
-starting permutation: s2a s2b s2c s1a s1b s2d s2e s1c s2f
-step s2a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE;
-a_id
-
-3
-step s1a: BEGIN;
-step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
-step s2d: INSERT INTO b VALUES (0); <waiting ...>
-invalid permutation detected
-
-starting permutation: s2a s2b s2c s1a s1b s2d s2e s2f s1c
-step s2a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE;
-a_id
-
-3
-step s1a: BEGIN;
-step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
-step s2d: INSERT INTO b VALUES (0); <waiting ...>
-invalid permutation detected
-
-starting permutation: s2a s2b s2c s1a s2d s1b s1c s2e s2f
-step s2a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE;
-a_id
-
-3
-step s1a: BEGIN;
-step s2d: INSERT INTO b VALUES (0);
-step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
-
-starting permutation: s2a s2b s2c s1a s2d s1b s2e s1c s2f
-step s2a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE;
-a_id
-
-3
-step s1a: BEGIN;
-step s2d: INSERT INTO b VALUES (0);
-step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-step s2e: INSERT INTO a VALUES (4);
-invalid permutation detected
-
starting permutation: s2a s2b s2c s1a s2d s1b s2e s2f s1c
step s2a: BEGIN;
step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
step s1b: <... completed>
step s1c: COMMIT;
-starting permutation: s2a s2b s2c s1a s2d s2e s1b s1c s2f
-step s2a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE;
-a_id
-
-3
-step s1a: BEGIN;
-step s2d: INSERT INTO b VALUES (0);
-step s2e: INSERT INTO a VALUES (4);
-step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
-
starting permutation: s2a s2b s2c s1a s2d s2e s1b s2f s1c
step s2a: BEGIN;
step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
step s1c: COMMIT;
-starting permutation: s2a s2b s2c s2d s1a s1b s1c s2e s2f
-step s2a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE;
-a_id
-
-3
-step s2d: INSERT INTO b VALUES (0);
-step s1a: BEGIN;
-step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
-
-starting permutation: s2a s2b s2c s2d s1a s1b s2e s1c s2f
-step s2a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE;
-a_id
-
-3
-step s2d: INSERT INTO b VALUES (0);
-step s1a: BEGIN;
-step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-step s2e: INSERT INTO a VALUES (4);
-invalid permutation detected
-
starting permutation: s2a s2b s2c s2d s1a s1b s2e s2f s1c
step s2a: BEGIN;
step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
step s1b: <... completed>
step s1c: COMMIT;
-starting permutation: s2a s2b s2c s2d s1a s2e s1b s1c s2f
-step s2a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE;
-a_id
-
-3
-step s2d: INSERT INTO b VALUES (0);
-step s1a: BEGIN;
-step s2e: INSERT INTO a VALUES (4);
-step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
-
starting permutation: s2a s2b s2c s2d s1a s2e s1b s2f s1c
step s2a: BEGIN;
step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID;
step s1c: COMMIT;
-starting permutation: s2a s2b s2c s2d s2e s1a s1b s1c s2f
-step s2a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE;
-a_id
-
-3
-step s2d: INSERT INTO b VALUES (0);
-step s2e: INSERT INTO a VALUES (4);
-step s1a: BEGIN;
-step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; <waiting ...>
-invalid permutation detected
-
starting permutation: s2a s2b s2c s2d s2e s1a s1b s2f s1c
step s2a: BEGIN;
step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
error in steps s1d s2c: ERROR: duplicate key value violates unique constraint "a_pkey"
step s2d: COMMIT;
-starting permutation: s1a s1b s1c s2a s2b s2c s2d s1d
-step s1a: BEGIN;
-step s1b: ALTER TABLE a DISABLE TRIGGER t;
-step s1c: ALTER TABLE a ENABLE TRIGGER t;
-step s2a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s2c: INSERT INTO a VALUES (0); <waiting ...>
-invalid permutation detected
-
starting permutation: s1a s1b s2a s1c s1d s2b s2c s2d
step s1a: BEGIN;
step s1b: ALTER TABLE a DISABLE TRIGGER t;
error in steps s1d s2c: ERROR: duplicate key value violates unique constraint "a_pkey"
step s2d: COMMIT;
-starting permutation: s1a s1b s2a s1c s2b s2c s2d s1d
-step s1a: BEGIN;
-step s1b: ALTER TABLE a DISABLE TRIGGER t;
-step s2a: BEGIN;
-step s1c: ALTER TABLE a ENABLE TRIGGER t;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s2c: INSERT INTO a VALUES (0); <waiting ...>
-invalid permutation detected
-
starting permutation: s1a s1b s2a s2b s1c s1d s2c s2d
step s1a: BEGIN;
step s1b: ALTER TABLE a DISABLE TRIGGER t;
error in steps s1d s2c: ERROR: duplicate key value violates unique constraint "a_pkey"
step s2d: COMMIT;
-starting permutation: s1a s1b s2a s2b s1c s2c s2d s1d
-step s1a: BEGIN;
-step s1b: ALTER TABLE a DISABLE TRIGGER t;
-step s2a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s1c: ALTER TABLE a ENABLE TRIGGER t;
-step s2c: INSERT INTO a VALUES (0); <waiting ...>
-invalid permutation detected
-
starting permutation: s1a s1b s2a s2b s2c s1c s1d s2d
step s1a: BEGIN;
step s1b: ALTER TABLE a DISABLE TRIGGER t;
error in steps s1d s2c: ERROR: duplicate key value violates unique constraint "a_pkey"
step s2d: COMMIT;
-starting permutation: s1a s1b s2a s2b s2c s1c s2d s1d
-step s1a: BEGIN;
-step s1b: ALTER TABLE a DISABLE TRIGGER t;
-step s2a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s2c: INSERT INTO a VALUES (0); <waiting ...>
-step s1c: ALTER TABLE a ENABLE TRIGGER t;
-invalid permutation detected
-
-starting permutation: s1a s1b s2a s2b s2c s2d s1c s1d
-step s1a: BEGIN;
-step s1b: ALTER TABLE a DISABLE TRIGGER t;
-step s2a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s2c: INSERT INTO a VALUES (0); <waiting ...>
-invalid permutation detected
-
starting permutation: s1a s2a s1b s1c s1d s2b s2c s2d
step s1a: BEGIN;
step s2a: BEGIN;
error in steps s1d s2c: ERROR: duplicate key value violates unique constraint "a_pkey"
step s2d: COMMIT;
-starting permutation: s1a s2a s1b s1c s2b s2c s2d s1d
-step s1a: BEGIN;
-step s2a: BEGIN;
-step s1b: ALTER TABLE a DISABLE TRIGGER t;
-step s1c: ALTER TABLE a ENABLE TRIGGER t;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s2c: INSERT INTO a VALUES (0); <waiting ...>
-invalid permutation detected
-
starting permutation: s1a s2a s1b s2b s1c s1d s2c s2d
step s1a: BEGIN;
step s2a: BEGIN;
error in steps s1d s2c: ERROR: duplicate key value violates unique constraint "a_pkey"
step s2d: COMMIT;
-starting permutation: s1a s2a s1b s2b s1c s2c s2d s1d
-step s1a: BEGIN;
-step s2a: BEGIN;
-step s1b: ALTER TABLE a DISABLE TRIGGER t;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s1c: ALTER TABLE a ENABLE TRIGGER t;
-step s2c: INSERT INTO a VALUES (0); <waiting ...>
-invalid permutation detected
-
starting permutation: s1a s2a s1b s2b s2c s1c s1d s2d
step s1a: BEGIN;
step s2a: BEGIN;
error in steps s1d s2c: ERROR: duplicate key value violates unique constraint "a_pkey"
step s2d: COMMIT;
-starting permutation: s1a s2a s1b s2b s2c s1c s2d s1d
-step s1a: BEGIN;
-step s2a: BEGIN;
-step s1b: ALTER TABLE a DISABLE TRIGGER t;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s2c: INSERT INTO a VALUES (0); <waiting ...>
-step s1c: ALTER TABLE a ENABLE TRIGGER t;
-invalid permutation detected
-
-starting permutation: s1a s2a s1b s2b s2c s2d s1c s1d
-step s1a: BEGIN;
-step s2a: BEGIN;
-step s1b: ALTER TABLE a DISABLE TRIGGER t;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s2c: INSERT INTO a VALUES (0); <waiting ...>
-invalid permutation detected
-
starting permutation: s1a s2a s2b s1b s1c s1d s2c s2d
step s1a: BEGIN;
step s2a: BEGIN;
error in steps s1d s2c: ERROR: duplicate key value violates unique constraint "a_pkey"
step s2d: COMMIT;
-starting permutation: s1a s2a s2b s1b s1c s2c s2d s1d
-step s1a: BEGIN;
-step s2a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s1b: ALTER TABLE a DISABLE TRIGGER t;
-step s1c: ALTER TABLE a ENABLE TRIGGER t;
-step s2c: INSERT INTO a VALUES (0); <waiting ...>
-invalid permutation detected
-
starting permutation: s1a s2a s2b s1b s2c s1c s1d s2d
step s1a: BEGIN;
step s2a: BEGIN;
error in steps s1d s2c: ERROR: duplicate key value violates unique constraint "a_pkey"
step s2d: COMMIT;
-starting permutation: s1a s2a s2b s1b s2c s1c s2d s1d
-step s1a: BEGIN;
-step s2a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s1b: ALTER TABLE a DISABLE TRIGGER t;
-step s2c: INSERT INTO a VALUES (0); <waiting ...>
-step s1c: ALTER TABLE a ENABLE TRIGGER t;
-invalid permutation detected
-
-starting permutation: s1a s2a s2b s1b s2c s2d s1c s1d
-step s1a: BEGIN;
-step s2a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s1b: ALTER TABLE a DISABLE TRIGGER t;
-step s2c: INSERT INTO a VALUES (0); <waiting ...>
-invalid permutation detected
-
starting permutation: s1a s2a s2b s2c s1b s1c s1d s2d
step s1a: BEGIN;
step s2a: BEGIN;
error in steps s1d s2c: ERROR: duplicate key value violates unique constraint "a_pkey"
step s2d: COMMIT;
-starting permutation: s2a s1a s1b s1c s2b s2c s2d s1d
-step s2a: BEGIN;
-step s1a: BEGIN;
-step s1b: ALTER TABLE a DISABLE TRIGGER t;
-step s1c: ALTER TABLE a ENABLE TRIGGER t;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s2c: INSERT INTO a VALUES (0); <waiting ...>
-invalid permutation detected
-
starting permutation: s2a s1a s1b s2b s1c s1d s2c s2d
step s2a: BEGIN;
step s1a: BEGIN;
error in steps s1d s2c: ERROR: duplicate key value violates unique constraint "a_pkey"
step s2d: COMMIT;
-starting permutation: s2a s1a s1b s2b s1c s2c s2d s1d
-step s2a: BEGIN;
-step s1a: BEGIN;
-step s1b: ALTER TABLE a DISABLE TRIGGER t;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s1c: ALTER TABLE a ENABLE TRIGGER t;
-step s2c: INSERT INTO a VALUES (0); <waiting ...>
-invalid permutation detected
-
starting permutation: s2a s1a s1b s2b s2c s1c s1d s2d
step s2a: BEGIN;
step s1a: BEGIN;
error in steps s1d s2c: ERROR: duplicate key value violates unique constraint "a_pkey"
step s2d: COMMIT;
-starting permutation: s2a s1a s1b s2b s2c s1c s2d s1d
-step s2a: BEGIN;
-step s1a: BEGIN;
-step s1b: ALTER TABLE a DISABLE TRIGGER t;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s2c: INSERT INTO a VALUES (0); <waiting ...>
-step s1c: ALTER TABLE a ENABLE TRIGGER t;
-invalid permutation detected
-
-starting permutation: s2a s1a s1b s2b s2c s2d s1c s1d
-step s2a: BEGIN;
-step s1a: BEGIN;
-step s1b: ALTER TABLE a DISABLE TRIGGER t;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s2c: INSERT INTO a VALUES (0); <waiting ...>
-invalid permutation detected
-
starting permutation: s2a s1a s2b s1b s1c s1d s2c s2d
step s2a: BEGIN;
step s1a: BEGIN;
error in steps s1d s2c: ERROR: duplicate key value violates unique constraint "a_pkey"
step s2d: COMMIT;
-starting permutation: s2a s1a s2b s1b s1c s2c s2d s1d
-step s2a: BEGIN;
-step s1a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s1b: ALTER TABLE a DISABLE TRIGGER t;
-step s1c: ALTER TABLE a ENABLE TRIGGER t;
-step s2c: INSERT INTO a VALUES (0); <waiting ...>
-invalid permutation detected
-
starting permutation: s2a s1a s2b s1b s2c s1c s1d s2d
step s2a: BEGIN;
step s1a: BEGIN;
error in steps s1d s2c: ERROR: duplicate key value violates unique constraint "a_pkey"
step s2d: COMMIT;
-starting permutation: s2a s1a s2b s1b s2c s1c s2d s1d
-step s2a: BEGIN;
-step s1a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s1b: ALTER TABLE a DISABLE TRIGGER t;
-step s2c: INSERT INTO a VALUES (0); <waiting ...>
-step s1c: ALTER TABLE a ENABLE TRIGGER t;
-invalid permutation detected
-
-starting permutation: s2a s1a s2b s1b s2c s2d s1c s1d
-step s2a: BEGIN;
-step s1a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s1b: ALTER TABLE a DISABLE TRIGGER t;
-step s2c: INSERT INTO a VALUES (0); <waiting ...>
-invalid permutation detected
-
starting permutation: s2a s1a s2b s2c s1b s1c s1d s2d
step s2a: BEGIN;
step s1a: BEGIN;
error in steps s1d s2c: ERROR: duplicate key value violates unique constraint "a_pkey"
step s2d: COMMIT;
-starting permutation: s2a s2b s1a s1b s1c s2c s2d s1d
-step s2a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s1a: BEGIN;
-step s1b: ALTER TABLE a DISABLE TRIGGER t;
-step s1c: ALTER TABLE a ENABLE TRIGGER t;
-step s2c: INSERT INTO a VALUES (0); <waiting ...>
-invalid permutation detected
-
starting permutation: s2a s2b s1a s1b s2c s1c s1d s2d
step s2a: BEGIN;
step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
error in steps s1d s2c: ERROR: duplicate key value violates unique constraint "a_pkey"
step s2d: COMMIT;
-starting permutation: s2a s2b s1a s1b s2c s1c s2d s1d
-step s2a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s1a: BEGIN;
-step s1b: ALTER TABLE a DISABLE TRIGGER t;
-step s2c: INSERT INTO a VALUES (0); <waiting ...>
-step s1c: ALTER TABLE a ENABLE TRIGGER t;
-invalid permutation detected
-
-starting permutation: s2a s2b s1a s1b s2c s2d s1c s1d
-step s2a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
-i
-
-1
-step s1a: BEGIN;
-step s1b: ALTER TABLE a DISABLE TRIGGER t;
-step s2c: INSERT INTO a VALUES (0); <waiting ...>
-invalid permutation detected
-
starting permutation: s2a s2b s1a s2c s1b s1c s1d s2d
step s2a: BEGIN;
step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE;
step s2c: <... completed>
step s2d: COMMIT;
-starting permutation: s1a s1b s2a s2b s2c s2d s1c
-step s1a: BEGIN;
-step s1b: CREATE TRIGGER t AFTER UPDATE ON a EXECUTE PROCEDURE f();
-step s2a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 FOR UPDATE;
-i
-
-1
-step s2c: UPDATE a SET i = 4 WHERE i = 3; <waiting ...>
-invalid permutation detected
-
starting permutation: s1a s2a s1b s1c s2b s2c s2d
step s1a: BEGIN;
step s2a: BEGIN;
step s2c: <... completed>
step s2d: COMMIT;
-starting permutation: s1a s2a s1b s2b s2c s2d s1c
-step s1a: BEGIN;
-step s2a: BEGIN;
-step s1b: CREATE TRIGGER t AFTER UPDATE ON a EXECUTE PROCEDURE f();
-step s2b: SELECT * FROM a WHERE i = 1 FOR UPDATE;
-i
-
-1
-step s2c: UPDATE a SET i = 4 WHERE i = 3; <waiting ...>
-invalid permutation detected
-
starting permutation: s1a s2a s2b s1b s1c s2c s2d
step s1a: BEGIN;
step s2a: BEGIN;
step s2c: <... completed>
step s2d: COMMIT;
-starting permutation: s1a s2a s2b s1b s2c s2d s1c
-step s1a: BEGIN;
-step s2a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 FOR UPDATE;
-i
-
-1
-step s1b: CREATE TRIGGER t AFTER UPDATE ON a EXECUTE PROCEDURE f();
-step s2c: UPDATE a SET i = 4 WHERE i = 3; <waiting ...>
-invalid permutation detected
-
-starting permutation: s1a s2a s2b s2c s1b s1c s2d
-step s1a: BEGIN;
-step s2a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 FOR UPDATE;
-i
-
-1
-step s2c: UPDATE a SET i = 4 WHERE i = 3;
-step s1b: CREATE TRIGGER t AFTER UPDATE ON a EXECUTE PROCEDURE f(); <waiting ...>
-invalid permutation detected
-
starting permutation: s1a s2a s2b s2c s1b s2d s1c
step s1a: BEGIN;
step s2a: BEGIN;
step s2c: <... completed>
step s2d: COMMIT;
-starting permutation: s2a s1a s1b s2b s2c s2d s1c
-step s2a: BEGIN;
-step s1a: BEGIN;
-step s1b: CREATE TRIGGER t AFTER UPDATE ON a EXECUTE PROCEDURE f();
-step s2b: SELECT * FROM a WHERE i = 1 FOR UPDATE;
-i
-
-1
-step s2c: UPDATE a SET i = 4 WHERE i = 3; <waiting ...>
-invalid permutation detected
-
starting permutation: s2a s1a s2b s1b s1c s2c s2d
step s2a: BEGIN;
step s1a: BEGIN;
step s2c: <... completed>
step s2d: COMMIT;
-starting permutation: s2a s1a s2b s1b s2c s2d s1c
-step s2a: BEGIN;
-step s1a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 FOR UPDATE;
-i
-
-1
-step s1b: CREATE TRIGGER t AFTER UPDATE ON a EXECUTE PROCEDURE f();
-step s2c: UPDATE a SET i = 4 WHERE i = 3; <waiting ...>
-invalid permutation detected
-
-starting permutation: s2a s1a s2b s2c s1b s1c s2d
-step s2a: BEGIN;
-step s1a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 FOR UPDATE;
-i
-
-1
-step s2c: UPDATE a SET i = 4 WHERE i = 3;
-step s1b: CREATE TRIGGER t AFTER UPDATE ON a EXECUTE PROCEDURE f(); <waiting ...>
-invalid permutation detected
-
starting permutation: s2a s1a s2b s2c s1b s2d s1c
step s2a: BEGIN;
step s1a: BEGIN;
step s2c: <... completed>
step s2d: COMMIT;
-starting permutation: s2a s2b s1a s1b s2c s2d s1c
-step s2a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 FOR UPDATE;
-i
-
-1
-step s1a: BEGIN;
-step s1b: CREATE TRIGGER t AFTER UPDATE ON a EXECUTE PROCEDURE f();
-step s2c: UPDATE a SET i = 4 WHERE i = 3; <waiting ...>
-invalid permutation detected
-
-starting permutation: s2a s2b s1a s2c s1b s1c s2d
-step s2a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 FOR UPDATE;
-i
-
-1
-step s1a: BEGIN;
-step s2c: UPDATE a SET i = 4 WHERE i = 3;
-step s1b: CREATE TRIGGER t AFTER UPDATE ON a EXECUTE PROCEDURE f(); <waiting ...>
-invalid permutation detected
-
starting permutation: s2a s2b s1a s2c s1b s2d s1c
step s2a: BEGIN;
step s2b: SELECT * FROM a WHERE i = 1 FOR UPDATE;
step s1b: CREATE TRIGGER t AFTER UPDATE ON a EXECUTE PROCEDURE f();
step s1c: COMMIT;
-starting permutation: s2a s2b s2c s1a s1b s1c s2d
-step s2a: BEGIN;
-step s2b: SELECT * FROM a WHERE i = 1 FOR UPDATE;
-i
-
-1
-step s2c: UPDATE a SET i = 4 WHERE i = 3;
-step s1a: BEGIN;
-step s1b: CREATE TRIGGER t AFTER UPDATE ON a EXECUTE PROCEDURE f(); <waiting ...>
-invalid permutation detected
-
starting permutation: s2a s2b s2c s1a s1b s2d s1c
step s2a: BEGIN;
step s2b: SELECT * FROM a WHERE i = 1 FOR UPDATE;
1 1
step s2c: COMMIT;
-starting permutation: s1l s1svp s1d s1r s2l s2c s1c
-step s1l: SELECT * FROM foo FOR KEY SHARE;
-key value
-
-1 1
-step s1svp: SAVEPOINT f;
-step s1d: DELETE FROM foo;
-step s1r: ROLLBACK TO f;
-step s2l: SELECT * FROM foo FOR UPDATE; <waiting ...>
-invalid permutation detected
-
starting permutation: s1l s1svp s1d s2l s1r s1c s2c
step s1l: SELECT * FROM foo FOR KEY SHARE;
key value
1 1
step s2c: COMMIT;
-starting permutation: s1l s1svp s1d s2l s1r s2c s1c
-step s1l: SELECT * FROM foo FOR KEY SHARE;
-key value
-
-1 1
-step s1svp: SAVEPOINT f;
-step s1d: DELETE FROM foo;
-step s2l: SELECT * FROM foo FOR UPDATE; <waiting ...>
-step s1r: ROLLBACK TO f;
-invalid permutation detected
-
-starting permutation: s1l s1svp s1d s2l s2c s1r s1c
-step s1l: SELECT * FROM foo FOR KEY SHARE;
-key value
-
-1 1
-step s1svp: SAVEPOINT f;
-step s1d: DELETE FROM foo;
-step s2l: SELECT * FROM foo FOR UPDATE; <waiting ...>
-invalid permutation detected
-
starting permutation: s1l s1svp s2l s1d s1r s1c s2c
step s1l: SELECT * FROM foo FOR KEY SHARE;
key value
1 1
step s2c: COMMIT;
-starting permutation: s1l s1svp s2l s1d s1r s2c s1c
-step s1l: SELECT * FROM foo FOR KEY SHARE;
-key value
-
-1 1
-step s1svp: SAVEPOINT f;
-step s2l: SELECT * FROM foo FOR UPDATE; <waiting ...>
-step s1d: DELETE FROM foo;
-step s1r: ROLLBACK TO f;
-invalid permutation detected
-
-starting permutation: s1l s1svp s2l s1d s2c s1r s1c
-step s1l: SELECT * FROM foo FOR KEY SHARE;
-key value
-
-1 1
-step s1svp: SAVEPOINT f;
-step s2l: SELECT * FROM foo FOR UPDATE; <waiting ...>
-step s1d: DELETE FROM foo;
-invalid permutation detected
-
-starting permutation: s1l s1svp s2l s2c s1d s1r s1c
-step s1l: SELECT * FROM foo FOR KEY SHARE;
-key value
-
-1 1
-step s1svp: SAVEPOINT f;
-step s2l: SELECT * FROM foo FOR UPDATE; <waiting ...>
-invalid permutation detected
-
starting permutation: s1l s2l s1svp s1d s1r s1c s2c
step s1l: SELECT * FROM foo FOR KEY SHARE;
key value
1 1
step s2c: COMMIT;
-starting permutation: s1l s2l s1svp s1d s1r s2c s1c
-step s1l: SELECT * FROM foo FOR KEY SHARE;
-key value
-
-1 1
-step s2l: SELECT * FROM foo FOR UPDATE; <waiting ...>
-step s1svp: SAVEPOINT f;
-step s1d: DELETE FROM foo;
-step s1r: ROLLBACK TO f;
-invalid permutation detected
-
-starting permutation: s1l s2l s1svp s1d s2c s1r s1c
-step s1l: SELECT * FROM foo FOR KEY SHARE;
-key value
-
-1 1
-step s2l: SELECT * FROM foo FOR UPDATE; <waiting ...>
-step s1svp: SAVEPOINT f;
-step s1d: DELETE FROM foo;
-invalid permutation detected
-
-starting permutation: s1l s2l s1svp s2c s1d s1r s1c
-step s1l: SELECT * FROM foo FOR KEY SHARE;
-key value
-
-1 1
-step s2l: SELECT * FROM foo FOR UPDATE; <waiting ...>
-step s1svp: SAVEPOINT f;
-invalid permutation detected
-
-starting permutation: s1l s2l s2c s1svp s1d s1r s1c
-step s1l: SELECT * FROM foo FOR KEY SHARE;
-key value
-
-1 1
-step s2l: SELECT * FROM foo FOR UPDATE; <waiting ...>
-invalid permutation detected
-
-starting permutation: s2l s1l s1svp s1d s1r s1c s2c
-step s2l: SELECT * FROM foo FOR UPDATE;
-key value
-
-1 1
-step s1l: SELECT * FROM foo FOR KEY SHARE; <waiting ...>
-invalid permutation detected
-
-starting permutation: s2l s1l s1svp s1d s1r s2c s1c
-step s2l: SELECT * FROM foo FOR UPDATE;
-key value
-
-1 1
-step s1l: SELECT * FROM foo FOR KEY SHARE; <waiting ...>
-invalid permutation detected
-
-starting permutation: s2l s1l s1svp s1d s2c s1r s1c
-step s2l: SELECT * FROM foo FOR UPDATE;
-key value
-
-1 1
-step s1l: SELECT * FROM foo FOR KEY SHARE; <waiting ...>
-invalid permutation detected
-
-starting permutation: s2l s1l s1svp s2c s1d s1r s1c
-step s2l: SELECT * FROM foo FOR UPDATE;
-key value
-
-1 1
-step s1l: SELECT * FROM foo FOR KEY SHARE; <waiting ...>
-invalid permutation detected
-
starting permutation: s2l s1l s2c s1svp s1d s1r s1c
step s2l: SELECT * FROM foo FOR UPDATE;
key value
step s2u: <... completed>
step s2c: COMMIT;
-starting permutation: s1i s1u s2i s2u s2c s1c
-step s1i: INSERT INTO child VALUES (1, 1);
-step s1u: UPDATE parent SET aux = 'bar';
-step s2i: INSERT INTO child VALUES (2, 1);
-step s2u: UPDATE parent SET aux = 'baz'; <waiting ...>
-invalid permutation detected
-
starting permutation: s1i s2i s1u s1c s2u s2c
step s1i: INSERT INTO child VALUES (1, 1);
step s2i: INSERT INTO child VALUES (2, 1);
step s2u: <... completed>
step s2c: COMMIT;
-starting permutation: s1i s2i s1u s2u s2c s1c
-step s1i: INSERT INTO child VALUES (1, 1);
-step s2i: INSERT INTO child VALUES (2, 1);
-step s1u: UPDATE parent SET aux = 'bar';
-step s2u: UPDATE parent SET aux = 'baz'; <waiting ...>
-invalid permutation detected
-
-starting permutation: s1i s2i s2u s1u s1c s2c
-step s1i: INSERT INTO child VALUES (1, 1);
-step s2i: INSERT INTO child VALUES (2, 1);
-step s2u: UPDATE parent SET aux = 'baz';
-step s1u: UPDATE parent SET aux = 'bar'; <waiting ...>
-invalid permutation detected
-
starting permutation: s1i s2i s2u s1u s2c s1c
step s1i: INSERT INTO child VALUES (1, 1);
step s2i: INSERT INTO child VALUES (2, 1);
step s2u: <... completed>
step s2c: COMMIT;
-starting permutation: s2i s1i s1u s2u s2c s1c
-step s2i: INSERT INTO child VALUES (2, 1);
-step s1i: INSERT INTO child VALUES (1, 1);
-step s1u: UPDATE parent SET aux = 'bar';
-step s2u: UPDATE parent SET aux = 'baz'; <waiting ...>
-invalid permutation detected
-
-starting permutation: s2i s1i s2u s1u s1c s2c
-step s2i: INSERT INTO child VALUES (2, 1);
-step s1i: INSERT INTO child VALUES (1, 1);
-step s2u: UPDATE parent SET aux = 'baz';
-step s1u: UPDATE parent SET aux = 'bar'; <waiting ...>
-invalid permutation detected
-
starting permutation: s2i s1i s2u s1u s2c s1c
step s2i: INSERT INTO child VALUES (2, 1);
step s1i: INSERT INTO child VALUES (1, 1);
step s1u: UPDATE parent SET aux = 'bar';
step s1c: COMMIT;
-starting permutation: s2i s2u s1i s1u s1c s2c
-step s2i: INSERT INTO child VALUES (2, 1);
-step s2u: UPDATE parent SET aux = 'baz';
-step s1i: INSERT INTO child VALUES (1, 1);
-step s1u: UPDATE parent SET aux = 'bar'; <waiting ...>
-invalid permutation detected
-
starting permutation: s2i s2u s1i s1u s2c s1c
step s2i: INSERT INTO child VALUES (2, 1);
step s2u: UPDATE parent SET aux = 'baz';
step s2u2: UPDATE B SET Col2 = 1 WHERE BID = 2;
step s2c: COMMIT;
-starting permutation: s1u1 s1u2 s2u1 s2u2 s1c s2c
-step s1u1: UPDATE A SET Col1 = 1 WHERE AID = 1;
-step s1u2: UPDATE B SET Col2 = 1 WHERE BID = 2;
-step s2u1: UPDATE B SET Col2 = 1 WHERE BID = 2; <waiting ...>
-invalid permutation detected
-
-starting permutation: s1u1 s1u2 s2u1 s2u2 s2c s1c
-step s1u1: UPDATE A SET Col1 = 1 WHERE AID = 1;
-step s1u2: UPDATE B SET Col2 = 1 WHERE BID = 2;
-step s2u1: UPDATE B SET Col2 = 1 WHERE BID = 2; <waiting ...>
-invalid permutation detected
-
-starting permutation: s1u1 s2u1 s1u2 s1c s2u2 s2c
-step s1u1: UPDATE A SET Col1 = 1 WHERE AID = 1;
-step s2u1: UPDATE B SET Col2 = 1 WHERE BID = 2;
-step s1u2: UPDATE B SET Col2 = 1 WHERE BID = 2; <waiting ...>
-invalid permutation detected
-
-starting permutation: s1u1 s2u1 s1u2 s2u2 s1c s2c
-step s1u1: UPDATE A SET Col1 = 1 WHERE AID = 1;
-step s2u1: UPDATE B SET Col2 = 1 WHERE BID = 2;
-step s1u2: UPDATE B SET Col2 = 1 WHERE BID = 2; <waiting ...>
-step s2u2: UPDATE B SET Col2 = 1 WHERE BID = 2;
-invalid permutation detected
-
starting permutation: s1u1 s2u1 s1u2 s2u2 s2c s1c
step s1u1: UPDATE A SET Col1 = 1 WHERE AID = 1;
step s2u1: UPDATE B SET Col2 = 1 WHERE BID = 2;
step s1u2: <... completed>
step s1c: COMMIT;
-starting permutation: s1u1 s2u1 s2u2 s1u2 s1c s2c
-step s1u1: UPDATE A SET Col1 = 1 WHERE AID = 1;
-step s2u1: UPDATE B SET Col2 = 1 WHERE BID = 2;
-step s2u2: UPDATE B SET Col2 = 1 WHERE BID = 2;
-step s1u2: UPDATE B SET Col2 = 1 WHERE BID = 2; <waiting ...>
-invalid permutation detected
-
starting permutation: s1u1 s2u1 s2u2 s1u2 s2c s1c
step s1u1: UPDATE A SET Col1 = 1 WHERE AID = 1;
step s2u1: UPDATE B SET Col2 = 1 WHERE BID = 2;
step s1u2: UPDATE B SET Col2 = 1 WHERE BID = 2;
step s1c: COMMIT;
-starting permutation: s2u1 s1u1 s1u2 s1c s2u2 s2c
-step s2u1: UPDATE B SET Col2 = 1 WHERE BID = 2;
-step s1u1: UPDATE A SET Col1 = 1 WHERE AID = 1;
-step s1u2: UPDATE B SET Col2 = 1 WHERE BID = 2; <waiting ...>
-invalid permutation detected
-
-starting permutation: s2u1 s1u1 s1u2 s2u2 s1c s2c
-step s2u1: UPDATE B SET Col2 = 1 WHERE BID = 2;
-step s1u1: UPDATE A SET Col1 = 1 WHERE AID = 1;
-step s1u2: UPDATE B SET Col2 = 1 WHERE BID = 2; <waiting ...>
-step s2u2: UPDATE B SET Col2 = 1 WHERE BID = 2;
-invalid permutation detected
-
starting permutation: s2u1 s1u1 s1u2 s2u2 s2c s1c
step s2u1: UPDATE B SET Col2 = 1 WHERE BID = 2;
step s1u1: UPDATE A SET Col1 = 1 WHERE AID = 1;
step s1u2: <... completed>
step s1c: COMMIT;
-starting permutation: s2u1 s1u1 s2u2 s1u2 s1c s2c
-step s2u1: UPDATE B SET Col2 = 1 WHERE BID = 2;
-step s1u1: UPDATE A SET Col1 = 1 WHERE AID = 1;
-step s2u2: UPDATE B SET Col2 = 1 WHERE BID = 2;
-step s1u2: UPDATE B SET Col2 = 1 WHERE BID = 2; <waiting ...>
-invalid permutation detected
-
starting permutation: s2u1 s1u1 s2u2 s1u2 s2c s1c
step s2u1: UPDATE B SET Col2 = 1 WHERE BID = 2;
step s1u1: UPDATE A SET Col1 = 1 WHERE AID = 1;
step s1u2: UPDATE B SET Col2 = 1 WHERE BID = 2;
step s1c: COMMIT;
-starting permutation: s2u1 s2u2 s1u1 s1u2 s1c s2c
-step s2u1: UPDATE B SET Col2 = 1 WHERE BID = 2;
-step s2u2: UPDATE B SET Col2 = 1 WHERE BID = 2;
-step s1u1: UPDATE A SET Col1 = 1 WHERE AID = 1;
-step s1u2: UPDATE B SET Col2 = 1 WHERE BID = 2; <waiting ...>
-invalid permutation detected
-
starting permutation: s2u1 s2u2 s1u1 s1u2 s2c s1c
step s2u1: UPDATE B SET Col2 = 1 WHERE BID = 2;
step s2u2: UPDATE B SET Col2 = 1 WHERE BID = 2;
ERROR: current transaction is aborted, commands ignored until end of transaction block
step s2c: COMMIT;
-starting permutation: s1u1 s1u2 s2u1 s2u2 s1c s2c
-step s1u1: UPDATE A SET Col1 = 1 WHERE AID = 1;
-step s1u2: UPDATE B SET Col2 = 1 WHERE BID = 2;
-step s2u1: UPDATE B SET Col2 = 1 WHERE BID = 2; <waiting ...>
-invalid permutation detected
-
-starting permutation: s1u1 s1u2 s2u1 s2u2 s2c s1c
-step s1u1: UPDATE A SET Col1 = 1 WHERE AID = 1;
-step s1u2: UPDATE B SET Col2 = 1 WHERE BID = 2;
-step s2u1: UPDATE B SET Col2 = 1 WHERE BID = 2; <waiting ...>
-invalid permutation detected
-
-starting permutation: s1u1 s2u1 s1u2 s1c s2u2 s2c
-step s1u1: UPDATE A SET Col1 = 1 WHERE AID = 1;
-step s2u1: UPDATE B SET Col2 = 1 WHERE BID = 2;
-step s1u2: UPDATE B SET Col2 = 1 WHERE BID = 2; <waiting ...>
-invalid permutation detected
-
-starting permutation: s1u1 s2u1 s1u2 s2u2 s1c s2c
-step s1u1: UPDATE A SET Col1 = 1 WHERE AID = 1;
-step s2u1: UPDATE B SET Col2 = 1 WHERE BID = 2;
-step s1u2: UPDATE B SET Col2 = 1 WHERE BID = 2; <waiting ...>
-step s2u2: UPDATE B SET Col2 = 1 WHERE BID = 2;
-invalid permutation detected
-
starting permutation: s1u1 s2u1 s1u2 s2u2 s2c s1c
step s1u1: UPDATE A SET Col1 = 1 WHERE AID = 1;
step s2u1: UPDATE B SET Col2 = 1 WHERE BID = 2;
error in steps s2c s1u2: ERROR: could not serialize access due to concurrent update
step s1c: COMMIT;
-starting permutation: s1u1 s2u1 s2u2 s1u2 s1c s2c
-step s1u1: UPDATE A SET Col1 = 1 WHERE AID = 1;
-step s2u1: UPDATE B SET Col2 = 1 WHERE BID = 2;
-step s2u2: UPDATE B SET Col2 = 1 WHERE BID = 2;
-step s1u2: UPDATE B SET Col2 = 1 WHERE BID = 2; <waiting ...>
-invalid permutation detected
-
starting permutation: s1u1 s2u1 s2u2 s1u2 s2c s1c
step s1u1: UPDATE A SET Col1 = 1 WHERE AID = 1;
step s2u1: UPDATE B SET Col2 = 1 WHERE BID = 2;
ERROR: could not serialize access due to read/write dependencies among transactions
step s1c: COMMIT;
-starting permutation: s2u1 s1u1 s1u2 s1c s2u2 s2c
-step s2u1: UPDATE B SET Col2 = 1 WHERE BID = 2;
-step s1u1: UPDATE A SET Col1 = 1 WHERE AID = 1;
-step s1u2: UPDATE B SET Col2 = 1 WHERE BID = 2; <waiting ...>
-invalid permutation detected
-
-starting permutation: s2u1 s1u1 s1u2 s2u2 s1c s2c
-step s2u1: UPDATE B SET Col2 = 1 WHERE BID = 2;
-step s1u1: UPDATE A SET Col1 = 1 WHERE AID = 1;
-step s1u2: UPDATE B SET Col2 = 1 WHERE BID = 2; <waiting ...>
-step s2u2: UPDATE B SET Col2 = 1 WHERE BID = 2;
-invalid permutation detected
-
starting permutation: s2u1 s1u1 s1u2 s2u2 s2c s1c
step s2u1: UPDATE B SET Col2 = 1 WHERE BID = 2;
step s1u1: UPDATE A SET Col1 = 1 WHERE AID = 1;
error in steps s2c s1u2: ERROR: could not serialize access due to concurrent update
step s1c: COMMIT;
-starting permutation: s2u1 s1u1 s2u2 s1u2 s1c s2c
-step s2u1: UPDATE B SET Col2 = 1 WHERE BID = 2;
-step s1u1: UPDATE A SET Col1 = 1 WHERE AID = 1;
-step s2u2: UPDATE B SET Col2 = 1 WHERE BID = 2;
-step s1u2: UPDATE B SET Col2 = 1 WHERE BID = 2; <waiting ...>
-invalid permutation detected
-
starting permutation: s2u1 s1u1 s2u2 s1u2 s2c s1c
step s2u1: UPDATE B SET Col2 = 1 WHERE BID = 2;
step s1u1: UPDATE A SET Col1 = 1 WHERE AID = 1;
ERROR: could not serialize access due to read/write dependencies among transactions
step s1c: COMMIT;
-starting permutation: s2u1 s2u2 s1u1 s1u2 s1c s2c
-step s2u1: UPDATE B SET Col2 = 1 WHERE BID = 2;
-step s2u2: UPDATE B SET Col2 = 1 WHERE BID = 2;
-step s1u1: UPDATE A SET Col1 = 1 WHERE AID = 1;
-step s1u2: UPDATE B SET Col2 = 1 WHERE BID = 2; <waiting ...>
-invalid permutation detected
-
starting permutation: s2u1 s2u2 s1u1 s1u2 s2c s1c
step s2u1: UPDATE B SET Col2 = 1 WHERE BID = 2;
step s2u2: UPDATE B SET Col2 = 1 WHERE BID = 2;
ERROR: current transaction is aborted, commands ignored until end of transaction block
step s2c: COMMIT;
-starting permutation: s1u1 s1u2 s2u1 s2u2 s1c s2c
-step s1u1: UPDATE A SET Col1 = 1 WHERE AID = 1;
-step s1u2: UPDATE B SET Col2 = 1 WHERE BID = 2;
-step s2u1: UPDATE B SET Col2 = 1 WHERE BID = 2; <waiting ...>
-invalid permutation detected
-
-starting permutation: s1u1 s1u2 s2u1 s2u2 s2c s1c
-step s1u1: UPDATE A SET Col1 = 1 WHERE AID = 1;
-step s1u2: UPDATE B SET Col2 = 1 WHERE BID = 2;
-step s2u1: UPDATE B SET Col2 = 1 WHERE BID = 2; <waiting ...>
-invalid permutation detected
-
-starting permutation: s1u1 s2u1 s1u2 s1c s2u2 s2c
-step s1u1: UPDATE A SET Col1 = 1 WHERE AID = 1;
-step s2u1: UPDATE B SET Col2 = 1 WHERE BID = 2;
-step s1u2: UPDATE B SET Col2 = 1 WHERE BID = 2; <waiting ...>
-invalid permutation detected
-
-starting permutation: s1u1 s2u1 s1u2 s2u2 s1c s2c
-step s1u1: UPDATE A SET Col1 = 1 WHERE AID = 1;
-step s2u1: UPDATE B SET Col2 = 1 WHERE BID = 2;
-step s1u2: UPDATE B SET Col2 = 1 WHERE BID = 2; <waiting ...>
-step s2u2: UPDATE B SET Col2 = 1 WHERE BID = 2;
-invalid permutation detected
-
starting permutation: s1u1 s2u1 s1u2 s2u2 s2c s1c
step s1u1: UPDATE A SET Col1 = 1 WHERE AID = 1;
step s2u1: UPDATE B SET Col2 = 1 WHERE BID = 2;
error in steps s2c s1u2: ERROR: could not serialize access due to concurrent update
step s1c: COMMIT;
-starting permutation: s1u1 s2u1 s2u2 s1u2 s1c s2c
-step s1u1: UPDATE A SET Col1 = 1 WHERE AID = 1;
-step s2u1: UPDATE B SET Col2 = 1 WHERE BID = 2;
-step s2u2: UPDATE B SET Col2 = 1 WHERE BID = 2;
-step s1u2: UPDATE B SET Col2 = 1 WHERE BID = 2; <waiting ...>
-invalid permutation detected
-
starting permutation: s1u1 s2u1 s2u2 s1u2 s2c s1c
step s1u1: UPDATE A SET Col1 = 1 WHERE AID = 1;
step s2u1: UPDATE B SET Col2 = 1 WHERE BID = 2;
ERROR: could not serialize access due to concurrent update
step s1c: COMMIT;
-starting permutation: s2u1 s1u1 s1u2 s1c s2u2 s2c
-step s2u1: UPDATE B SET Col2 = 1 WHERE BID = 2;
-step s1u1: UPDATE A SET Col1 = 1 WHERE AID = 1;
-step s1u2: UPDATE B SET Col2 = 1 WHERE BID = 2; <waiting ...>
-invalid permutation detected
-
-starting permutation: s2u1 s1u1 s1u2 s2u2 s1c s2c
-step s2u1: UPDATE B SET Col2 = 1 WHERE BID = 2;
-step s1u1: UPDATE A SET Col1 = 1 WHERE AID = 1;
-step s1u2: UPDATE B SET Col2 = 1 WHERE BID = 2; <waiting ...>
-step s2u2: UPDATE B SET Col2 = 1 WHERE BID = 2;
-invalid permutation detected
-
starting permutation: s2u1 s1u1 s1u2 s2u2 s2c s1c
step s2u1: UPDATE B SET Col2 = 1 WHERE BID = 2;
step s1u1: UPDATE A SET Col1 = 1 WHERE AID = 1;
error in steps s2c s1u2: ERROR: could not serialize access due to concurrent update
step s1c: COMMIT;
-starting permutation: s2u1 s1u1 s2u2 s1u2 s1c s2c
-step s2u1: UPDATE B SET Col2 = 1 WHERE BID = 2;
-step s1u1: UPDATE A SET Col1 = 1 WHERE AID = 1;
-step s2u2: UPDATE B SET Col2 = 1 WHERE BID = 2;
-step s1u2: UPDATE B SET Col2 = 1 WHERE BID = 2; <waiting ...>
-invalid permutation detected
-
starting permutation: s2u1 s1u1 s2u2 s1u2 s2c s1c
step s2u1: UPDATE B SET Col2 = 1 WHERE BID = 2;
step s1u1: UPDATE A SET Col1 = 1 WHERE AID = 1;
ERROR: could not serialize access due to concurrent update
step s1c: COMMIT;
-starting permutation: s2u1 s2u2 s1u1 s1u2 s1c s2c
-step s2u1: UPDATE B SET Col2 = 1 WHERE BID = 2;
-step s2u2: UPDATE B SET Col2 = 1 WHERE BID = 2;
-step s1u1: UPDATE A SET Col1 = 1 WHERE AID = 1;
-step s1u2: UPDATE B SET Col2 = 1 WHERE BID = 2; <waiting ...>
-invalid permutation detected
-
starting permutation: s2u1 s2u2 s1u1 s1u2 s2c s1c
step s2u1: UPDATE B SET Col2 = 1 WHERE BID = 2;
step s2u2: UPDATE B SET Col2 = 1 WHERE BID = 2;
error in steps s1c s2u: ERROR: could not serialize access due to concurrent update
step s2c: COMMIT;
-starting permutation: s1i s1u s2i s2u s2c s1c
-step s1i: INSERT INTO child VALUES (1, 1);
-step s1u: UPDATE parent SET aux = 'bar';
-step s2i: INSERT INTO child VALUES (2, 1);
-step s2u: UPDATE parent SET aux = 'baz'; <waiting ...>
-invalid permutation detected
-
starting permutation: s1i s2i s1u s1c s2u s2c
step s1i: INSERT INTO child VALUES (1, 1);
step s2i: INSERT INTO child VALUES (2, 1);
error in steps s1c s2u: ERROR: could not serialize access due to concurrent update
step s2c: COMMIT;
-starting permutation: s1i s2i s1u s2u s2c s1c
-step s1i: INSERT INTO child VALUES (1, 1);
-step s2i: INSERT INTO child VALUES (2, 1);
-step s1u: UPDATE parent SET aux = 'bar';
-step s2u: UPDATE parent SET aux = 'baz'; <waiting ...>
-invalid permutation detected
-
-starting permutation: s1i s2i s2u s1u s1c s2c
-step s1i: INSERT INTO child VALUES (1, 1);
-step s2i: INSERT INTO child VALUES (2, 1);
-step s2u: UPDATE parent SET aux = 'baz';
-step s1u: UPDATE parent SET aux = 'bar'; <waiting ...>
-invalid permutation detected
-
starting permutation: s1i s2i s2u s1u s2c s1c
step s1i: INSERT INTO child VALUES (1, 1);
step s2i: INSERT INTO child VALUES (2, 1);
error in steps s1c s2u: ERROR: could not serialize access due to concurrent update
step s2c: COMMIT;
-starting permutation: s2i s1i s1u s2u s2c s1c
-step s2i: INSERT INTO child VALUES (2, 1);
-step s1i: INSERT INTO child VALUES (1, 1);
-step s1u: UPDATE parent SET aux = 'bar';
-step s2u: UPDATE parent SET aux = 'baz'; <waiting ...>
-invalid permutation detected
-
-starting permutation: s2i s1i s2u s1u s1c s2c
-step s2i: INSERT INTO child VALUES (2, 1);
-step s1i: INSERT INTO child VALUES (1, 1);
-step s2u: UPDATE parent SET aux = 'baz';
-step s1u: UPDATE parent SET aux = 'bar'; <waiting ...>
-invalid permutation detected
-
starting permutation: s2i s1i s2u s1u s2c s1c
step s2i: INSERT INTO child VALUES (2, 1);
step s1i: INSERT INTO child VALUES (1, 1);
ERROR: could not serialize access due to concurrent update
step s1c: COMMIT;
-starting permutation: s2i s2u s1i s1u s1c s2c
-step s2i: INSERT INTO child VALUES (2, 1);
-step s2u: UPDATE parent SET aux = 'baz';
-step s1i: INSERT INTO child VALUES (1, 1);
-step s1u: UPDATE parent SET aux = 'bar'; <waiting ...>
-invalid permutation detected
-
starting permutation: s2i s2u s1i s1u s2c s1c
step s2i: INSERT INTO child VALUES (2, 1);
step s2u: UPDATE parent SET aux = 'baz';
setup { BEGIN; }
step "s2l" { SELECT * FROM foo FOR KEY SHARE; }
step "s2c" { COMMIT; }
+
+permutation "s1s" "s1u" "s1r" "s1l" "s1c" "s2l" "s2c"
+permutation "s1s" "s1u" "s1r" "s1l" "s2l" "s1c" "s2c"
+permutation "s1s" "s1u" "s1r" "s1l" "s2l" "s2c" "s1c"
+permutation "s1s" "s1u" "s1r" "s2l" "s1l" "s1c" "s2c"
+permutation "s1s" "s1u" "s1r" "s2l" "s1l" "s2c" "s1c"
+permutation "s1s" "s1u" "s1r" "s2l" "s2c" "s1l" "s1c"
+permutation "s1s" "s1u" "s2l" "s1r" "s1l" "s1c" "s2c"
+permutation "s1s" "s1u" "s2l" "s1r" "s1l" "s2c" "s1c"
+permutation "s1s" "s1u" "s2l" "s1r" "s2c" "s1l" "s1c"
+permutation "s1s" "s2l" "s1u" "s2c" "s1r" "s1l" "s1c"
+permutation "s1s" "s2l" "s2c" "s1u" "s1r" "s1l" "s1c"
+permutation "s2l" "s1s" "s1u" "s2c" "s1r" "s1l" "s1c"
+permutation "s2l" "s1s" "s2c" "s1u" "s1r" "s1l" "s1c"
+permutation "s2l" "s2c" "s1s" "s1u" "s1r" "s1l" "s1c"
step "wx" { INSERT INTO b VALUES (0); }
step "rx3" { SELECT * FROM b WHERE a_id = 3 LIMIT 3; }
step "c2" { COMMIT; }
+
+permutation "s1" "at1" "sc1" "s2" "at2" "sc2" "rx1" "wx" "rx3" "c2"
+permutation "s1" "at1" "sc1" "s2" "at2" "rx1" "sc2" "wx" "rx3" "c2"
+permutation "s1" "at1" "sc1" "s2" "at2" "rx1" "wx" "sc2" "rx3" "c2"
+permutation "s1" "at1" "sc1" "s2" "at2" "rx1" "wx" "rx3" "sc2" "c2"
+permutation "s1" "at1" "sc1" "s2" "at2" "rx1" "wx" "rx3" "c2" "sc2"
+permutation "s1" "at1" "sc1" "s2" "rx1" "at2" "sc2" "wx" "rx3" "c2"
+permutation "s1" "at1" "sc1" "s2" "rx1" "at2" "wx" "sc2" "rx3" "c2"
+permutation "s1" "at1" "sc1" "s2" "rx1" "at2" "wx" "rx3" "sc2" "c2"
+permutation "s1" "at1" "sc1" "s2" "rx1" "at2" "wx" "rx3" "c2" "sc2"
+permutation "s1" "at1" "sc1" "s2" "rx1" "wx" "at2" "sc2" "rx3" "c2"
+permutation "s1" "at1" "sc1" "s2" "rx1" "wx" "at2" "rx3" "sc2" "c2"
+permutation "s1" "at1" "sc1" "s2" "rx1" "wx" "at2" "rx3" "c2" "sc2"
+permutation "s1" "at1" "sc1" "s2" "rx1" "wx" "rx3" "at2" "sc2" "c2"
+permutation "s1" "at1" "sc1" "s2" "rx1" "wx" "rx3" "at2" "c2" "sc2"
+permutation "s1" "at1" "sc1" "s2" "rx1" "wx" "rx3" "c2" "at2" "sc2"
+permutation "s1" "at1" "sc1" "rx1" "s2" "at2" "sc2" "wx" "rx3" "c2"
+permutation "s1" "at1" "sc1" "rx1" "s2" "at2" "wx" "sc2" "rx3" "c2"
+permutation "s1" "at1" "sc1" "rx1" "s2" "at2" "wx" "rx3" "sc2" "c2"
+permutation "s1" "at1" "sc1" "rx1" "s2" "at2" "wx" "rx3" "c2" "sc2"
+permutation "s1" "at1" "sc1" "rx1" "s2" "wx" "at2" "sc2" "rx3" "c2"
+permutation "s1" "at1" "sc1" "rx1" "s2" "wx" "at2" "rx3" "sc2" "c2"
+permutation "s1" "at1" "sc1" "rx1" "s2" "wx" "at2" "rx3" "c2" "sc2"
+permutation "s1" "at1" "sc1" "rx1" "s2" "wx" "rx3" "at2" "sc2" "c2"
+permutation "s1" "at1" "sc1" "rx1" "s2" "wx" "rx3" "at2" "c2" "sc2"
+permutation "s1" "at1" "sc1" "rx1" "s2" "wx" "rx3" "c2" "at2" "sc2"
+permutation "s1" "at1" "sc1" "rx1" "wx" "s2" "at2" "sc2" "rx3" "c2"
+permutation "s1" "at1" "sc1" "rx1" "wx" "s2" "at2" "rx3" "sc2" "c2"
+permutation "s1" "at1" "sc1" "rx1" "wx" "s2" "at2" "rx3" "c2" "sc2"
+permutation "s1" "at1" "sc1" "rx1" "wx" "s2" "rx3" "at2" "sc2" "c2"
+permutation "s1" "at1" "sc1" "rx1" "wx" "s2" "rx3" "at2" "c2" "sc2"
+permutation "s1" "at1" "sc1" "rx1" "wx" "s2" "rx3" "c2" "at2" "sc2"
+permutation "s1" "at1" "sc1" "rx1" "wx" "rx3" "s2" "at2" "sc2" "c2"
+permutation "s1" "at1" "sc1" "rx1" "wx" "rx3" "s2" "at2" "c2" "sc2"
+permutation "s1" "at1" "sc1" "rx1" "wx" "rx3" "s2" "c2" "at2" "sc2"
+permutation "s1" "at1" "sc1" "rx1" "wx" "rx3" "c2" "s2" "at2" "sc2"
+permutation "s1" "at1" "rx1" "sc1" "s2" "at2" "sc2" "wx" "rx3" "c2"
+permutation "s1" "at1" "rx1" "sc1" "s2" "at2" "wx" "sc2" "rx3" "c2"
+permutation "s1" "at1" "rx1" "sc1" "s2" "at2" "wx" "rx3" "sc2" "c2"
+permutation "s1" "at1" "rx1" "sc1" "s2" "at2" "wx" "rx3" "c2" "sc2"
+permutation "s1" "at1" "rx1" "sc1" "s2" "wx" "at2" "sc2" "rx3" "c2"
+permutation "s1" "at1" "rx1" "sc1" "s2" "wx" "at2" "rx3" "sc2" "c2"
+permutation "s1" "at1" "rx1" "sc1" "s2" "wx" "at2" "rx3" "c2" "sc2"
+permutation "s1" "at1" "rx1" "sc1" "s2" "wx" "rx3" "at2" "sc2" "c2"
+permutation "s1" "at1" "rx1" "sc1" "s2" "wx" "rx3" "at2" "c2" "sc2"
+permutation "s1" "at1" "rx1" "sc1" "s2" "wx" "rx3" "c2" "at2" "sc2"
+permutation "s1" "at1" "rx1" "sc1" "wx" "s2" "at2" "sc2" "rx3" "c2"
+permutation "s1" "at1" "rx1" "sc1" "wx" "s2" "at2" "rx3" "sc2" "c2"
+permutation "s1" "at1" "rx1" "sc1" "wx" "s2" "at2" "rx3" "c2" "sc2"
+permutation "s1" "at1" "rx1" "sc1" "wx" "s2" "rx3" "at2" "sc2" "c2"
+permutation "s1" "at1" "rx1" "sc1" "wx" "s2" "rx3" "at2" "c2" "sc2"
+permutation "s1" "at1" "rx1" "sc1" "wx" "s2" "rx3" "c2" "at2" "sc2"
+permutation "s1" "at1" "rx1" "sc1" "wx" "rx3" "s2" "at2" "sc2" "c2"
+permutation "s1" "at1" "rx1" "sc1" "wx" "rx3" "s2" "at2" "c2" "sc2"
+permutation "s1" "at1" "rx1" "sc1" "wx" "rx3" "s2" "c2" "at2" "sc2"
+permutation "s1" "at1" "rx1" "sc1" "wx" "rx3" "c2" "s2" "at2" "sc2"
+permutation "s1" "at1" "rx1" "wx" "sc1" "s2" "at2" "sc2" "rx3" "c2"
+permutation "s1" "at1" "rx1" "wx" "sc1" "s2" "at2" "rx3" "sc2" "c2"
+permutation "s1" "at1" "rx1" "wx" "sc1" "s2" "at2" "rx3" "c2" "sc2"
+permutation "s1" "at1" "rx1" "wx" "sc1" "s2" "rx3" "at2" "sc2" "c2"
+permutation "s1" "at1" "rx1" "wx" "sc1" "s2" "rx3" "at2" "c2" "sc2"
+permutation "s1" "at1" "rx1" "wx" "sc1" "s2" "rx3" "c2" "at2" "sc2"
+permutation "s1" "at1" "rx1" "wx" "sc1" "rx3" "s2" "at2" "sc2" "c2"
+permutation "s1" "at1" "rx1" "wx" "sc1" "rx3" "s2" "at2" "c2" "sc2"
+permutation "s1" "at1" "rx1" "wx" "sc1" "rx3" "s2" "c2" "at2" "sc2"
+permutation "s1" "at1" "rx1" "wx" "sc1" "rx3" "c2" "s2" "at2" "sc2"
+permutation "s1" "rx1" "at1" "sc1" "s2" "at2" "sc2" "wx" "rx3" "c2"
+permutation "s1" "rx1" "at1" "sc1" "s2" "at2" "wx" "sc2" "rx3" "c2"
+permutation "s1" "rx1" "at1" "sc1" "s2" "at2" "wx" "rx3" "sc2" "c2"
+permutation "s1" "rx1" "at1" "sc1" "s2" "at2" "wx" "rx3" "c2" "sc2"
+permutation "s1" "rx1" "at1" "sc1" "s2" "wx" "at2" "sc2" "rx3" "c2"
+permutation "s1" "rx1" "at1" "sc1" "s2" "wx" "at2" "rx3" "sc2" "c2"
+permutation "s1" "rx1" "at1" "sc1" "s2" "wx" "at2" "rx3" "c2" "sc2"
+permutation "s1" "rx1" "at1" "sc1" "s2" "wx" "rx3" "at2" "sc2" "c2"
+permutation "s1" "rx1" "at1" "sc1" "s2" "wx" "rx3" "at2" "c2" "sc2"
+permutation "s1" "rx1" "at1" "sc1" "s2" "wx" "rx3" "c2" "at2" "sc2"
+permutation "s1" "rx1" "at1" "sc1" "wx" "s2" "at2" "sc2" "rx3" "c2"
+permutation "s1" "rx1" "at1" "sc1" "wx" "s2" "at2" "rx3" "sc2" "c2"
+permutation "s1" "rx1" "at1" "sc1" "wx" "s2" "at2" "rx3" "c2" "sc2"
+permutation "s1" "rx1" "at1" "sc1" "wx" "s2" "rx3" "at2" "sc2" "c2"
+permutation "s1" "rx1" "at1" "sc1" "wx" "s2" "rx3" "at2" "c2" "sc2"
+permutation "s1" "rx1" "at1" "sc1" "wx" "s2" "rx3" "c2" "at2" "sc2"
+permutation "s1" "rx1" "at1" "sc1" "wx" "rx3" "s2" "at2" "sc2" "c2"
+permutation "s1" "rx1" "at1" "sc1" "wx" "rx3" "s2" "at2" "c2" "sc2"
+permutation "s1" "rx1" "at1" "sc1" "wx" "rx3" "s2" "c2" "at2" "sc2"
+permutation "s1" "rx1" "at1" "sc1" "wx" "rx3" "c2" "s2" "at2" "sc2"
+permutation "s1" "rx1" "at1" "wx" "sc1" "s2" "at2" "sc2" "rx3" "c2"
+permutation "s1" "rx1" "at1" "wx" "sc1" "s2" "at2" "rx3" "sc2" "c2"
+permutation "s1" "rx1" "at1" "wx" "sc1" "s2" "at2" "rx3" "c2" "sc2"
+permutation "s1" "rx1" "at1" "wx" "sc1" "s2" "rx3" "at2" "sc2" "c2"
+permutation "s1" "rx1" "at1" "wx" "sc1" "s2" "rx3" "at2" "c2" "sc2"
+permutation "s1" "rx1" "at1" "wx" "sc1" "s2" "rx3" "c2" "at2" "sc2"
+permutation "s1" "rx1" "at1" "wx" "sc1" "rx3" "s2" "at2" "sc2" "c2"
+permutation "s1" "rx1" "at1" "wx" "sc1" "rx3" "s2" "at2" "c2" "sc2"
+permutation "s1" "rx1" "at1" "wx" "sc1" "rx3" "s2" "c2" "at2" "sc2"
+permutation "s1" "rx1" "at1" "wx" "sc1" "rx3" "c2" "s2" "at2" "sc2"
+permutation "s1" "rx1" "wx" "at1" "rx3" "c2" "sc1" "s2" "at2" "sc2"
+permutation "s1" "rx1" "wx" "rx3" "at1" "c2" "sc1" "s2" "at2" "sc2"
+permutation "s1" "rx1" "wx" "rx3" "c2" "at1" "sc1" "s2" "at2" "sc2"
+permutation "rx1" "s1" "at1" "sc1" "s2" "at2" "sc2" "wx" "rx3" "c2"
+permutation "rx1" "s1" "at1" "sc1" "s2" "at2" "wx" "sc2" "rx3" "c2"
+permutation "rx1" "s1" "at1" "sc1" "s2" "at2" "wx" "rx3" "sc2" "c2"
+permutation "rx1" "s1" "at1" "sc1" "s2" "at2" "wx" "rx3" "c2" "sc2"
+permutation "rx1" "s1" "at1" "sc1" "s2" "wx" "at2" "sc2" "rx3" "c2"
+permutation "rx1" "s1" "at1" "sc1" "s2" "wx" "at2" "rx3" "sc2" "c2"
+permutation "rx1" "s1" "at1" "sc1" "s2" "wx" "at2" "rx3" "c2" "sc2"
+permutation "rx1" "s1" "at1" "sc1" "s2" "wx" "rx3" "at2" "sc2" "c2"
+permutation "rx1" "s1" "at1" "sc1" "s2" "wx" "rx3" "at2" "c2" "sc2"
+permutation "rx1" "s1" "at1" "sc1" "s2" "wx" "rx3" "c2" "at2" "sc2"
+permutation "rx1" "s1" "at1" "sc1" "wx" "s2" "at2" "sc2" "rx3" "c2"
+permutation "rx1" "s1" "at1" "sc1" "wx" "s2" "at2" "rx3" "sc2" "c2"
+permutation "rx1" "s1" "at1" "sc1" "wx" "s2" "at2" "rx3" "c2" "sc2"
+permutation "rx1" "s1" "at1" "sc1" "wx" "s2" "rx3" "at2" "sc2" "c2"
+permutation "rx1" "s1" "at1" "sc1" "wx" "s2" "rx3" "at2" "c2" "sc2"
+permutation "rx1" "s1" "at1" "sc1" "wx" "s2" "rx3" "c2" "at2" "sc2"
+permutation "rx1" "s1" "at1" "sc1" "wx" "rx3" "s2" "at2" "sc2" "c2"
+permutation "rx1" "s1" "at1" "sc1" "wx" "rx3" "s2" "at2" "c2" "sc2"
+permutation "rx1" "s1" "at1" "sc1" "wx" "rx3" "s2" "c2" "at2" "sc2"
+permutation "rx1" "s1" "at1" "sc1" "wx" "rx3" "c2" "s2" "at2" "sc2"
+permutation "rx1" "s1" "at1" "wx" "sc1" "s2" "at2" "sc2" "rx3" "c2"
+permutation "rx1" "s1" "at1" "wx" "sc1" "s2" "at2" "rx3" "sc2" "c2"
+permutation "rx1" "s1" "at1" "wx" "sc1" "s2" "at2" "rx3" "c2" "sc2"
+permutation "rx1" "s1" "at1" "wx" "sc1" "s2" "rx3" "at2" "sc2" "c2"
+permutation "rx1" "s1" "at1" "wx" "sc1" "s2" "rx3" "at2" "c2" "sc2"
+permutation "rx1" "s1" "at1" "wx" "sc1" "s2" "rx3" "c2" "at2" "sc2"
+permutation "rx1" "s1" "at1" "wx" "sc1" "rx3" "s2" "at2" "sc2" "c2"
+permutation "rx1" "s1" "at1" "wx" "sc1" "rx3" "s2" "at2" "c2" "sc2"
+permutation "rx1" "s1" "at1" "wx" "sc1" "rx3" "s2" "c2" "at2" "sc2"
+permutation "rx1" "s1" "at1" "wx" "sc1" "rx3" "c2" "s2" "at2" "sc2"
+permutation "rx1" "s1" "wx" "at1" "rx3" "c2" "sc1" "s2" "at2" "sc2"
+permutation "rx1" "s1" "wx" "rx3" "at1" "c2" "sc1" "s2" "at2" "sc2"
+permutation "rx1" "s1" "wx" "rx3" "c2" "at1" "sc1" "s2" "at2" "sc2"
+permutation "rx1" "wx" "s1" "at1" "rx3" "c2" "sc1" "s2" "at2" "sc2"
+permutation "rx1" "wx" "s1" "rx3" "at1" "c2" "sc1" "s2" "at2" "sc2"
+permutation "rx1" "wx" "s1" "rx3" "c2" "at1" "sc1" "s2" "at2" "sc2"
+permutation "rx1" "wx" "rx3" "s1" "at1" "c2" "sc1" "s2" "at2" "sc2"
+permutation "rx1" "wx" "rx3" "s1" "c2" "at1" "sc1" "s2" "at2" "sc2"
+permutation "rx1" "wx" "rx3" "c2" "s1" "at1" "sc1" "s2" "at2" "sc2"
step "s2d" { INSERT INTO b VALUES (0); }
step "s2e" { INSERT INTO a VALUES (4); }
step "s2f" { COMMIT; }
+
+permutation "s1a" "s1b" "s1c" "s2a" "s2b" "s2c" "s2d" "s2e" "s2f"
+permutation "s1a" "s1b" "s2a" "s1c" "s2b" "s2c" "s2d" "s2e" "s2f"
+permutation "s1a" "s1b" "s2a" "s2b" "s1c" "s2c" "s2d" "s2e" "s2f"
+permutation "s1a" "s1b" "s2a" "s2b" "s2c" "s1c" "s2d" "s2e" "s2f"
+permutation "s1a" "s1b" "s2a" "s2b" "s2c" "s2d" "s1c" "s2e" "s2f"
+permutation "s1a" "s2a" "s1b" "s1c" "s2b" "s2c" "s2d" "s2e" "s2f"
+permutation "s1a" "s2a" "s1b" "s2b" "s1c" "s2c" "s2d" "s2e" "s2f"
+permutation "s1a" "s2a" "s1b" "s2b" "s2c" "s1c" "s2d" "s2e" "s2f"
+permutation "s1a" "s2a" "s1b" "s2b" "s2c" "s2d" "s1c" "s2e" "s2f"
+permutation "s1a" "s2a" "s2b" "s1b" "s1c" "s2c" "s2d" "s2e" "s2f"
+permutation "s1a" "s2a" "s2b" "s1b" "s2c" "s1c" "s2d" "s2e" "s2f"
+permutation "s1a" "s2a" "s2b" "s1b" "s2c" "s2d" "s1c" "s2e" "s2f"
+permutation "s1a" "s2a" "s2b" "s2c" "s1b" "s1c" "s2d" "s2e" "s2f"
+permutation "s1a" "s2a" "s2b" "s2c" "s1b" "s2d" "s1c" "s2e" "s2f"
+permutation "s1a" "s2a" "s2b" "s2c" "s2d" "s1b" "s2e" "s2f" "s1c"
+permutation "s1a" "s2a" "s2b" "s2c" "s2d" "s2e" "s1b" "s2f" "s1c"
+permutation "s1a" "s2a" "s2b" "s2c" "s2d" "s2e" "s2f" "s1b" "s1c"
+permutation "s2a" "s1a" "s1b" "s1c" "s2b" "s2c" "s2d" "s2e" "s2f"
+permutation "s2a" "s1a" "s1b" "s2b" "s1c" "s2c" "s2d" "s2e" "s2f"
+permutation "s2a" "s1a" "s1b" "s2b" "s2c" "s1c" "s2d" "s2e" "s2f"
+permutation "s2a" "s1a" "s1b" "s2b" "s2c" "s2d" "s1c" "s2e" "s2f"
+permutation "s2a" "s1a" "s2b" "s1b" "s1c" "s2c" "s2d" "s2e" "s2f"
+permutation "s2a" "s1a" "s2b" "s1b" "s2c" "s1c" "s2d" "s2e" "s2f"
+permutation "s2a" "s1a" "s2b" "s1b" "s2c" "s2d" "s1c" "s2e" "s2f"
+permutation "s2a" "s1a" "s2b" "s2c" "s1b" "s1c" "s2d" "s2e" "s2f"
+permutation "s2a" "s1a" "s2b" "s2c" "s1b" "s2d" "s1c" "s2e" "s2f"
+permutation "s2a" "s1a" "s2b" "s2c" "s2d" "s1b" "s2e" "s2f" "s1c"
+permutation "s2a" "s1a" "s2b" "s2c" "s2d" "s2e" "s1b" "s2f" "s1c"
+permutation "s2a" "s1a" "s2b" "s2c" "s2d" "s2e" "s2f" "s1b" "s1c"
+permutation "s2a" "s2b" "s1a" "s1b" "s1c" "s2c" "s2d" "s2e" "s2f"
+permutation "s2a" "s2b" "s1a" "s1b" "s2c" "s1c" "s2d" "s2e" "s2f"
+permutation "s2a" "s2b" "s1a" "s1b" "s2c" "s2d" "s1c" "s2e" "s2f"
+permutation "s2a" "s2b" "s1a" "s2c" "s1b" "s1c" "s2d" "s2e" "s2f"
+permutation "s2a" "s2b" "s1a" "s2c" "s1b" "s2d" "s1c" "s2e" "s2f"
+permutation "s2a" "s2b" "s1a" "s2c" "s2d" "s1b" "s2e" "s2f" "s1c"
+permutation "s2a" "s2b" "s1a" "s2c" "s2d" "s2e" "s1b" "s2f" "s1c"
+permutation "s2a" "s2b" "s1a" "s2c" "s2d" "s2e" "s2f" "s1b" "s1c"
+permutation "s2a" "s2b" "s2c" "s1a" "s1b" "s1c" "s2d" "s2e" "s2f"
+permutation "s2a" "s2b" "s2c" "s1a" "s1b" "s2d" "s1c" "s2e" "s2f"
+permutation "s2a" "s2b" "s2c" "s1a" "s2d" "s1b" "s2e" "s2f" "s1c"
+permutation "s2a" "s2b" "s2c" "s1a" "s2d" "s2e" "s1b" "s2f" "s1c"
+permutation "s2a" "s2b" "s2c" "s1a" "s2d" "s2e" "s2f" "s1b" "s1c"
+permutation "s2a" "s2b" "s2c" "s2d" "s1a" "s1b" "s2e" "s2f" "s1c"
+permutation "s2a" "s2b" "s2c" "s2d" "s1a" "s2e" "s1b" "s2f" "s1c"
+permutation "s2a" "s2b" "s2c" "s2d" "s1a" "s2e" "s2f" "s1b" "s1c"
+permutation "s2a" "s2b" "s2c" "s2d" "s2e" "s1a" "s1b" "s2f" "s1c"
+permutation "s2a" "s2b" "s2c" "s2d" "s2e" "s1a" "s2f" "s1b" "s1c"
+permutation "s2a" "s2b" "s2c" "s2d" "s2e" "s2f" "s1a" "s1b" "s1c"
step "s2b" { SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; }
step "s2c" { INSERT INTO a VALUES (0); }
step "s2d" { COMMIT; }
+
+permutation "s1a" "s1b" "s1c" "s1d" "s2a" "s2b" "s2c" "s2d"
+permutation "s1a" "s1b" "s1c" "s2a" "s1d" "s2b" "s2c" "s2d"
+permutation "s1a" "s1b" "s1c" "s2a" "s2b" "s1d" "s2c" "s2d"
+permutation "s1a" "s1b" "s1c" "s2a" "s2b" "s2c" "s1d" "s2d"
+permutation "s1a" "s1b" "s2a" "s1c" "s1d" "s2b" "s2c" "s2d"
+permutation "s1a" "s1b" "s2a" "s1c" "s2b" "s1d" "s2c" "s2d"
+permutation "s1a" "s1b" "s2a" "s1c" "s2b" "s2c" "s1d" "s2d"
+permutation "s1a" "s1b" "s2a" "s2b" "s1c" "s1d" "s2c" "s2d"
+permutation "s1a" "s1b" "s2a" "s2b" "s1c" "s2c" "s1d" "s2d"
+permutation "s1a" "s1b" "s2a" "s2b" "s2c" "s1c" "s1d" "s2d"
+permutation "s1a" "s2a" "s1b" "s1c" "s1d" "s2b" "s2c" "s2d"
+permutation "s1a" "s2a" "s1b" "s1c" "s2b" "s1d" "s2c" "s2d"
+permutation "s1a" "s2a" "s1b" "s1c" "s2b" "s2c" "s1d" "s2d"
+permutation "s1a" "s2a" "s1b" "s2b" "s1c" "s1d" "s2c" "s2d"
+permutation "s1a" "s2a" "s1b" "s2b" "s1c" "s2c" "s1d" "s2d"
+permutation "s1a" "s2a" "s1b" "s2b" "s2c" "s1c" "s1d" "s2d"
+permutation "s1a" "s2a" "s2b" "s1b" "s1c" "s1d" "s2c" "s2d"
+permutation "s1a" "s2a" "s2b" "s1b" "s1c" "s2c" "s1d" "s2d"
+permutation "s1a" "s2a" "s2b" "s1b" "s2c" "s1c" "s1d" "s2d"
+permutation "s1a" "s2a" "s2b" "s2c" "s1b" "s1c" "s1d" "s2d"
+permutation "s1a" "s2a" "s2b" "s2c" "s1b" "s1c" "s2d" "s1d"
+permutation "s1a" "s2a" "s2b" "s2c" "s1b" "s2d" "s1c" "s1d"
+permutation "s1a" "s2a" "s2b" "s2c" "s2d" "s1b" "s1c" "s1d"
+permutation "s2a" "s1a" "s1b" "s1c" "s1d" "s2b" "s2c" "s2d"
+permutation "s2a" "s1a" "s1b" "s1c" "s2b" "s1d" "s2c" "s2d"
+permutation "s2a" "s1a" "s1b" "s1c" "s2b" "s2c" "s1d" "s2d"
+permutation "s2a" "s1a" "s1b" "s2b" "s1c" "s1d" "s2c" "s2d"
+permutation "s2a" "s1a" "s1b" "s2b" "s1c" "s2c" "s1d" "s2d"
+permutation "s2a" "s1a" "s1b" "s2b" "s2c" "s1c" "s1d" "s2d"
+permutation "s2a" "s1a" "s2b" "s1b" "s1c" "s1d" "s2c" "s2d"
+permutation "s2a" "s1a" "s2b" "s1b" "s1c" "s2c" "s1d" "s2d"
+permutation "s2a" "s1a" "s2b" "s1b" "s2c" "s1c" "s1d" "s2d"
+permutation "s2a" "s1a" "s2b" "s2c" "s1b" "s1c" "s1d" "s2d"
+permutation "s2a" "s1a" "s2b" "s2c" "s1b" "s1c" "s2d" "s1d"
+permutation "s2a" "s1a" "s2b" "s2c" "s1b" "s2d" "s1c" "s1d"
+permutation "s2a" "s1a" "s2b" "s2c" "s2d" "s1b" "s1c" "s1d"
+permutation "s2a" "s2b" "s1a" "s1b" "s1c" "s1d" "s2c" "s2d"
+permutation "s2a" "s2b" "s1a" "s1b" "s1c" "s2c" "s1d" "s2d"
+permutation "s2a" "s2b" "s1a" "s1b" "s2c" "s1c" "s1d" "s2d"
+permutation "s2a" "s2b" "s1a" "s2c" "s1b" "s1c" "s1d" "s2d"
+permutation "s2a" "s2b" "s1a" "s2c" "s1b" "s1c" "s2d" "s1d"
+permutation "s2a" "s2b" "s1a" "s2c" "s1b" "s2d" "s1c" "s1d"
+permutation "s2a" "s2b" "s1a" "s2c" "s2d" "s1b" "s1c" "s1d"
+permutation "s2a" "s2b" "s2c" "s1a" "s1b" "s1c" "s1d" "s2d"
+permutation "s2a" "s2b" "s2c" "s1a" "s1b" "s1c" "s2d" "s1d"
+permutation "s2a" "s2b" "s2c" "s1a" "s1b" "s2d" "s1c" "s1d"
+permutation "s2a" "s2b" "s2c" "s1a" "s2d" "s1b" "s1c" "s1d"
+permutation "s2a" "s2b" "s2c" "s2d" "s1a" "s1b" "s1c" "s1d"
step "s2b" { SELECT * FROM a WHERE i = 1 FOR UPDATE; }
step "s2c" { UPDATE a SET i = 4 WHERE i = 3; }
step "s2d" { COMMIT; }
+
+permutation "s1a" "s1b" "s1c" "s2a" "s2b" "s2c" "s2d"
+permutation "s1a" "s1b" "s2a" "s1c" "s2b" "s2c" "s2d"
+permutation "s1a" "s1b" "s2a" "s2b" "s1c" "s2c" "s2d"
+permutation "s1a" "s1b" "s2a" "s2b" "s2c" "s1c" "s2d"
+permutation "s1a" "s2a" "s1b" "s1c" "s2b" "s2c" "s2d"
+permutation "s1a" "s2a" "s1b" "s2b" "s1c" "s2c" "s2d"
+permutation "s1a" "s2a" "s1b" "s2b" "s2c" "s1c" "s2d"
+permutation "s1a" "s2a" "s2b" "s1b" "s1c" "s2c" "s2d"
+permutation "s1a" "s2a" "s2b" "s1b" "s2c" "s1c" "s2d"
+permutation "s1a" "s2a" "s2b" "s2c" "s1b" "s2d" "s1c"
+permutation "s1a" "s2a" "s2b" "s2c" "s2d" "s1b" "s1c"
+permutation "s2a" "s1a" "s1b" "s1c" "s2b" "s2c" "s2d"
+permutation "s2a" "s1a" "s1b" "s2b" "s1c" "s2c" "s2d"
+permutation "s2a" "s1a" "s1b" "s2b" "s2c" "s1c" "s2d"
+permutation "s2a" "s1a" "s2b" "s1b" "s1c" "s2c" "s2d"
+permutation "s2a" "s1a" "s2b" "s1b" "s2c" "s1c" "s2d"
+permutation "s2a" "s1a" "s2b" "s2c" "s1b" "s2d" "s1c"
+permutation "s2a" "s1a" "s2b" "s2c" "s2d" "s1b" "s1c"
+permutation "s2a" "s2b" "s1a" "s1b" "s1c" "s2c" "s2d"
+permutation "s2a" "s2b" "s1a" "s1b" "s2c" "s1c" "s2d"
+permutation "s2a" "s2b" "s1a" "s2c" "s1b" "s2d" "s1c"
+permutation "s2a" "s2b" "s1a" "s2c" "s2d" "s1b" "s1c"
+permutation "s2a" "s2b" "s2c" "s1a" "s1b" "s2d" "s1c"
+permutation "s2a" "s2b" "s2c" "s1a" "s2d" "s1b" "s1c"
+permutation "s2a" "s2b" "s2c" "s2d" "s1a" "s1b" "s1c"
setup { BEGIN; }
step "s2l" { SELECT * FROM foo FOR UPDATE; }
step "s2c" { COMMIT; }
+
+permutation "s1l" "s1svp" "s1d" "s1r" "s1c" "s2l" "s2c"
+permutation "s1l" "s1svp" "s1d" "s1r" "s2l" "s1c" "s2c"
+permutation "s1l" "s1svp" "s1d" "s2l" "s1r" "s1c" "s2c"
+permutation "s1l" "s1svp" "s2l" "s1d" "s1r" "s1c" "s2c"
+permutation "s1l" "s2l" "s1svp" "s1d" "s1r" "s1c" "s2c"
+permutation "s2l" "s1l" "s2c" "s1svp" "s1d" "s1r" "s1c"
+permutation "s2l" "s2c" "s1l" "s1svp" "s1d" "s1r" "s1c"
step "s2i" { INSERT INTO child VALUES (2, 1); }
step "s2u" { UPDATE parent SET aux = 'baz'; }
step "s2c" { COMMIT; }
+
+permutation "s1i" "s1u" "s1c" "s2i" "s2u" "s2c"
+permutation "s1i" "s1u" "s2i" "s1c" "s2u" "s2c"
+permutation "s1i" "s1u" "s2i" "s2u" "s1c" "s2c"
+permutation "s1i" "s2i" "s1u" "s1c" "s2u" "s2c"
+permutation "s1i" "s2i" "s1u" "s2u" "s1c" "s2c"
+permutation "s1i" "s2i" "s2u" "s1u" "s2c" "s1c"
+permutation "s1i" "s2i" "s2u" "s2c" "s1u" "s1c"
+permutation "s2i" "s1i" "s1u" "s1c" "s2u" "s2c"
+permutation "s2i" "s1i" "s1u" "s2u" "s1c" "s2c"
+permutation "s2i" "s1i" "s2u" "s1u" "s2c" "s1c"
+permutation "s2i" "s1i" "s2u" "s2c" "s1u" "s1c"
+permutation "s2i" "s2u" "s1i" "s1u" "s2c" "s1c"
+permutation "s2i" "s2u" "s1i" "s2c" "s1u" "s1c"
+permutation "s2i" "s2u" "s2c" "s1i" "s1u" "s1c"
step "s2u1" { UPDATE B SET Col2 = 1 WHERE BID = 2; }
step "s2u2" { UPDATE B SET Col2 = 1 WHERE BID = 2; }
step "s2c" { COMMIT; }
+
+permutation "s1u1" "s1u2" "s1c" "s2u1" "s2u2" "s2c"
+permutation "s1u1" "s1u2" "s2u1" "s1c" "s2u2" "s2c"
+permutation "s1u1" "s2u1" "s1u2" "s2u2" "s2c" "s1c"
+permutation "s1u1" "s2u1" "s2u2" "s1u2" "s2c" "s1c"
+permutation "s1u1" "s2u1" "s2u2" "s2c" "s1u2" "s1c"
+permutation "s2u1" "s1u1" "s1u2" "s2u2" "s2c" "s1c"
+permutation "s2u1" "s1u1" "s2u2" "s1u2" "s2c" "s1c"
+permutation "s2u1" "s1u1" "s2u2" "s2c" "s1u2" "s1c"
+permutation "s2u1" "s2u2" "s1u1" "s1u2" "s2c" "s1c"
+permutation "s2u1" "s2u2" "s1u1" "s2c" "s1u2" "s1c"
+permutation "s2u1" "s2u2" "s2c" "s1u1" "s1u2" "s1c"