From 46651ce6fe013220ed397add242004d764fc0153 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 14:15:05 +0200 Subject: Adding upstream version 14.5. Signed-off-by: Daniel Baumann --- src/test/isolation/expected/tuplelock-conflict.out | 629 +++++++++++++++++++++ 1 file changed, 629 insertions(+) create mode 100644 src/test/isolation/expected/tuplelock-conflict.out (limited to 'src/test/isolation/expected/tuplelock-conflict.out') diff --git a/src/test/isolation/expected/tuplelock-conflict.out b/src/test/isolation/expected/tuplelock-conflict.out new file mode 100644 index 0000000..d629314 --- /dev/null +++ b/src/test/isolation/expected/tuplelock-conflict.out @@ -0,0 +1,629 @@ +Parsed test spec with 2 sessions + +starting permutation: s1_begin s1_lcksvpt s1_tuplock1 s2_tuplock1 s1_commit +step s1_begin: BEGIN; +step s1_lcksvpt: SELECT * FROM multixact_conflict FOR KEY SHARE; SAVEPOINT foo; +a +- +1 +(1 row) + +step s1_tuplock1: SELECT * FROM multixact_conflict FOR KEY SHARE; +a +- +1 +(1 row) + +step s2_tuplock1: SELECT * FROM multixact_conflict FOR KEY SHARE; +a +- +1 +(1 row) + +step s1_commit: COMMIT; + +starting permutation: s1_begin s1_lcksvpt s1_tuplock1 s2_tuplock2 s1_commit +step s1_begin: BEGIN; +step s1_lcksvpt: SELECT * FROM multixact_conflict FOR KEY SHARE; SAVEPOINT foo; +a +- +1 +(1 row) + +step s1_tuplock1: SELECT * FROM multixact_conflict FOR KEY SHARE; +a +- +1 +(1 row) + +step s2_tuplock2: SELECT * FROM multixact_conflict FOR SHARE; +a +- +1 +(1 row) + +step s1_commit: COMMIT; + +starting permutation: s1_begin s1_lcksvpt s1_tuplock1 s2_tuplock3 s1_commit +step s1_begin: BEGIN; +step s1_lcksvpt: SELECT * FROM multixact_conflict FOR KEY SHARE; SAVEPOINT foo; +a +- +1 +(1 row) + +step s1_tuplock1: SELECT * FROM multixact_conflict FOR KEY SHARE; +a +- +1 +(1 row) + +step s2_tuplock3: SELECT * FROM multixact_conflict FOR NO KEY UPDATE; +a +- +1 +(1 row) + +step s1_commit: COMMIT; + +starting permutation: s1_begin s1_lcksvpt s1_tuplock1 s2_tuplock4 s1_commit +step s1_begin: BEGIN; +step s1_lcksvpt: SELECT * FROM multixact_conflict FOR KEY SHARE; SAVEPOINT foo; +a +- +1 +(1 row) + +step s1_tuplock1: SELECT * FROM multixact_conflict FOR KEY SHARE; +a +- +1 +(1 row) + +step s2_tuplock4: SELECT * FROM multixact_conflict FOR UPDATE; +step s1_commit: COMMIT; +step s2_tuplock4: <... completed> +a +- +1 +(1 row) + + +starting permutation: s1_begin s1_lcksvpt s1_tuplock2 s2_tuplock1 s1_commit +step s1_begin: BEGIN; +step s1_lcksvpt: SELECT * FROM multixact_conflict FOR KEY SHARE; SAVEPOINT foo; +a +- +1 +(1 row) + +step s1_tuplock2: SELECT * FROM multixact_conflict FOR SHARE; +a +- +1 +(1 row) + +step s2_tuplock1: SELECT * FROM multixact_conflict FOR KEY SHARE; +a +- +1 +(1 row) + +step s1_commit: COMMIT; + +starting permutation: s1_begin s1_lcksvpt s1_tuplock2 s2_tuplock2 s1_commit +step s1_begin: BEGIN; +step s1_lcksvpt: SELECT * FROM multixact_conflict FOR KEY SHARE; SAVEPOINT foo; +a +- +1 +(1 row) + +step s1_tuplock2: SELECT * FROM multixact_conflict FOR SHARE; +a +- +1 +(1 row) + +step s2_tuplock2: SELECT * FROM multixact_conflict FOR SHARE; +a +- +1 +(1 row) + +step s1_commit: COMMIT; + +starting permutation: s1_begin s1_lcksvpt s1_tuplock2 s2_tuplock3 s1_commit +step s1_begin: BEGIN; +step s1_lcksvpt: SELECT * FROM multixact_conflict FOR KEY SHARE; SAVEPOINT foo; +a +- +1 +(1 row) + +step s1_tuplock2: SELECT * FROM multixact_conflict FOR SHARE; +a +- +1 +(1 row) + +step s2_tuplock3: SELECT * FROM multixact_conflict FOR NO KEY UPDATE; +step s1_commit: COMMIT; +step s2_tuplock3: <... completed> +a +- +1 +(1 row) + + +starting permutation: s1_begin s1_lcksvpt s1_tuplock2 s2_tuplock4 s1_commit +step s1_begin: BEGIN; +step s1_lcksvpt: SELECT * FROM multixact_conflict FOR KEY SHARE; SAVEPOINT foo; +a +- +1 +(1 row) + +step s1_tuplock2: SELECT * FROM multixact_conflict FOR SHARE; +a +- +1 +(1 row) + +step s2_tuplock4: SELECT * FROM multixact_conflict FOR UPDATE; +step s1_commit: COMMIT; +step s2_tuplock4: <... completed> +a +- +1 +(1 row) + + +starting permutation: s1_begin s1_lcksvpt s1_tuplock3 s2_tuplock1 s1_commit +step s1_begin: BEGIN; +step s1_lcksvpt: SELECT * FROM multixact_conflict FOR KEY SHARE; SAVEPOINT foo; +a +- +1 +(1 row) + +step s1_tuplock3: SELECT * FROM multixact_conflict FOR NO KEY UPDATE; +a +- +1 +(1 row) + +step s2_tuplock1: SELECT * FROM multixact_conflict FOR KEY SHARE; +a +- +1 +(1 row) + +step s1_commit: COMMIT; + +starting permutation: s1_begin s1_lcksvpt s1_tuplock3 s2_tuplock2 s1_commit +step s1_begin: BEGIN; +step s1_lcksvpt: SELECT * FROM multixact_conflict FOR KEY SHARE; SAVEPOINT foo; +a +- +1 +(1 row) + +step s1_tuplock3: SELECT * FROM multixact_conflict FOR NO KEY UPDATE; +a +- +1 +(1 row) + +step s2_tuplock2: SELECT * FROM multixact_conflict FOR SHARE; +step s1_commit: COMMIT; +step s2_tuplock2: <... completed> +a +- +1 +(1 row) + + +starting permutation: s1_begin s1_lcksvpt s1_tuplock3 s2_tuplock3 s1_commit +step s1_begin: BEGIN; +step s1_lcksvpt: SELECT * FROM multixact_conflict FOR KEY SHARE; SAVEPOINT foo; +a +- +1 +(1 row) + +step s1_tuplock3: SELECT * FROM multixact_conflict FOR NO KEY UPDATE; +a +- +1 +(1 row) + +step s2_tuplock3: SELECT * FROM multixact_conflict FOR NO KEY UPDATE; +step s1_commit: COMMIT; +step s2_tuplock3: <... completed> +a +- +1 +(1 row) + + +starting permutation: s1_begin s1_lcksvpt s1_tuplock3 s2_tuplock4 s1_commit +step s1_begin: BEGIN; +step s1_lcksvpt: SELECT * FROM multixact_conflict FOR KEY SHARE; SAVEPOINT foo; +a +- +1 +(1 row) + +step s1_tuplock3: SELECT * FROM multixact_conflict FOR NO KEY UPDATE; +a +- +1 +(1 row) + +step s2_tuplock4: SELECT * FROM multixact_conflict FOR UPDATE; +step s1_commit: COMMIT; +step s2_tuplock4: <... completed> +a +- +1 +(1 row) + + +starting permutation: s1_begin s1_lcksvpt s1_tuplock4 s2_tuplock1 s1_commit +step s1_begin: BEGIN; +step s1_lcksvpt: SELECT * FROM multixact_conflict FOR KEY SHARE; SAVEPOINT foo; +a +- +1 +(1 row) + +step s1_tuplock4: SELECT * FROM multixact_conflict FOR UPDATE; +a +- +1 +(1 row) + +step s2_tuplock1: SELECT * FROM multixact_conflict FOR KEY SHARE; +step s1_commit: COMMIT; +step s2_tuplock1: <... completed> +a +- +1 +(1 row) + + +starting permutation: s1_begin s1_lcksvpt s1_tuplock4 s2_tuplock2 s1_commit +step s1_begin: BEGIN; +step s1_lcksvpt: SELECT * FROM multixact_conflict FOR KEY SHARE; SAVEPOINT foo; +a +- +1 +(1 row) + +step s1_tuplock4: SELECT * FROM multixact_conflict FOR UPDATE; +a +- +1 +(1 row) + +step s2_tuplock2: SELECT * FROM multixact_conflict FOR SHARE; +step s1_commit: COMMIT; +step s2_tuplock2: <... completed> +a +- +1 +(1 row) + + +starting permutation: s1_begin s1_lcksvpt s1_tuplock4 s2_tuplock3 s1_commit +step s1_begin: BEGIN; +step s1_lcksvpt: SELECT * FROM multixact_conflict FOR KEY SHARE; SAVEPOINT foo; +a +- +1 +(1 row) + +step s1_tuplock4: SELECT * FROM multixact_conflict FOR UPDATE; +a +- +1 +(1 row) + +step s2_tuplock3: SELECT * FROM multixact_conflict FOR NO KEY UPDATE; +step s1_commit: COMMIT; +step s2_tuplock3: <... completed> +a +- +1 +(1 row) + + +starting permutation: s1_begin s1_lcksvpt s1_tuplock4 s2_tuplock4 s1_commit +step s1_begin: BEGIN; +step s1_lcksvpt: SELECT * FROM multixact_conflict FOR KEY SHARE; SAVEPOINT foo; +a +- +1 +(1 row) + +step s1_tuplock4: SELECT * FROM multixact_conflict FOR UPDATE; +a +- +1 +(1 row) + +step s2_tuplock4: SELECT * FROM multixact_conflict FOR UPDATE; +step s1_commit: COMMIT; +step s2_tuplock4: <... completed> +a +- +1 +(1 row) + + +starting permutation: s1_begin s1_tuplock1 s2_tuplock1 s1_commit +step s1_begin: BEGIN; +step s1_tuplock1: SELECT * FROM multixact_conflict FOR KEY SHARE; +a +- +1 +(1 row) + +step s2_tuplock1: SELECT * FROM multixact_conflict FOR KEY SHARE; +a +- +1 +(1 row) + +step s1_commit: COMMIT; + +starting permutation: s1_begin s1_tuplock1 s2_tuplock2 s1_commit +step s1_begin: BEGIN; +step s1_tuplock1: SELECT * FROM multixact_conflict FOR KEY SHARE; +a +- +1 +(1 row) + +step s2_tuplock2: SELECT * FROM multixact_conflict FOR SHARE; +a +- +1 +(1 row) + +step s1_commit: COMMIT; + +starting permutation: s1_begin s1_tuplock1 s2_tuplock3 s1_commit +step s1_begin: BEGIN; +step s1_tuplock1: SELECT * FROM multixact_conflict FOR KEY SHARE; +a +- +1 +(1 row) + +step s2_tuplock3: SELECT * FROM multixact_conflict FOR NO KEY UPDATE; +a +- +1 +(1 row) + +step s1_commit: COMMIT; + +starting permutation: s1_begin s1_tuplock1 s2_tuplock4 s1_commit +step s1_begin: BEGIN; +step s1_tuplock1: SELECT * FROM multixact_conflict FOR KEY SHARE; +a +- +1 +(1 row) + +step s2_tuplock4: SELECT * FROM multixact_conflict FOR UPDATE; +step s1_commit: COMMIT; +step s2_tuplock4: <... completed> +a +- +1 +(1 row) + + +starting permutation: s1_begin s1_tuplock2 s2_tuplock1 s1_commit +step s1_begin: BEGIN; +step s1_tuplock2: SELECT * FROM multixact_conflict FOR SHARE; +a +- +1 +(1 row) + +step s2_tuplock1: SELECT * FROM multixact_conflict FOR KEY SHARE; +a +- +1 +(1 row) + +step s1_commit: COMMIT; + +starting permutation: s1_begin s1_tuplock2 s2_tuplock2 s1_commit +step s1_begin: BEGIN; +step s1_tuplock2: SELECT * FROM multixact_conflict FOR SHARE; +a +- +1 +(1 row) + +step s2_tuplock2: SELECT * FROM multixact_conflict FOR SHARE; +a +- +1 +(1 row) + +step s1_commit: COMMIT; + +starting permutation: s1_begin s1_tuplock2 s2_tuplock3 s1_commit +step s1_begin: BEGIN; +step s1_tuplock2: SELECT * FROM multixact_conflict FOR SHARE; +a +- +1 +(1 row) + +step s2_tuplock3: SELECT * FROM multixact_conflict FOR NO KEY UPDATE; +step s1_commit: COMMIT; +step s2_tuplock3: <... completed> +a +- +1 +(1 row) + + +starting permutation: s1_begin s1_tuplock2 s2_tuplock4 s1_commit +step s1_begin: BEGIN; +step s1_tuplock2: SELECT * FROM multixact_conflict FOR SHARE; +a +- +1 +(1 row) + +step s2_tuplock4: SELECT * FROM multixact_conflict FOR UPDATE; +step s1_commit: COMMIT; +step s2_tuplock4: <... completed> +a +- +1 +(1 row) + + +starting permutation: s1_begin s1_tuplock3 s2_tuplock1 s1_commit +step s1_begin: BEGIN; +step s1_tuplock3: SELECT * FROM multixact_conflict FOR NO KEY UPDATE; +a +- +1 +(1 row) + +step s2_tuplock1: SELECT * FROM multixact_conflict FOR KEY SHARE; +a +- +1 +(1 row) + +step s1_commit: COMMIT; + +starting permutation: s1_begin s1_tuplock3 s2_tuplock2 s1_commit +step s1_begin: BEGIN; +step s1_tuplock3: SELECT * FROM multixact_conflict FOR NO KEY UPDATE; +a +- +1 +(1 row) + +step s2_tuplock2: SELECT * FROM multixact_conflict FOR SHARE; +step s1_commit: COMMIT; +step s2_tuplock2: <... completed> +a +- +1 +(1 row) + + +starting permutation: s1_begin s1_tuplock3 s2_tuplock3 s1_commit +step s1_begin: BEGIN; +step s1_tuplock3: SELECT * FROM multixact_conflict FOR NO KEY UPDATE; +a +- +1 +(1 row) + +step s2_tuplock3: SELECT * FROM multixact_conflict FOR NO KEY UPDATE; +step s1_commit: COMMIT; +step s2_tuplock3: <... completed> +a +- +1 +(1 row) + + +starting permutation: s1_begin s1_tuplock3 s2_tuplock4 s1_commit +step s1_begin: BEGIN; +step s1_tuplock3: SELECT * FROM multixact_conflict FOR NO KEY UPDATE; +a +- +1 +(1 row) + +step s2_tuplock4: SELECT * FROM multixact_conflict FOR UPDATE; +step s1_commit: COMMIT; +step s2_tuplock4: <... completed> +a +- +1 +(1 row) + + +starting permutation: s1_begin s1_tuplock4 s2_tuplock1 s1_commit +step s1_begin: BEGIN; +step s1_tuplock4: SELECT * FROM multixact_conflict FOR UPDATE; +a +- +1 +(1 row) + +step s2_tuplock1: SELECT * FROM multixact_conflict FOR KEY SHARE; +step s1_commit: COMMIT; +step s2_tuplock1: <... completed> +a +- +1 +(1 row) + + +starting permutation: s1_begin s1_tuplock4 s2_tuplock2 s1_commit +step s1_begin: BEGIN; +step s1_tuplock4: SELECT * FROM multixact_conflict FOR UPDATE; +a +- +1 +(1 row) + +step s2_tuplock2: SELECT * FROM multixact_conflict FOR SHARE; +step s1_commit: COMMIT; +step s2_tuplock2: <... completed> +a +- +1 +(1 row) + + +starting permutation: s1_begin s1_tuplock4 s2_tuplock3 s1_commit +step s1_begin: BEGIN; +step s1_tuplock4: SELECT * FROM multixact_conflict FOR UPDATE; +a +- +1 +(1 row) + +step s2_tuplock3: SELECT * FROM multixact_conflict FOR NO KEY UPDATE; +step s1_commit: COMMIT; +step s2_tuplock3: <... completed> +a +- +1 +(1 row) + + +starting permutation: s1_begin s1_tuplock4 s2_tuplock4 s1_commit +step s1_begin: BEGIN; +step s1_tuplock4: SELECT * FROM multixact_conflict FOR UPDATE; +a +- +1 +(1 row) + +step s2_tuplock4: SELECT * FROM multixact_conflict FOR UPDATE; +step s1_commit: COMMIT; +step s2_tuplock4: <... completed> +a +- +1 +(1 row) + -- cgit v1.2.3