diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 13:44:03 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 13:44:03 +0000 |
commit | 293913568e6a7a86fd1479e1cff8e2ecb58d6568 (patch) | |
tree | fc3b469a3ec5ab71b36ea97cc7aaddb838423a0c /src/test/isolation/expected/tuplelock-update.out | |
parent | Initial commit. (diff) | |
download | postgresql-16-293913568e6a7a86fd1479e1cff8e2ecb58d6568.tar.xz postgresql-16-293913568e6a7a86fd1479e1cff8e2ecb58d6568.zip |
Adding upstream version 16.2.upstream/16.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/isolation/expected/tuplelock-update.out')
-rw-r--r-- | src/test/isolation/expected/tuplelock-update.out | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/src/test/isolation/expected/tuplelock-update.out b/src/test/isolation/expected/tuplelock-update.out new file mode 100644 index 0000000..1d37d45 --- /dev/null +++ b/src/test/isolation/expected/tuplelock-update.out @@ -0,0 +1,49 @@ +Parsed test spec with 4 sessions + +starting permutation: s1_advlock s2_update s3_update s4_update s1_chain s1_begin s1_grablock s1_advunlock1 s1_advunlock2 s1_advunlock3 s1_commit +step s1_advlock: + SELECT pg_advisory_lock(142857), + pg_advisory_lock(285714), + pg_advisory_lock(571428); + +pg_advisory_lock|pg_advisory_lock|pg_advisory_lock +----------------+----------------+---------------- + | | +(1 row) + +step s2_update: UPDATE pktab SET data = DEFAULT WHERE pg_advisory_lock_shared(142857) IS NOT NULL; <waiting ...> +step s3_update: UPDATE pktab SET data = DEFAULT WHERE pg_advisory_lock_shared(285714) IS NOT NULL; <waiting ...> +step s4_update: UPDATE pktab SET data = DEFAULT WHERE pg_advisory_lock_shared(571428) IS NOT NULL; <waiting ...> +step s1_chain: UPDATE pktab SET data = DEFAULT; +step s1_begin: BEGIN; +step s1_grablock: SELECT * FROM pktab FOR KEY SHARE; +id|data +--+---- + 1| 2 +(1 row) + +step s1_advunlock1: SELECT pg_advisory_unlock(142857); <waiting ...> +step s2_update: <... completed> +step s1_advunlock1: <... completed> +pg_advisory_unlock +------------------ +t +(1 row) + +step s1_advunlock2: SELECT pg_advisory_unlock(285714); <waiting ...> +step s3_update: <... completed> +step s1_advunlock2: <... completed> +pg_advisory_unlock +------------------ +t +(1 row) + +step s1_advunlock3: SELECT pg_advisory_unlock(571428); <waiting ...> +step s4_update: <... completed> +step s1_advunlock3: <... completed> +pg_advisory_unlock +------------------ +t +(1 row) + +step s1_commit: COMMIT; |