diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/lock-update-delete.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/lock-update-delete.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/lock-update-delete.out 2025-08-23 05:04:11.944972704 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/lock-update-delete.out 2025-08-23 05:09:20.527449333 +0000 @@ -47,239 +47,4 @@ starting permutation: s2b s1l s2u s2_blocker3 s2_unlock s2c -pg_advisory_lock ----------------- - -(1 row) - -step s2b: BEGIN; -step s1l: SELECT * FROM foo WHERE pg_advisory_xact_lock(0) IS NOT NULL AND key = 1 FOR KEY SHARE; -step s2u: UPDATE foo SET value = 2 WHERE key = 1; -step s2_blocker3: UPDATE foo SET value = 2 WHERE key = 1; -step s2_unlock: SELECT pg_advisory_unlock(0); -pg_advisory_unlock ------------------- -t -(1 row) - -step s1l: <... completed> -key|value ----+----- - 1| 1 -(1 row) - -step s2c: COMMIT; - -starting permutation: s2b s1l s2u s2_blocker1 s2_unlock s2r -pg_advisory_lock ----------------- - -(1 row) - -step s2b: BEGIN; -step s1l: SELECT * FROM foo WHERE pg_advisory_xact_lock(0) IS NOT NULL AND key = 1 FOR KEY SHARE; -step s2u: UPDATE foo SET value = 2 WHERE key = 1; -step s2_blocker1: DELETE FROM foo; -step s2_unlock: SELECT pg_advisory_unlock(0); -pg_advisory_unlock ------------------- -t -(1 row) - -step s2r: ROLLBACK; -step s1l: <... completed> -key|value ----+----- - 1| 1 -(1 row) - - -starting permutation: s2b s1l s2u s2_blocker2 s2_unlock s2r -pg_advisory_lock ----------------- - -(1 row) - -step s2b: BEGIN; -step s1l: SELECT * FROM foo WHERE pg_advisory_xact_lock(0) IS NOT NULL AND key = 1 FOR KEY SHARE; -step s2u: UPDATE foo SET value = 2 WHERE key = 1; -step s2_blocker2: UPDATE foo SET key = 2 WHERE key = 1; -step s2_unlock: SELECT pg_advisory_unlock(0); -pg_advisory_unlock ------------------- -t -(1 row) - -step s2r: ROLLBACK; -step s1l: <... completed> -key|value ----+----- - 1| 1 -(1 row) - - -starting permutation: s2b s1l s2u s2_blocker3 s2_unlock s2r -pg_advisory_lock ----------------- - -(1 row) - -step s2b: BEGIN; -step s1l: SELECT * FROM foo WHERE pg_advisory_xact_lock(0) IS NOT NULL AND key = 1 FOR KEY SHARE; -step s2u: UPDATE foo SET value = 2 WHERE key = 1; -step s2_blocker3: UPDATE foo SET value = 2 WHERE key = 1; -step s2_unlock: SELECT pg_advisory_unlock(0); -pg_advisory_unlock ------------------- -t -(1 row) - -step s1l: <... completed> -key|value ----+----- - 1| 1 -(1 row) - -step s2r: ROLLBACK; - -starting permutation: s2b s1l s2u s2_blocker1 s2c s2_unlock -pg_advisory_lock ----------------- - -(1 row) - -step s2b: BEGIN; -step s1l: SELECT * FROM foo WHERE pg_advisory_xact_lock(0) IS NOT NULL AND key = 1 FOR KEY SHARE; -step s2u: UPDATE foo SET value = 2 WHERE key = 1; -step s2_blocker1: DELETE FROM foo; -step s2c: COMMIT; -step s2_unlock: SELECT pg_advisory_unlock(0); -pg_advisory_unlock ------------------- -t -(1 row) - -step s1l: <... completed> -key|value ----+----- -(0 rows) - - -starting permutation: s2b s1l s2u s2_blocker2 s2c s2_unlock -pg_advisory_lock ----------------- - -(1 row) - -step s2b: BEGIN; -step s1l: SELECT * FROM foo WHERE pg_advisory_xact_lock(0) IS NOT NULL AND key = 1 FOR KEY SHARE; -step s2u: UPDATE foo SET value = 2 WHERE key = 1; -step s2_blocker2: UPDATE foo SET key = 2 WHERE key = 1; -step s2c: COMMIT; -step s2_unlock: SELECT pg_advisory_unlock(0); -pg_advisory_unlock ------------------- -t -(1 row) - -step s1l: <... completed> -key|value ----+----- -(0 rows) - - -starting permutation: s2b s1l s2u s2_blocker3 s2c s2_unlock -pg_advisory_lock ----------------- - -(1 row) - -step s2b: BEGIN; -step s1l: SELECT * FROM foo WHERE pg_advisory_xact_lock(0) IS NOT NULL AND key = 1 FOR KEY SHARE; -step s2u: UPDATE foo SET value = 2 WHERE key = 1; -step s2_blocker3: UPDATE foo SET value = 2 WHERE key = 1; -step s2c: COMMIT; -step s2_unlock: SELECT pg_advisory_unlock(0); -pg_advisory_unlock ------------------- -t -(1 row) - -step s1l: <... completed> -key|value ----+----- - 1| 1 -(1 row) - - -starting permutation: s2b s1l s2u s2_blocker1 s2r s2_unlock -pg_advisory_lock ----------------- - -(1 row) - -step s2b: BEGIN; -step s1l: SELECT * FROM foo WHERE pg_advisory_xact_lock(0) IS NOT NULL AND key = 1 FOR KEY SHARE; -step s2u: UPDATE foo SET value = 2 WHERE key = 1; -step s2_blocker1: DELETE FROM foo; -step s2r: ROLLBACK; -step s2_unlock: SELECT pg_advisory_unlock(0); -pg_advisory_unlock ------------------- -t -(1 row) - -step s1l: <... completed> -key|value ----+----- - 1| 1 -(1 row) - - -starting permutation: s2b s1l s2u s2_blocker2 s2r s2_unlock -pg_advisory_lock ----------------- - -(1 row) - -step s2b: BEGIN; -step s1l: SELECT * FROM foo WHERE pg_advisory_xact_lock(0) IS NOT NULL AND key = 1 FOR KEY SHARE; -step s2u: UPDATE foo SET value = 2 WHERE key = 1; -step s2_blocker2: UPDATE foo SET key = 2 WHERE key = 1; -step s2r: ROLLBACK; -step s2_unlock: SELECT pg_advisory_unlock(0); -pg_advisory_unlock ------------------- -t -(1 row) - -step s1l: <... completed> -key|value ----+----- - 1| 1 -(1 row) - - -starting permutation: s2b s1l s2u s2_blocker3 s2r s2_unlock -pg_advisory_lock ----------------- - -(1 row) - -step s2b: BEGIN; -step s1l: SELECT * FROM foo WHERE pg_advisory_xact_lock(0) IS NOT NULL AND key = 1 FOR KEY SHARE; -step s2u: UPDATE foo SET value = 2 WHERE key = 1; -step s2_blocker3: UPDATE foo SET value = 2 WHERE key = 1; -step s2r: ROLLBACK; -step s2_unlock: SELECT pg_advisory_unlock(0); -pg_advisory_unlock ------------------- -t -(1 row) - -step s1l: <... completed> -key|value ----+----- - 1| 1 -(1 row) - +setup failed: ERROR: heap tid from index tuple (128,5) points to unused heap page item at offset 172 of block 84 in index "pg_depend_reference_index" diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/lock-update-traversal.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/lock-update-traversal.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/lock-update-traversal.out 2025-08-23 05:04:11.944972704 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/lock-update-traversal.out 2025-08-23 05:09:20.635449088 +0000 @@ -1,63 +1,4 @@ Parsed test spec with 2 sessions starting permutation: s1b s2b s1s s2u s1l s2c s2d1 s1c -step s1b: BEGIN ISOLATION LEVEL REPEATABLE READ; -step s2b: BEGIN; -step s1s: SELECT * FROM foo; -key|value ----+----- - 1| 1 -(1 row) - -step s2u: UPDATE foo SET value = 2 WHERE key = 1; -step s1l: SELECT * FROM foo FOR KEY SHARE; -key|value ----+----- - 1| 1 -(1 row) - -step s2c: COMMIT; -step s2d1: DELETE FROM foo WHERE key = 1; -step s1c: COMMIT; -step s2d1: <... completed> - -starting permutation: s1b s2b s1s s2u s1l s2c s2d2 s1c -step s1b: BEGIN ISOLATION LEVEL REPEATABLE READ; -step s2b: BEGIN; -step s1s: SELECT * FROM foo; -key|value ----+----- - 1| 1 -(1 row) - -step s2u: UPDATE foo SET value = 2 WHERE key = 1; -step s1l: SELECT * FROM foo FOR KEY SHARE; -key|value ----+----- - 1| 1 -(1 row) - -step s2c: COMMIT; -step s2d2: UPDATE foo SET key = 3 WHERE key = 1; -step s1c: COMMIT; -step s2d2: <... completed> - -starting permutation: s1b s2b s1s s2u s1l s2c s2d3 s1c -step s1b: BEGIN ISOLATION LEVEL REPEATABLE READ; -step s2b: BEGIN; -step s1s: SELECT * FROM foo; -key|value ----+----- - 1| 1 -(1 row) - -step s2u: UPDATE foo SET value = 2 WHERE key = 1; -step s1l: SELECT * FROM foo FOR KEY SHARE; -key|value ----+----- - 1| 1 -(1 row) - -step s2c: COMMIT; -step s2d3: UPDATE foo SET value = 3 WHERE key = 1; -step s1c: COMMIT; +setup failed: ERROR: heap tid from index tuple (128,5) points to unused heap page item at offset 172 of block 84 in index "pg_depend_reference_index" diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/inherit-temp.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/inherit-temp.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/inherit-temp.out 2025-08-23 05:04:11.940977803 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/inherit-temp.out 2025-08-23 05:09:20.763448797 +0000 @@ -1,277 +1,4 @@ Parsed test spec with 2 sessions starting permutation: s1_insert_p s1_insert_c s2_insert_c s1_select_p s1_select_c s2_select_p s2_select_c -step s1_insert_p: INSERT INTO inh_parent VALUES (1), (2); -step s1_insert_c: INSERT INTO inh_temp_child_s1 VALUES (3), (4); -step s2_insert_c: INSERT INTO inh_temp_child_s2 VALUES (5), (6); -step s1_select_p: SELECT a FROM inh_parent; -a -- -1 -2 -3 -4 -(4 rows) - -step s1_select_c: SELECT a FROM inh_temp_child_s1; -a -- -3 -4 -(2 rows) - -step s2_select_p: SELECT a FROM inh_parent; -a -- -1 -2 -5 -6 -(4 rows) - -step s2_select_c: SELECT a FROM inh_temp_child_s2; -a -- -5 -6 -(2 rows) - - -starting permutation: s1_insert_p s1_insert_c s2_insert_c s1_update_p s1_update_c s1_select_p s1_select_c s2_select_p s2_select_c -step s1_insert_p: INSERT INTO inh_parent VALUES (1), (2); -step s1_insert_c: INSERT INTO inh_temp_child_s1 VALUES (3), (4); -step s2_insert_c: INSERT INTO inh_temp_child_s2 VALUES (5), (6); -step s1_update_p: UPDATE inh_parent SET a = 11 WHERE a = 1; -step s1_update_c: UPDATE inh_parent SET a = 13 WHERE a IN (3, 5); -step s1_select_p: SELECT a FROM inh_parent; - a --- - 2 -11 - 4 -13 -(4 rows) - -step s1_select_c: SELECT a FROM inh_temp_child_s1; - a --- - 4 -13 -(2 rows) - -step s2_select_p: SELECT a FROM inh_parent; - a --- - 2 -11 - 5 - 6 -(4 rows) - -step s2_select_c: SELECT a FROM inh_temp_child_s2; -a -- -5 -6 -(2 rows) - - -starting permutation: s1_insert_p s1_insert_c s2_insert_c s2_update_c s1_select_p s1_select_c s2_select_p s2_select_c -step s1_insert_p: INSERT INTO inh_parent VALUES (1), (2); -step s1_insert_c: INSERT INTO inh_temp_child_s1 VALUES (3), (4); -step s2_insert_c: INSERT INTO inh_temp_child_s2 VALUES (5), (6); -step s2_update_c: UPDATE inh_parent SET a = 15 WHERE a IN (3, 5); -step s1_select_p: SELECT a FROM inh_parent; -a -- -1 -2 -3 -4 -(4 rows) - -step s1_select_c: SELECT a FROM inh_temp_child_s1; -a -- -3 -4 -(2 rows) - -step s2_select_p: SELECT a FROM inh_parent; - a --- - 1 - 2 - 6 -15 -(4 rows) - -step s2_select_c: SELECT a FROM inh_temp_child_s2; - a --- - 6 -15 -(2 rows) - - -starting permutation: s1_insert_p s1_insert_c s2_insert_c s1_delete_p s1_delete_c s1_select_p s1_select_c s2_select_p s2_select_c -step s1_insert_p: INSERT INTO inh_parent VALUES (1), (2); -step s1_insert_c: INSERT INTO inh_temp_child_s1 VALUES (3), (4); -step s2_insert_c: INSERT INTO inh_temp_child_s2 VALUES (5), (6); -step s1_delete_p: DELETE FROM inh_parent WHERE a = 2; -step s1_delete_c: DELETE FROM inh_parent WHERE a IN (4, 6); -step s1_select_p: SELECT a FROM inh_parent; -a -- -1 -3 -(2 rows) - -step s1_select_c: SELECT a FROM inh_temp_child_s1; -a -- -3 -(1 row) - -step s2_select_p: SELECT a FROM inh_parent; -a -- -1 -5 -6 -(3 rows) - -step s2_select_c: SELECT a FROM inh_temp_child_s2; -a -- -5 -6 -(2 rows) - - -starting permutation: s1_insert_p s1_insert_c s2_insert_c s2_delete_c s1_select_p s1_select_c s2_select_p s2_select_c -step s1_insert_p: INSERT INTO inh_parent VALUES (1), (2); -step s1_insert_c: INSERT INTO inh_temp_child_s1 VALUES (3), (4); -step s2_insert_c: INSERT INTO inh_temp_child_s2 VALUES (5), (6); -step s2_delete_c: DELETE FROM inh_parent WHERE a IN (4, 6); -step s1_select_p: SELECT a FROM inh_parent; -a -- -1 -2 -3 -4 -(4 rows) - -step s1_select_c: SELECT a FROM inh_temp_child_s1; -a -- -3 -4 -(2 rows) - -step s2_select_p: SELECT a FROM inh_parent; -a -- -1 -2 -5 -(3 rows) - -step s2_select_c: SELECT a FROM inh_temp_child_s2; -a -- -5 -(1 row) - - -starting permutation: s1_insert_p s1_insert_c s2_insert_c s1_truncate_p s1_select_p s1_select_c s2_select_p s2_select_c -step s1_insert_p: INSERT INTO inh_parent VALUES (1), (2); -step s1_insert_c: INSERT INTO inh_temp_child_s1 VALUES (3), (4); -step s2_insert_c: INSERT INTO inh_temp_child_s2 VALUES (5), (6); -step s1_truncate_p: TRUNCATE inh_parent; -step s1_select_p: SELECT a FROM inh_parent; -a -- -(0 rows) - -step s1_select_c: SELECT a FROM inh_temp_child_s1; -a -- -(0 rows) - -step s2_select_p: SELECT a FROM inh_parent; -a -- -5 -6 -(2 rows) - -step s2_select_c: SELECT a FROM inh_temp_child_s2; -a -- -5 -6 -(2 rows) - - -starting permutation: s1_insert_p s1_insert_c s2_insert_c s2_truncate_p s1_select_p s1_select_c s2_select_p s2_select_c -step s1_insert_p: INSERT INTO inh_parent VALUES (1), (2); -step s1_insert_c: INSERT INTO inh_temp_child_s1 VALUES (3), (4); -step s2_insert_c: INSERT INTO inh_temp_child_s2 VALUES (5), (6); -step s2_truncate_p: TRUNCATE inh_parent; -step s1_select_p: SELECT a FROM inh_parent; -a -- -3 -4 -(2 rows) - -step s1_select_c: SELECT a FROM inh_temp_child_s1; -a -- -3 -4 -(2 rows) - -step s2_select_p: SELECT a FROM inh_parent; -a -- -(0 rows) - -step s2_select_c: SELECT a FROM inh_temp_child_s2; -a -- -(0 rows) - - -starting permutation: s1_insert_p s1_insert_c s2_insert_c s1_begin s1_truncate_p s2_select_p s1_commit -step s1_insert_p: INSERT INTO inh_parent VALUES (1), (2); -step s1_insert_c: INSERT INTO inh_temp_child_s1 VALUES (3), (4); -step s2_insert_c: INSERT INTO inh_temp_child_s2 VALUES (5), (6); -step s1_begin: BEGIN; -step s1_truncate_p: TRUNCATE inh_parent; -step s2_select_p: SELECT a FROM inh_parent; -step s1_commit: COMMIT; -step s2_select_p: <... completed> -a -- -5 -6 -(2 rows) - - -starting permutation: s1_insert_p s1_insert_c s2_insert_c s1_begin s1_truncate_p s2_select_c s1_commit -step s1_insert_p: INSERT INTO inh_parent VALUES (1), (2); -step s1_insert_c: INSERT INTO inh_temp_child_s1 VALUES (3), (4); -step s2_insert_c: INSERT INTO inh_temp_child_s2 VALUES (5), (6); -step s1_begin: BEGIN; -step s1_truncate_p: TRUNCATE inh_parent; -step s2_select_c: SELECT a FROM inh_temp_child_s2; -a -- -5 -6 -(2 rows) - -step s1_commit: COMMIT; +setup failed: ERROR: heap tid from index tuple (128,5) points to unused heap page item at offset 172 of block 84 in index "pg_depend_reference_index" diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/temp-schema-cleanup.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/temp-schema-cleanup.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/temp-schema-cleanup.out 2025-08-23 05:04:11.956957407 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/temp-schema-cleanup.out 2025-08-23 05:09:20.911448461 +0000 @@ -1,115 +1,4 @@ Parsed test spec with 2 sessions starting permutation: s1_create_temp_objects s1_discard_temp s2_check_schema -step s1_create_temp_objects: - - -- create function large enough to be toasted, to ensure we correctly clean those up, a prior bug - -- https://postgr.es/m/CAOFAq3BU5Mf2TTvu8D9n_ZOoFAeQswuzk7yziAb7xuw_qyw5gw%40mail.gmail.com - SELECT exec(format($outer$ - CREATE OR REPLACE FUNCTION pg_temp.long() RETURNS text LANGUAGE sql AS $body$ SELECT %L; $body$$outer$, - (SELECT string_agg(g.i::text||':'||random()::text, '|') FROM generate_series(1, 100) g(i)))); - - -- The above bug requires function removal to happen after a catalog - -- invalidation. dependency.c sorts objects in descending oid order so - -- that newer objects are deleted before older objects, so create a - -- table after. - CREATE TEMPORARY TABLE invalidate_catalog_cache(); - - -- test non-temp function is dropped when depending on temp table - CREATE TEMPORARY TABLE just_give_me_a_type(id serial primary key); - - CREATE FUNCTION uses_a_temp_type(just_give_me_a_type) RETURNS int LANGUAGE sql AS $$SELECT 1;$$; - -exec ----- - -(1 row) - -step s1_discard_temp: - DISCARD TEMP; - -step s2_check_schema: - SELECT oid::regclass FROM pg_class WHERE relnamespace = (SELECT oid FROM s1_temp_schema); - SELECT oid::regproc FROM pg_proc WHERE pronamespace = (SELECT oid FROM s1_temp_schema); - SELECT oid::regproc FROM pg_type WHERE typnamespace = (SELECT oid FROM s1_temp_schema); - -oid ---- -(0 rows) - -oid ---- -(0 rows) - -oid ---- -(0 rows) - - -starting permutation: s1_advisory s2_advisory s1_create_temp_objects s1_exit s2_check_schema -step s1_advisory: - SELECT pg_advisory_lock('pg_namespace'::regclass::int8); - -pg_advisory_lock ----------------- - -(1 row) - -step s2_advisory: - SELECT pg_advisory_lock('pg_namespace'::regclass::int8); - -step s1_create_temp_objects: - - -- create function large enough to be toasted, to ensure we correctly clean those up, a prior bug - -- https://postgr.es/m/CAOFAq3BU5Mf2TTvu8D9n_ZOoFAeQswuzk7yziAb7xuw_qyw5gw%40mail.gmail.com - SELECT exec(format($outer$ - CREATE OR REPLACE FUNCTION pg_temp.long() RETURNS text LANGUAGE sql AS $body$ SELECT %L; $body$$outer$, - (SELECT string_agg(g.i::text||':'||random()::text, '|') FROM generate_series(1, 100) g(i)))); - - -- The above bug requires function removal to happen after a catalog - -- invalidation. dependency.c sorts objects in descending oid order so - -- that newer objects are deleted before older objects, so create a - -- table after. - CREATE TEMPORARY TABLE invalidate_catalog_cache(); - - -- test non-temp function is dropped when depending on temp table - CREATE TEMPORARY TABLE just_give_me_a_type(id serial primary key); - - CREATE FUNCTION uses_a_temp_type(just_give_me_a_type) RETURNS int LANGUAGE sql AS $$SELECT 1;$$; - -exec ----- - -(1 row) - -step s1_exit: - SELECT pg_terminate_backend(pg_backend_pid()); - -FATAL: terminating connection due to administrator command -server closed the connection unexpectedly - This probably means the server terminated abnormally - before or while processing the request. - -step s2_advisory: <... completed> -pg_advisory_lock ----------------- - -(1 row) - -step s2_check_schema: - SELECT oid::regclass FROM pg_class WHERE relnamespace = (SELECT oid FROM s1_temp_schema); - SELECT oid::regproc FROM pg_proc WHERE pronamespace = (SELECT oid FROM s1_temp_schema); - SELECT oid::regproc FROM pg_type WHERE typnamespace = (SELECT oid FROM s1_temp_schema); - -oid ---- -(0 rows) - -oid ---- -(0 rows) - -oid ---- -(0 rows) - +setup failed: ERROR: heap tid from index tuple (128,5) points to unused heap page item at offset 172 of block 84 in index "pg_depend_reference_index" diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/insert-conflict-do-nothing.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/insert-conflict-do-nothing.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/insert-conflict-do-nothing.out 2025-08-23 05:04:11.940977803 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/insert-conflict-do-nothing.out 2025-08-23 05:09:21.019448216 +0000 @@ -1,27 +1,4 @@ Parsed test spec with 2 sessions starting permutation: donothing1 donothing2 c1 select2 c2 -step donothing1: INSERT INTO ints(key, val) VALUES(1, 'donothing1') ON CONFLICT DO NOTHING; -step donothing2: INSERT INTO ints(key, val) VALUES(1, 'donothing2') ON CONFLICT DO NOTHING; -step c1: COMMIT; -step donothing2: <... completed> -step select2: SELECT * FROM ints; -key|val ----+---------- - 1|donothing1 -(1 row) - -step c2: COMMIT; - -starting permutation: donothing1 donothing2 a1 select2 c2 -step donothing1: INSERT INTO ints(key, val) VALUES(1, 'donothing1') ON CONFLICT DO NOTHING; -step donothing2: INSERT INTO ints(key, val) VALUES(1, 'donothing2') ON CONFLICT DO NOTHING; -step a1: ABORT; -step donothing2: <... completed> -step select2: SELECT * FROM ints; -key|val ----+---------- - 1|donothing2 -(1 row) - -step c2: COMMIT; +setup failed: ERROR: heap tid from index tuple (128,5) points to unused heap page item at offset 172 of block 84 in index "pg_depend_reference_index" diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/insert-conflict-do-nothing-2.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/insert-conflict-do-nothing-2.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/insert-conflict-do-nothing-2.out 2025-08-23 05:04:11.940977803 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/insert-conflict-do-nothing-2.out 2025-08-23 05:09:21.231447729 +0000 @@ -1,121 +1,4 @@ Parsed test spec with 2 sessions starting permutation: beginrr1 beginrr2 donothing1 c1 donothing2 c2 show -step beginrr1: BEGIN ISOLATION LEVEL REPEATABLE READ; -step beginrr2: BEGIN ISOLATION LEVEL REPEATABLE READ; -step donothing1: INSERT INTO ints(key, val) VALUES(1, 'donothing1') ON CONFLICT DO NOTHING; -step c1: COMMIT; -step donothing2: INSERT INTO ints(key, val) VALUES(1, 'donothing2'), (1, 'donothing3') ON CONFLICT DO NOTHING; -step c2: COMMIT; -step show: SELECT * FROM ints; -key|val ----+---------- - 1|donothing1 -(1 row) - - -starting permutation: beginrr1 beginrr2 donothing2 c2 donothing1 c1 show -step beginrr1: BEGIN ISOLATION LEVEL REPEATABLE READ; -step beginrr2: BEGIN ISOLATION LEVEL REPEATABLE READ; -step donothing2: INSERT INTO ints(key, val) VALUES(1, 'donothing2'), (1, 'donothing3') ON CONFLICT DO NOTHING; -step c2: COMMIT; -step donothing1: INSERT INTO ints(key, val) VALUES(1, 'donothing1') ON CONFLICT DO NOTHING; -step c1: COMMIT; -step show: SELECT * FROM ints; -key|val ----+---------- - 1|donothing2 -(1 row) - - -starting permutation: beginrr1 beginrr2 donothing1 donothing2 c1 c2 show -step beginrr1: BEGIN ISOLATION LEVEL REPEATABLE READ; -step beginrr2: BEGIN ISOLATION LEVEL REPEATABLE READ; -step donothing1: INSERT INTO ints(key, val) VALUES(1, 'donothing1') ON CONFLICT DO NOTHING; -step donothing2: INSERT INTO ints(key, val) VALUES(1, 'donothing2'), (1, 'donothing3') ON CONFLICT DO NOTHING; -step c1: COMMIT; -step donothing2: <... completed> -ERROR: could not serialize access due to concurrent update -step c2: COMMIT; -step show: SELECT * FROM ints; -key|val ----+---------- - 1|donothing1 -(1 row) - - -starting permutation: beginrr1 beginrr2 donothing2 donothing1 c2 c1 show -step beginrr1: BEGIN ISOLATION LEVEL REPEATABLE READ; -step beginrr2: BEGIN ISOLATION LEVEL REPEATABLE READ; -step donothing2: INSERT INTO ints(key, val) VALUES(1, 'donothing2'), (1, 'donothing3') ON CONFLICT DO NOTHING; -step donothing1: INSERT INTO ints(key, val) VALUES(1, 'donothing1') ON CONFLICT DO NOTHING; -step c2: COMMIT; -step donothing1: <... completed> -ERROR: could not serialize access due to concurrent update -step c1: COMMIT; -step show: SELECT * FROM ints; -key|val ----+---------- - 1|donothing2 -(1 row) - - -starting permutation: begins1 begins2 donothing1 c1 donothing2 c2 show -step begins1: BEGIN ISOLATION LEVEL SERIALIZABLE; -step begins2: BEGIN ISOLATION LEVEL SERIALIZABLE; -step donothing1: INSERT INTO ints(key, val) VALUES(1, 'donothing1') ON CONFLICT DO NOTHING; -step c1: COMMIT; -step donothing2: INSERT INTO ints(key, val) VALUES(1, 'donothing2'), (1, 'donothing3') ON CONFLICT DO NOTHING; -step c2: COMMIT; -step show: SELECT * FROM ints; -key|val ----+---------- - 1|donothing1 -(1 row) - - -starting permutation: begins1 begins2 donothing2 c2 donothing1 c1 show -step begins1: BEGIN ISOLATION LEVEL SERIALIZABLE; -step begins2: BEGIN ISOLATION LEVEL SERIALIZABLE; -step donothing2: INSERT INTO ints(key, val) VALUES(1, 'donothing2'), (1, 'donothing3') ON CONFLICT DO NOTHING; -step c2: COMMIT; -step donothing1: INSERT INTO ints(key, val) VALUES(1, 'donothing1') ON CONFLICT DO NOTHING; -step c1: COMMIT; -step show: SELECT * FROM ints; -key|val ----+---------- - 1|donothing2 -(1 row) - - -starting permutation: begins1 begins2 donothing1 donothing2 c1 c2 show -step begins1: BEGIN ISOLATION LEVEL SERIALIZABLE; -step begins2: BEGIN ISOLATION LEVEL SERIALIZABLE; -step donothing1: INSERT INTO ints(key, val) VALUES(1, 'donothing1') ON CONFLICT DO NOTHING; -step donothing2: INSERT INTO ints(key, val) VALUES(1, 'donothing2'), (1, 'donothing3') ON CONFLICT DO NOTHING; -step c1: COMMIT; -step donothing2: <... completed> -ERROR: could not serialize access due to concurrent update -step c2: COMMIT; -step show: SELECT * FROM ints; -key|val ----+---------- - 1|donothing1 -(1 row) - - -starting permutation: begins1 begins2 donothing2 donothing1 c2 c1 show -step begins1: BEGIN ISOLATION LEVEL SERIALIZABLE; -step begins2: BEGIN ISOLATION LEVEL SERIALIZABLE; -step donothing2: INSERT INTO ints(key, val) VALUES(1, 'donothing2'), (1, 'donothing3') ON CONFLICT DO NOTHING; -step donothing1: INSERT INTO ints(key, val) VALUES(1, 'donothing1') ON CONFLICT DO NOTHING; -step c2: COMMIT; -step donothing1: <... completed> -ERROR: could not serialize access due to concurrent update -step c1: COMMIT; -step show: SELECT * FROM ints; -key|val ----+---------- - 1|donothing2 -(1 row) - +setup failed: ERROR: heap tid from index tuple (128,5) points to unused heap page item at offset 172 of block 84 in index "pg_depend_reference_index" diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/insert-conflict-do-update.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/insert-conflict-do-update.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/insert-conflict-do-update.out 2025-08-23 05:04:11.944972704 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/insert-conflict-do-update.out 2025-08-23 05:09:21.423447289 +0000 @@ -1,27 +1,4 @@ Parsed test spec with 2 sessions starting permutation: insert1 insert2 c1 select2 c2 -step insert1: INSERT INTO upsert(key, val) VALUES(1, 'insert1') ON CONFLICT (key) DO UPDATE set val = upsert.val || ' updated by insert1'; -step insert2: INSERT INTO upsert(key, val) VALUES(1, 'insert2') ON CONFLICT (key) DO UPDATE set val = upsert.val || ' updated by insert2'; -step c1: COMMIT; -step insert2: <... completed> -step select2: SELECT * FROM upsert; -key|val ----+-------------------------- - 1|insert1 updated by insert2 -(1 row) - -step c2: COMMIT; - -starting permutation: insert1 insert2 a1 select2 c2 -step insert1: INSERT INTO upsert(key, val) VALUES(1, 'insert1') ON CONFLICT (key) DO UPDATE set val = upsert.val || ' updated by insert1'; -step insert2: INSERT INTO upsert(key, val) VALUES(1, 'insert2') ON CONFLICT (key) DO UPDATE set val = upsert.val || ' updated by insert2'; -step a1: ABORT; -step insert2: <... completed> -step select2: SELECT * FROM upsert; -key|val ----+------- - 1|insert2 -(1 row) - -step c2: COMMIT; +setup failed: ERROR: heap tid from index tuple (128,5) points to unused heap page item at offset 172 of block 84 in index "pg_depend_reference_index" diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/insert-conflict-do-update-2.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/insert-conflict-do-update-2.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/insert-conflict-do-update-2.out 2025-08-23 05:04:11.944972704 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/insert-conflict-do-update-2.out 2025-08-23 05:09:21.575446939 +0000 @@ -1,27 +1,4 @@ Parsed test spec with 2 sessions starting permutation: insert1 insert2 c1 select2 c2 -step insert1: INSERT INTO upsert(key, payload) VALUES('FooFoo', 'insert1') ON CONFLICT (lower(key)) DO UPDATE set key = EXCLUDED.key, payload = upsert.payload || ' updated by insert1'; -step insert2: INSERT INTO upsert(key, payload) VALUES('FOOFOO', 'insert2') ON CONFLICT (lower(key)) DO UPDATE set key = EXCLUDED.key, payload = upsert.payload || ' updated by insert2'; -step c1: COMMIT; -step insert2: <... completed> -step select2: SELECT * FROM upsert; -key |payload -------+-------------------------- -FOOFOO|insert1 updated by insert2 -(1 row) - -step c2: COMMIT; - -starting permutation: insert1 insert2 a1 select2 c2 -step insert1: INSERT INTO upsert(key, payload) VALUES('FooFoo', 'insert1') ON CONFLICT (lower(key)) DO UPDATE set key = EXCLUDED.key, payload = upsert.payload || ' updated by insert1'; -step insert2: INSERT INTO upsert(key, payload) VALUES('FOOFOO', 'insert2') ON CONFLICT (lower(key)) DO UPDATE set key = EXCLUDED.key, payload = upsert.payload || ' updated by insert2'; -step a1: ABORT; -step insert2: <... completed> -step select2: SELECT * FROM upsert; -key |payload -------+------- -FOOFOO|insert2 -(1 row) - -step c2: COMMIT; +setup failed: ERROR: heap tid from index tuple (128,5) points to unused heap page item at offset 172 of block 84 in index "pg_depend_reference_index" diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/insert-conflict-do-update-3.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/insert-conflict-do-update-3.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/insert-conflict-do-update-3.out 2025-08-23 05:04:11.944972704 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/insert-conflict-do-update-3.out 2025-08-23 05:09:21.759446518 +0000 @@ -1,30 +1,4 @@ Parsed test spec with 2 sessions starting permutation: update2 insert1 c2 select1surprise c1 -step update2: UPDATE colors SET is_active = true WHERE key = 1; -step insert1: - WITH t AS ( - INSERT INTO colors(key, color, is_active) - VALUES(1, 'Brown', true), (2, 'Gray', true) - ON CONFLICT (key) DO UPDATE - SET color = EXCLUDED.color - WHERE colors.is_active) - SELECT * FROM colors ORDER BY key; -step c2: COMMIT; -step insert1: <... completed> -key|color|is_active ----+-----+--------- - 1|Red |f - 2|Green|f - 3|Blue |f -(3 rows) - -step select1surprise: SELECT * FROM colors ORDER BY key; -key|color|is_active ----+-----+--------- - 1|Brown|t - 2|Green|f - 3|Blue |f -(3 rows) - -step c1: COMMIT; +setup failed: ERROR: heap tid from index tuple (128,5) points to unused heap page item at offset 172 of block 84 in index "pg_depend_reference_index" diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/insert-conflict-specconflict.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/insert-conflict-specconflict.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/insert-conflict-specconflict.out 2025-08-23 05:04:11.944972704 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/insert-conflict-specconflict.out 2025-08-23 05:09:22.447444927 +0000 @@ -1,553 +1,6 @@ Parsed test spec with 3 sessions starting permutation: controller_locks controller_show s1_upsert s2_upsert controller_show controller_unlock_1_1 controller_unlock_2_1 controller_unlock_1_3 controller_unlock_2_3 controller_show controller_unlock_2_2 controller_show controller_unlock_1_2 controller_show -step controller_locks: SELECT pg_advisory_lock(sess, lock), sess, lock FROM generate_series(1, 2) a(sess), generate_series(1,3) b(lock); -pg_advisory_lock|sess|lock -----------------+----+---- - | 1| 1 - | 1| 2 - | 1| 3 - | 2| 1 - | 2| 2 - | 2| 3 -(6 rows) - -step controller_show: SELECT * FROM upserttest; -key|data ----+---- -(0 rows) - -s1: NOTICE: blurt_and_lock_123() called for k1 in session 1 -s1: NOTICE: acquiring advisory lock on 3 -step s1_upsert: INSERT INTO upserttest(key, data) VALUES('k1', 'inserted s1') ON CONFLICT (blurt_and_lock_123(key)) DO UPDATE SET data = upserttest.data || ' with conflict update s1'; -s2: NOTICE: blurt_and_lock_123() called for k1 in session 2 -s2: NOTICE: acquiring advisory lock on 3 -step s2_upsert: INSERT INTO upserttest(key, data) VALUES('k1', 'inserted s2') ON CONFLICT (blurt_and_lock_123(key)) DO UPDATE SET data = upserttest.data || ' with conflict update s2'; -step controller_show: SELECT * FROM upserttest; -key|data ----+---- -(0 rows) - -step controller_unlock_1_1: SELECT pg_advisory_unlock(1, 1); -pg_advisory_unlock ------------------- -t -(1 row) - -step controller_unlock_2_1: SELECT pg_advisory_unlock(2, 1); -pg_advisory_unlock ------------------- -t -(1 row) - -step controller_unlock_1_3: SELECT pg_advisory_unlock(1, 3); -pg_advisory_unlock ------------------- -t -(1 row) - -s1: NOTICE: blurt_and_lock_123() called for k1 in session 1 -s1: NOTICE: acquiring advisory lock on 2 -step controller_unlock_2_3: SELECT pg_advisory_unlock(2, 3); -pg_advisory_unlock ------------------- -t -(1 row) - -s2: NOTICE: blurt_and_lock_123() called for k1 in session 2 -s2: NOTICE: acquiring advisory lock on 2 -step controller_show: SELECT * FROM upserttest; -key|data ----+---- -(0 rows) - -step controller_unlock_2_2: SELECT pg_advisory_unlock(2, 2); -pg_advisory_unlock ------------------- -t -(1 row) - -step s2_upsert: <... completed> -step controller_show: SELECT * FROM upserttest; -key|data ----+----------- -k1 |inserted s2 -(1 row) - -step controller_unlock_1_2: SELECT pg_advisory_unlock(1, 2); -pg_advisory_unlock ------------------- -t -(1 row) - -s1: NOTICE: blurt_and_lock_123() called for k1 in session 1 -s1: NOTICE: acquiring advisory lock on 2 -s1: NOTICE: blurt_and_lock_123() called for k1 in session 1 -s1: NOTICE: acquiring advisory lock on 2 -step s1_upsert: <... completed> -step controller_show: SELECT * FROM upserttest; -key|data ----+----------------------------------- -k1 |inserted s2 with conflict update s1 -(1 row) - - -starting permutation: controller_locks controller_show s1_upsert s2_upsert controller_show controller_unlock_1_1 controller_unlock_2_1 controller_unlock_1_3 controller_unlock_2_3 controller_show controller_unlock_1_2 controller_show controller_unlock_2_2 controller_show -step controller_locks: SELECT pg_advisory_lock(sess, lock), sess, lock FROM generate_series(1, 2) a(sess), generate_series(1,3) b(lock); -pg_advisory_lock|sess|lock -----------------+----+---- - | 1| 1 - | 1| 2 - | 1| 3 - | 2| 1 - | 2| 2 - | 2| 3 -(6 rows) - -step controller_show: SELECT * FROM upserttest; -key|data ----+---- -(0 rows) - -s1: NOTICE: blurt_and_lock_123() called for k1 in session 1 -s1: NOTICE: acquiring advisory lock on 3 -step s1_upsert: INSERT INTO upserttest(key, data) VALUES('k1', 'inserted s1') ON CONFLICT (blurt_and_lock_123(key)) DO UPDATE SET data = upserttest.data || ' with conflict update s1'; -s2: NOTICE: blurt_and_lock_123() called for k1 in session 2 -s2: NOTICE: acquiring advisory lock on 3 -step s2_upsert: INSERT INTO upserttest(key, data) VALUES('k1', 'inserted s2') ON CONFLICT (blurt_and_lock_123(key)) DO UPDATE SET data = upserttest.data || ' with conflict update s2'; -step controller_show: SELECT * FROM upserttest; -key|data ----+---- -(0 rows) - -step controller_unlock_1_1: SELECT pg_advisory_unlock(1, 1); -pg_advisory_unlock ------------------- -t -(1 row) - -step controller_unlock_2_1: SELECT pg_advisory_unlock(2, 1); -pg_advisory_unlock ------------------- -t -(1 row) - -step controller_unlock_1_3: SELECT pg_advisory_unlock(1, 3); -pg_advisory_unlock ------------------- -t -(1 row) - -s1: NOTICE: blurt_and_lock_123() called for k1 in session 1 -s1: NOTICE: acquiring advisory lock on 2 -step controller_unlock_2_3: SELECT pg_advisory_unlock(2, 3); -pg_advisory_unlock ------------------- -t -(1 row) - -s2: NOTICE: blurt_and_lock_123() called for k1 in session 2 -s2: NOTICE: acquiring advisory lock on 2 -step controller_show: SELECT * FROM upserttest; -key|data ----+---- -(0 rows) - -step controller_unlock_1_2: SELECT pg_advisory_unlock(1, 2); -pg_advisory_unlock ------------------- -t -(1 row) - -step s1_upsert: <... completed> -step controller_show: SELECT * FROM upserttest; -key|data ----+----------- -k1 |inserted s1 -(1 row) - -step controller_unlock_2_2: SELECT pg_advisory_unlock(2, 2); -pg_advisory_unlock ------------------- -t -(1 row) - -s2: NOTICE: blurt_and_lock_123() called for k1 in session 2 -s2: NOTICE: acquiring advisory lock on 2 -s2: NOTICE: blurt_and_lock_123() called for k1 in session 2 -s2: NOTICE: acquiring advisory lock on 2 -step s2_upsert: <... completed> -step controller_show: SELECT * FROM upserttest; -key|data ----+----------------------------------- -k1 |inserted s1 with conflict update s2 -(1 row) - - -starting permutation: controller_locks controller_show s1_insert_toast s2_insert_toast controller_show controller_unlock_1_1 controller_unlock_2_1 controller_unlock_1_3 controller_unlock_2_3 controller_show controller_unlock_1_2 controller_show_count controller_unlock_2_2 controller_show_count -step controller_locks: SELECT pg_advisory_lock(sess, lock), sess, lock FROM generate_series(1, 2) a(sess), generate_series(1,3) b(lock); -pg_advisory_lock|sess|lock -----------------+----+---- - | 1| 1 - | 1| 2 - | 1| 3 - | 2| 1 - | 2| 2 - | 2| 3 -(6 rows) - -step controller_show: SELECT * FROM upserttest; -key|data ----+---- -(0 rows) - -s1: NOTICE: blurt_and_lock_123() called for k2 in session 1 -s1: NOTICE: acquiring advisory lock on 3 -step s1_insert_toast: INSERT INTO upserttest VALUES('k2', ctoast_large_val()) ON CONFLICT DO NOTHING; -s2: NOTICE: blurt_and_lock_123() called for k2 in session 2 -s2: NOTICE: acquiring advisory lock on 3 -step s2_insert_toast: INSERT INTO upserttest VALUES('k2', ctoast_large_val()) ON CONFLICT DO NOTHING; -step controller_show: SELECT * FROM upserttest; -key|data ----+---- -(0 rows) - -step controller_unlock_1_1: SELECT pg_advisory_unlock(1, 1); -pg_advisory_unlock ------------------- -t -(1 row) - -step controller_unlock_2_1: SELECT pg_advisory_unlock(2, 1); -pg_advisory_unlock ------------------- -t -(1 row) - -step controller_unlock_1_3: SELECT pg_advisory_unlock(1, 3); -pg_advisory_unlock ------------------- -t -(1 row) - -s1: NOTICE: blurt_and_lock_123() called for k2 in session 1 -s1: NOTICE: acquiring advisory lock on 2 -step controller_unlock_2_3: SELECT pg_advisory_unlock(2, 3); -pg_advisory_unlock ------------------- -t -(1 row) - -s2: NOTICE: blurt_and_lock_123() called for k2 in session 2 -s2: NOTICE: acquiring advisory lock on 2 -step controller_show: SELECT * FROM upserttest; -key|data ----+---- -(0 rows) - -step controller_unlock_1_2: SELECT pg_advisory_unlock(1, 2); -pg_advisory_unlock ------------------- -t -(1 row) - -step s1_insert_toast: <... completed> -step controller_show_count: SELECT COUNT(*) FROM upserttest; -count ------ - 1 -(1 row) - -step controller_unlock_2_2: SELECT pg_advisory_unlock(2, 2); -pg_advisory_unlock ------------------- -t -(1 row) - -s2: NOTICE: blurt_and_lock_123() called for k2 in session 2 -s2: NOTICE: acquiring advisory lock on 2 -s2: NOTICE: blurt_and_lock_123() called for k2 in session 2 -s2: NOTICE: acquiring advisory lock on 2 -step s2_insert_toast: <... completed> -step controller_show_count: SELECT COUNT(*) FROM upserttest; -count ------ - 1 -(1 row) - - -starting permutation: controller_locks controller_show s1_begin s2_begin s1_upsert s2_upsert controller_show controller_unlock_1_1 controller_unlock_2_1 controller_unlock_1_3 controller_unlock_2_3 controller_show controller_unlock_1_2 controller_show controller_unlock_2_2 controller_show s1_commit controller_show s2_commit controller_show -step controller_locks: SELECT pg_advisory_lock(sess, lock), sess, lock FROM generate_series(1, 2) a(sess), generate_series(1,3) b(lock); -pg_advisory_lock|sess|lock -----------------+----+---- - | 1| 1 - | 1| 2 - | 1| 3 - | 2| 1 - | 2| 2 - | 2| 3 -(6 rows) - -step controller_show: SELECT * FROM upserttest; -key|data ----+---- -(0 rows) - -step s1_begin: BEGIN; -step s2_begin: BEGIN; -s1: NOTICE: blurt_and_lock_123() called for k1 in session 1 -s1: NOTICE: acquiring advisory lock on 3 -step s1_upsert: INSERT INTO upserttest(key, data) VALUES('k1', 'inserted s1') ON CONFLICT (blurt_and_lock_123(key)) DO UPDATE SET data = upserttest.data || ' with conflict update s1'; -s2: NOTICE: blurt_and_lock_123() called for k1 in session 2 -s2: NOTICE: acquiring advisory lock on 3 -step s2_upsert: INSERT INTO upserttest(key, data) VALUES('k1', 'inserted s2') ON CONFLICT (blurt_and_lock_123(key)) DO UPDATE SET data = upserttest.data || ' with conflict update s2'; -step controller_show: SELECT * FROM upserttest; -key|data ----+---- -(0 rows) - -step controller_unlock_1_1: SELECT pg_advisory_unlock(1, 1); -pg_advisory_unlock ------------------- -t -(1 row) - -step controller_unlock_2_1: SELECT pg_advisory_unlock(2, 1); -pg_advisory_unlock ------------------- -t -(1 row) - -step controller_unlock_1_3: SELECT pg_advisory_unlock(1, 3); -pg_advisory_unlock ------------------- -t -(1 row) - -s1: NOTICE: blurt_and_lock_123() called for k1 in session 1 -s1: NOTICE: acquiring advisory lock on 2 -step controller_unlock_2_3: SELECT pg_advisory_unlock(2, 3); -pg_advisory_unlock ------------------- -t -(1 row) - -s2: NOTICE: blurt_and_lock_123() called for k1 in session 2 -s2: NOTICE: acquiring advisory lock on 2 -step controller_show: SELECT * FROM upserttest; -key|data ----+---- -(0 rows) - -step controller_unlock_1_2: SELECT pg_advisory_unlock(1, 2); -pg_advisory_unlock ------------------- -t -(1 row) - -step s1_upsert: <... completed> -step controller_show: SELECT * FROM upserttest; -key|data ----+---- -(0 rows) - -step controller_unlock_2_2: SELECT pg_advisory_unlock(2, 2); -pg_advisory_unlock ------------------- -t -(1 row) - -s2: NOTICE: blurt_and_lock_123() called for k1 in session 2 -s2: NOTICE: acquiring advisory lock on 2 -s2: NOTICE: blurt_and_lock_123() called for k1 in session 2 -s2: NOTICE: acquiring advisory lock on 2 -step controller_show: SELECT * FROM upserttest; -key|data ----+---- -(0 rows) - -step s1_commit: COMMIT; -s2: NOTICE: blurt_and_lock_123() called for k1 in session 2 -s2: NOTICE: acquiring advisory lock on 2 -step s2_upsert: <... completed> -step controller_show: SELECT * FROM upserttest; -key|data ----+----------- -k1 |inserted s1 -(1 row) - -step s2_commit: COMMIT; -step controller_show: SELECT * FROM upserttest; -key|data ----+----------------------------------- -k1 |inserted s1 with conflict update s2 -(1 row) - - -starting permutation: s1_create_non_unique_index s1_confirm_index_order controller_locks controller_show s2_begin s1_upsert s2_upsert controller_show controller_unlock_1_1 controller_unlock_2_1 controller_unlock_1_3 controller_unlock_2_3 controller_show controller_lock_2_4 controller_unlock_2_2 controller_show controller_unlock_1_2 controller_print_speculative_locks controller_unlock_2_4 s2_noop controller_print_speculative_locks s2_commit s1_noop controller_show controller_print_speculative_locks -step s1_create_non_unique_index: CREATE INDEX upserttest_key_idx ON upserttest((blurt_and_lock_4(key))); -step s1_confirm_index_order: SELECT 'upserttest_key_uniq_idx'::regclass::int8 < 'upserttest_key_idx'::regclass::int8; -?column? --------- -t -(1 row) - -step controller_locks: SELECT pg_advisory_lock(sess, lock), sess, lock FROM generate_series(1, 2) a(sess), generate_series(1,3) b(lock); -pg_advisory_lock|sess|lock -----------------+----+---- - | 1| 1 - | 1| 2 - | 1| 3 - | 2| 1 - | 2| 2 - | 2| 3 -(6 rows) - -step controller_show: SELECT * FROM upserttest; -key|data ----+---- -(0 rows) - -step s2_begin: BEGIN; -s1: NOTICE: blurt_and_lock_123() called for k1 in session 1 -s1: NOTICE: acquiring advisory lock on 3 -step s1_upsert: INSERT INTO upserttest(key, data) VALUES('k1', 'inserted s1') ON CONFLICT (blurt_and_lock_123(key)) DO UPDATE SET data = upserttest.data || ' with conflict update s1'; -s2: NOTICE: blurt_and_lock_123() called for k1 in session 2 -s2: NOTICE: acquiring advisory lock on 3 -step s2_upsert: INSERT INTO upserttest(key, data) VALUES('k1', 'inserted s2') ON CONFLICT (blurt_and_lock_123(key)) DO UPDATE SET data = upserttest.data || ' with conflict update s2'; -step controller_show: SELECT * FROM upserttest; -key|data ----+---- -(0 rows) - -step controller_unlock_1_1: SELECT pg_advisory_unlock(1, 1); -pg_advisory_unlock ------------------- -t -(1 row) - -step controller_unlock_2_1: SELECT pg_advisory_unlock(2, 1); -pg_advisory_unlock ------------------- -t -(1 row) - -step controller_unlock_1_3: SELECT pg_advisory_unlock(1, 3); -pg_advisory_unlock ------------------- -t -(1 row) - -s1: NOTICE: blurt_and_lock_123() called for k1 in session 1 -s1: NOTICE: acquiring advisory lock on 2 -step controller_unlock_2_3: SELECT pg_advisory_unlock(2, 3); -pg_advisory_unlock ------------------- -t -(1 row) - -s2: NOTICE: blurt_and_lock_123() called for k1 in session 2 -s2: NOTICE: acquiring advisory lock on 2 -step controller_show: SELECT * FROM upserttest; -key|data ----+---- -(0 rows) - -step controller_lock_2_4: SELECT pg_advisory_lock(2, 4); -pg_advisory_lock ----------------- - -(1 row) - -step controller_unlock_2_2: SELECT pg_advisory_unlock(2, 2); -pg_advisory_unlock ------------------- -t -(1 row) - -s2: NOTICE: blurt_and_lock_4() called for k1 in session 2 -s2: NOTICE: acquiring advisory lock on 4 -step controller_show: SELECT * FROM upserttest; -key|data ----+---- -(0 rows) - -step controller_unlock_1_2: SELECT pg_advisory_unlock(1, 2); -pg_advisory_unlock ------------------- -t -(1 row) - -s1: NOTICE: blurt_and_lock_4() called for k1 in session 1 -s1: NOTICE: acquiring advisory lock on 4 -s1: NOTICE: blurt_and_lock_123() called for k1 in session 1 -s1: NOTICE: acquiring advisory lock on 2 -s1: NOTICE: blurt_and_lock_123() called for k1 in session 1 -s1: NOTICE: acquiring advisory lock on 2 -step controller_print_speculative_locks: - SELECT pa.application_name, locktype, mode, granted - FROM pg_locks pl JOIN pg_stat_activity pa USING (pid) - WHERE - locktype IN ('spectoken', 'transactionid') - AND pa.datname = current_database() - AND pa.application_name LIKE 'isolation/insert-conflict-specconflict/s%' - ORDER BY 1, 2, 3, 4; - -application_name |locktype |mode |granted ------------------------------------------+-------------+-------------+------- -isolation/insert-conflict-specconflict/s1|spectoken |ShareLock |f -isolation/insert-conflict-specconflict/s1|transactionid|ExclusiveLock|t -isolation/insert-conflict-specconflict/s2|spectoken |ExclusiveLock|t -isolation/insert-conflict-specconflict/s2|transactionid|ExclusiveLock|t -(4 rows) - -step controller_unlock_2_4: SELECT pg_advisory_unlock(2, 4); -pg_advisory_unlock ------------------- -t -(1 row) - -s1: NOTICE: blurt_and_lock_123() called for k1 in session 1 -s1: NOTICE: acquiring advisory lock on 2 -step s2_upsert: <... completed> -step s2_noop: -step controller_print_speculative_locks: - SELECT pa.application_name, locktype, mode, granted - FROM pg_locks pl JOIN pg_stat_activity pa USING (pid) - WHERE - locktype IN ('spectoken', 'transactionid') - AND pa.datname = current_database() - AND pa.application_name LIKE 'isolation/insert-conflict-specconflict/s%' - ORDER BY 1, 2, 3, 4; - -application_name |locktype |mode |granted ------------------------------------------+-------------+-------------+------- -isolation/insert-conflict-specconflict/s1|transactionid|ExclusiveLock|t -isolation/insert-conflict-specconflict/s1|transactionid|ShareLock |f -isolation/insert-conflict-specconflict/s2|transactionid|ExclusiveLock|t -(3 rows) - -step s2_commit: COMMIT; -s1: NOTICE: blurt_and_lock_123() called for k1 in session 1 -s1: NOTICE: acquiring advisory lock on 2 -step s1_upsert: <... completed> -step s1_noop: -step controller_show: SELECT * FROM upserttest; -key|data ----+----------------------------------- -k1 |inserted s2 with conflict update s1 -(1 row) - -step controller_print_speculative_locks: - SELECT pa.application_name, locktype, mode, granted - FROM pg_locks pl JOIN pg_stat_activity pa USING (pid) - WHERE - locktype IN ('spectoken', 'transactionid') - AND pa.datname = current_database() - AND pa.application_name LIKE 'isolation/insert-conflict-specconflict/s%' - ORDER BY 1, 2, 3, 4; - -application_name|locktype|mode|granted -----------------+--------+----+------- -(0 rows) - +setup failed: server closed the connection unexpectedly + This probably means the server terminated abnormally + before or while processing the request. diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/merge-insert-update.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/merge-insert-update.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/merge-insert-update.out 2025-08-23 05:04:11.944972704 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/merge-insert-update.out 2025-08-23 05:09:22.603444566 +0000 @@ -1,94 +1,4 @@ Parsed test spec with 2 sessions starting permutation: merge1 c1 select2 c2 -step merge1: MERGE INTO target t USING (SELECT 1 as key, 'merge1' as val) s ON s.key = t.key WHEN NOT MATCHED THEN INSERT VALUES (s.key, s.val) WHEN MATCHED THEN UPDATE set val = t.val || ' updated by merge1'; -step c1: COMMIT; -step select2: SELECT * FROM target; -key|val ----+------ - 1|merge1 -(1 row) - -step c2: COMMIT; - -starting permutation: merge1 c1 merge2 select2 c2 -step merge1: MERGE INTO target t USING (SELECT 1 as key, 'merge1' as val) s ON s.key = t.key WHEN NOT MATCHED THEN INSERT VALUES (s.key, s.val) WHEN MATCHED THEN UPDATE set val = t.val || ' updated by merge1'; -step c1: COMMIT; -step merge2: MERGE INTO target t USING (SELECT 1 as key, 'merge2' as val) s ON s.key = t.key WHEN NOT MATCHED THEN INSERT VALUES (s.key, s.val) WHEN MATCHED THEN UPDATE set val = t.val || ' updated by merge2'; -step select2: SELECT * FROM target; -key|val ----+------------------------ - 1|merge1 updated by merge2 -(1 row) - -step c2: COMMIT; - -starting permutation: insert1 merge2 c1 select2 c2 -step insert1: INSERT INTO target VALUES (1, 'insert1'); -step merge2: MERGE INTO target t USING (SELECT 1 as key, 'merge2' as val) s ON s.key = t.key WHEN NOT MATCHED THEN INSERT VALUES (s.key, s.val) WHEN MATCHED THEN UPDATE set val = t.val || ' updated by merge2'; -step c1: COMMIT; -step merge2: <... completed> -ERROR: duplicate key value violates unique constraint "target_pkey" -step select2: SELECT * FROM target; -ERROR: current transaction is aborted, commands ignored until end of transaction block -step c2: COMMIT; - -starting permutation: merge1 merge2 c1 select2 c2 -step merge1: MERGE INTO target t USING (SELECT 1 as key, 'merge1' as val) s ON s.key = t.key WHEN NOT MATCHED THEN INSERT VALUES (s.key, s.val) WHEN MATCHED THEN UPDATE set val = t.val || ' updated by merge1'; -step merge2: MERGE INTO target t USING (SELECT 1 as key, 'merge2' as val) s ON s.key = t.key WHEN NOT MATCHED THEN INSERT VALUES (s.key, s.val) WHEN MATCHED THEN UPDATE set val = t.val || ' updated by merge2'; -step c1: COMMIT; -step merge2: <... completed> -ERROR: duplicate key value violates unique constraint "target_pkey" -step select2: SELECT * FROM target; -ERROR: current transaction is aborted, commands ignored until end of transaction block -step c2: COMMIT; - -starting permutation: merge1 merge2 a1 select2 c2 -step merge1: MERGE INTO target t USING (SELECT 1 as key, 'merge1' as val) s ON s.key = t.key WHEN NOT MATCHED THEN INSERT VALUES (s.key, s.val) WHEN MATCHED THEN UPDATE set val = t.val || ' updated by merge1'; -step merge2: MERGE INTO target t USING (SELECT 1 as key, 'merge2' as val) s ON s.key = t.key WHEN NOT MATCHED THEN INSERT VALUES (s.key, s.val) WHEN MATCHED THEN UPDATE set val = t.val || ' updated by merge2'; -step a1: ABORT; -step merge2: <... completed> -step select2: SELECT * FROM target; -key|val ----+------ - 1|merge2 -(1 row) - -step c2: COMMIT; - -starting permutation: delete1 insert1 c1 merge2 select2 c2 -step delete1: DELETE FROM target WHERE key = 1; -step insert1: INSERT INTO target VALUES (1, 'insert1'); -step c1: COMMIT; -step merge2: MERGE INTO target t USING (SELECT 1 as key, 'merge2' as val) s ON s.key = t.key WHEN NOT MATCHED THEN INSERT VALUES (s.key, s.val) WHEN MATCHED THEN UPDATE set val = t.val || ' updated by merge2'; -step select2: SELECT * FROM target; -key|val ----+------------------------- - 1|insert1 updated by merge2 -(1 row) - -step c2: COMMIT; - -starting permutation: delete1 insert1 merge2 c1 select2 c2 -step delete1: DELETE FROM target WHERE key = 1; -step insert1: INSERT INTO target VALUES (1, 'insert1'); -step merge2: MERGE INTO target t USING (SELECT 1 as key, 'merge2' as val) s ON s.key = t.key WHEN NOT MATCHED THEN INSERT VALUES (s.key, s.val) WHEN MATCHED THEN UPDATE set val = t.val || ' updated by merge2'; -step c1: COMMIT; -step merge2: <... completed> -ERROR: duplicate key value violates unique constraint "target_pkey" -step select2: SELECT * FROM target; -ERROR: current transaction is aborted, commands ignored until end of transaction block -step c2: COMMIT; - -starting permutation: delete1 insert1 merge2i c1 select2 c2 -step delete1: DELETE FROM target WHERE key = 1; -step insert1: INSERT INTO target VALUES (1, 'insert1'); -step merge2i: MERGE INTO target t USING (SELECT 1 as key, 'merge2' as val) s ON s.key = t.key WHEN MATCHED THEN UPDATE set val = t.val || ' updated by merge2'; -step c1: COMMIT; -step select2: SELECT * FROM target; -key|val ----+------- - 1|insert1 -(1 row) - -step c2: COMMIT; +setup failed: ERROR: heap tid from index tuple (128,5) points to unused heap page item at offset 172 of block 84 in index "pg_depend_reference_index" diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/merge-delete.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/merge-delete.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/merge-delete.out 2025-08-23 05:04:11.944972704 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/merge-delete.out 2025-08-23 05:09:22.775444166 +0000 @@ -1,236 +1,4 @@ Parsed test spec with 2 sessions starting permutation: delete c1 select2 c2 -step delete: DELETE FROM target t WHERE t.key = 1; -step c1: COMMIT; -step select2: SELECT * FROM target; -key|val ----+--- -(0 rows) - -step c2: COMMIT; - -starting permutation: delete_pa c1 select2_pa c2 -step delete_pa: DELETE FROM target_pa t WHERE t.key = 1; -step c1: COMMIT; -step select2_pa: SELECT * FROM target_pa; -key|val ----+--- -(0 rows) - -step c2: COMMIT; - -starting permutation: delete_tg c1 select2_tg c2 -s1: NOTICE: Delete: (1,setup1) -step delete_tg: DELETE FROM target_tg t WHERE t.key = 1; -step c1: COMMIT; -step select2_tg: SELECT * FROM target_tg; -key|val ----+--- -(0 rows) - -step c2: COMMIT; - -starting permutation: delete c1 update2 select2 c2 -step delete: DELETE FROM target t WHERE t.key = 1; -step c1: COMMIT; -step update2: UPDATE target t SET val = t.val || ' updated by update2' WHERE t.key = 1; -step select2: SELECT * FROM target; -key|val ----+--- -(0 rows) - -step c2: COMMIT; - -starting permutation: delete_pa c1 update2_pa select2_pa c2 -step delete_pa: DELETE FROM target_pa t WHERE t.key = 1; -step c1: COMMIT; -step update2_pa: UPDATE target_pa t SET val = t.val || ' updated by update2_pa' WHERE t.key = 1; -step select2_pa: SELECT * FROM target_pa; -key|val ----+--- -(0 rows) - -step c2: COMMIT; - -starting permutation: delete_tg c1 update2_tg select2_tg c2 -s1: NOTICE: Delete: (1,setup1) -step delete_tg: DELETE FROM target_tg t WHERE t.key = 1; -step c1: COMMIT; -step update2_tg: UPDATE target_tg t SET val = t.val || ' updated by update2_tg' WHERE t.key = 1; -step select2_tg: SELECT * FROM target_tg; -key|val ----+--- -(0 rows) - -step c2: COMMIT; - -starting permutation: delete c1 merge2 select2 c2 -step delete: DELETE FROM target t WHERE t.key = 1; -step c1: COMMIT; -step merge2: MERGE INTO target t USING (SELECT 1 as key, 'merge2' as val) s ON s.key = t.key WHEN NOT MATCHED THEN INSERT VALUES (s.key, s.val) WHEN MATCHED THEN UPDATE set key = t.key + 1, val = t.val || ' updated by ' || s.val; -step select2: SELECT * FROM target; -key|val ----+------ - 1|merge2 -(1 row) - -step c2: COMMIT; - -starting permutation: delete_pa c1 merge2_pa select2_pa c2 -step delete_pa: DELETE FROM target_pa t WHERE t.key = 1; -step c1: COMMIT; -step merge2_pa: MERGE INTO target_pa t USING (SELECT 1 as key, 'merge2_pa' as val) s ON s.key = t.key WHEN NOT MATCHED THEN INSERT VALUES (s.key, s.val) WHEN MATCHED THEN UPDATE set key = t.key + 1, val = t.val || ' updated by ' || s.val; -step select2_pa: SELECT * FROM target_pa; -key|val ----+--------- - 1|merge2_pa -(1 row) - -step c2: COMMIT; - -starting permutation: delete_tg c1 merge2_tg select2_tg c2 -s1: NOTICE: Delete: (1,setup1) -step delete_tg: DELETE FROM target_tg t WHERE t.key = 1; -step c1: COMMIT; -s2: NOTICE: Insert: (1,merge2_tg) -step merge2_tg: MERGE INTO target_tg t USING (SELECT 1 as key, 'merge2_tg' as val) s ON s.key = t.key WHEN NOT MATCHED THEN INSERT VALUES (s.key, s.val) WHEN MATCHED THEN UPDATE set key = t.key + 1, val = t.val || ' updated by ' || s.val; -step select2_tg: SELECT * FROM target_tg; -key|val ----+--------- - 1|merge2_tg -(1 row) - -step c2: COMMIT; - -starting permutation: delete c1 merge_delete2 select2 c2 -step delete: DELETE FROM target t WHERE t.key = 1; -step c1: COMMIT; -step merge_delete2: MERGE INTO target t USING (SELECT 1 as key, 'merge_delete2' as val) s ON s.key = t.key WHEN NOT MATCHED THEN INSERT VALUES (s.key, s.val) WHEN MATCHED THEN DELETE; -step select2: SELECT * FROM target; -key|val ----+------------- - 1|merge_delete2 -(1 row) - -step c2: COMMIT; - -starting permutation: delete_tg c1 merge_delete2_tg select2_tg c2 -s1: NOTICE: Delete: (1,setup1) -step delete_tg: DELETE FROM target_tg t WHERE t.key = 1; -step c1: COMMIT; -s2: NOTICE: Insert: (1,merge_delete2_tg) -step merge_delete2_tg: MERGE INTO target_tg t USING (SELECT 1 as key, 'merge_delete2_tg' as val) s ON s.key = t.key WHEN NOT MATCHED THEN INSERT VALUES (s.key, s.val) WHEN MATCHED THEN DELETE; -step select2_tg: SELECT * FROM target_tg; -key|val ----+---------------- - 1|merge_delete2_tg -(1 row) - -step c2: COMMIT; - -starting permutation: delete update2 c1 select2 c2 -step delete: DELETE FROM target t WHERE t.key = 1; -step update2: UPDATE target t SET val = t.val || ' updated by update2' WHERE t.key = 1; -step c1: COMMIT; -step update2: <... completed> -step select2: SELECT * FROM target; -key|val ----+--- -(0 rows) - -step c2: COMMIT; - -starting permutation: delete_pa update2_pa c1 select2_pa c2 -step delete_pa: DELETE FROM target_pa t WHERE t.key = 1; -step update2_pa: UPDATE target_pa t SET val = t.val || ' updated by update2_pa' WHERE t.key = 1; -step c1: COMMIT; -step update2_pa: <... completed> -step select2_pa: SELECT * FROM target_pa; -key|val ----+--- -(0 rows) - -step c2: COMMIT; - -starting permutation: delete_tg update2_tg c1 select2_tg c2 -s1: NOTICE: Delete: (1,setup1) -step delete_tg: DELETE FROM target_tg t WHERE t.key = 1; -step update2_tg: UPDATE target_tg t SET val = t.val || ' updated by update2_tg' WHERE t.key = 1; -step c1: COMMIT; -step update2_tg: <... completed> -step select2_tg: SELECT * FROM target_tg; -key|val ----+--- -(0 rows) - -step c2: COMMIT; - -starting permutation: delete merge2 c1 select2 c2 -step delete: DELETE FROM target t WHERE t.key = 1; -step merge2: MERGE INTO target t USING (SELECT 1 as key, 'merge2' as val) s ON s.key = t.key WHEN NOT MATCHED THEN INSERT VALUES (s.key, s.val) WHEN MATCHED THEN UPDATE set key = t.key + 1, val = t.val || ' updated by ' || s.val; -step c1: COMMIT; -step merge2: <... completed> -step select2: SELECT * FROM target; -key|val ----+------ - 1|merge2 -(1 row) - -step c2: COMMIT; - -starting permutation: delete_pa merge2_pa c1 select2_pa c2 -step delete_pa: DELETE FROM target_pa t WHERE t.key = 1; -step merge2_pa: MERGE INTO target_pa t USING (SELECT 1 as key, 'merge2_pa' as val) s ON s.key = t.key WHEN NOT MATCHED THEN INSERT VALUES (s.key, s.val) WHEN MATCHED THEN UPDATE set key = t.key + 1, val = t.val || ' updated by ' || s.val; -step c1: COMMIT; -step merge2_pa: <... completed> -step select2_pa: SELECT * FROM target_pa; -key|val ----+--------- - 1|merge2_pa -(1 row) - -step c2: COMMIT; - -starting permutation: delete_tg merge2_tg c1 select2_tg c2 -s1: NOTICE: Delete: (1,setup1) -step delete_tg: DELETE FROM target_tg t WHERE t.key = 1; -step merge2_tg: MERGE INTO target_tg t USING (SELECT 1 as key, 'merge2_tg' as val) s ON s.key = t.key WHEN NOT MATCHED THEN INSERT VALUES (s.key, s.val) WHEN MATCHED THEN UPDATE set key = t.key + 1, val = t.val || ' updated by ' || s.val; -step c1: COMMIT; -s2: NOTICE: Insert: (1,merge2_tg) -step merge2_tg: <... completed> -step select2_tg: SELECT * FROM target_tg; -key|val ----+--------- - 1|merge2_tg -(1 row) - -step c2: COMMIT; - -starting permutation: delete merge_delete2 c1 select2 c2 -step delete: DELETE FROM target t WHERE t.key = 1; -step merge_delete2: MERGE INTO target t USING (SELECT 1 as key, 'merge_delete2' as val) s ON s.key = t.key WHEN NOT MATCHED THEN INSERT VALUES (s.key, s.val) WHEN MATCHED THEN DELETE; -step c1: COMMIT; -step merge_delete2: <... completed> -step select2: SELECT * FROM target; -key|val ----+------------- - 1|merge_delete2 -(1 row) - -step c2: COMMIT; - -starting permutation: delete_tg merge_delete2_tg c1 select2_tg c2 -s1: NOTICE: Delete: (1,setup1) -step delete_tg: DELETE FROM target_tg t WHERE t.key = 1; -step merge_delete2_tg: MERGE INTO target_tg t USING (SELECT 1 as key, 'merge_delete2_tg' as val) s ON s.key = t.key WHEN NOT MATCHED THEN INSERT VALUES (s.key, s.val) WHEN MATCHED THEN DELETE; -step c1: COMMIT; -s2: NOTICE: Insert: (1,merge_delete2_tg) -step merge_delete2_tg: <... completed> -step select2_tg: SELECT * FROM target_tg; -key|val ----+---------------- - 1|merge_delete2_tg -(1 row) - -step c2: COMMIT; +setup failed: ERROR: heap tid from index tuple (128,5) points to unused heap page item at offset 172 of block 84 in index "pg_depend_reference_index" diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/merge-update.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/merge-update.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/merge-update.out 2025-08-23 05:04:11.944972704 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/merge-update.out 2025-08-23 05:09:22.943443777 +0000 @@ -1,405 +1,4 @@ Parsed test spec with 2 sessions starting permutation: merge1 c1 select2 c2 -step merge1: - MERGE INTO target t - USING (SELECT 1 as key, 'merge1' as val) s - ON s.key = t.key - WHEN NOT MATCHED THEN - INSERT VALUES (s.key, s.val) - WHEN MATCHED THEN - UPDATE set key = t.key + 1, val = t.val || ' updated by ' || s.val; - -step c1: COMMIT; -step select2: SELECT * FROM target; -key|val ----+------------------------ - 2|setup1 updated by merge1 -(1 row) - -step c2: COMMIT; - -starting permutation: merge1 c1 merge2a select2 c2 -step merge1: - MERGE INTO target t - USING (SELECT 1 as key, 'merge1' as val) s - ON s.key = t.key - WHEN NOT MATCHED THEN - INSERT VALUES (s.key, s.val) - WHEN MATCHED THEN - UPDATE set key = t.key + 1, val = t.val || ' updated by ' || s.val; - -step c1: COMMIT; -step merge2a: - MERGE INTO target t - USING (SELECT 1 as key, 'merge2a' as val) s - ON s.key = t.key - WHEN NOT MATCHED THEN - INSERT VALUES (s.key, s.val) - WHEN MATCHED THEN - UPDATE set key = t.key + 1, val = t.val || ' updated by ' || s.val - WHEN NOT MATCHED BY SOURCE THEN - UPDATE set key = t.key + 1, val = t.val || ' source not matched by merge2a' - RETURNING merge_action(), old, new, t.*; - -merge_action|old |new |key|val -------------+------------------------------+------------------------------------------------------------+---+------------------------------------------------------ -UPDATE |(2,"setup1 updated by merge1")|(3,"setup1 updated by merge1 source not matched by merge2a")| 3|setup1 updated by merge1 source not matched by merge2a -INSERT | |(1,merge2a) | 1|merge2a -(2 rows) - -step select2: SELECT * FROM target; -key|val ----+------------------------------------------------------ - 3|setup1 updated by merge1 source not matched by merge2a - 1|merge2a -(2 rows) - -step c2: COMMIT; - -starting permutation: pa_merge1 c1 pa_merge2c_dup a2 -step pa_merge1: - MERGE INTO pa_target t - USING (SELECT 1 as key, 'pa_merge1' as val) s - ON s.key = t.key - WHEN NOT MATCHED THEN - INSERT VALUES (s.key, s.val) - WHEN MATCHED THEN - UPDATE set val = t.val || ' updated by ' || s.val; - -step c1: COMMIT; -step pa_merge2c_dup: - MERGE INTO pa_target t - USING (VALUES (1), (1)) v(a) - ON t.key = v.a - WHEN MATCHED THEN - UPDATE set val = t.val || ' updated by pa_merge2c_dup'; -- should fail - -ERROR: MERGE command cannot affect row a second time -step a2: ABORT; - -starting permutation: merge1 merge2a c1 select2 c2 -step merge1: - MERGE INTO target t - USING (SELECT 1 as key, 'merge1' as val) s - ON s.key = t.key - WHEN NOT MATCHED THEN - INSERT VALUES (s.key, s.val) - WHEN MATCHED THEN - UPDATE set key = t.key + 1, val = t.val || ' updated by ' || s.val; - -step merge2a: - MERGE INTO target t - USING (SELECT 1 as key, 'merge2a' as val) s - ON s.key = t.key - WHEN NOT MATCHED THEN - INSERT VALUES (s.key, s.val) - WHEN MATCHED THEN - UPDATE set key = t.key + 1, val = t.val || ' updated by ' || s.val - WHEN NOT MATCHED BY SOURCE THEN - UPDATE set key = t.key + 1, val = t.val || ' source not matched by merge2a' - RETURNING merge_action(), old, new, t.*; - -step c1: COMMIT; -step merge2a: <... completed> -merge_action|old |new |key|val -------------+------------------------------+------------------------------------------------------------+---+------------------------------------------------------ -UPDATE |(2,"setup1 updated by merge1")|(3,"setup1 updated by merge1 source not matched by merge2a")| 3|setup1 updated by merge1 source not matched by merge2a -INSERT | |(1,merge2a) | 1|merge2a -(2 rows) - -step select2: SELECT * FROM target; -key|val ----+------------------------------------------------------ - 3|setup1 updated by merge1 source not matched by merge2a - 1|merge2a -(2 rows) - -step c2: COMMIT; - -starting permutation: merge1 merge2a a1 select2 c2 -step merge1: - MERGE INTO target t - USING (SELECT 1 as key, 'merge1' as val) s - ON s.key = t.key - WHEN NOT MATCHED THEN - INSERT VALUES (s.key, s.val) - WHEN MATCHED THEN - UPDATE set key = t.key + 1, val = t.val || ' updated by ' || s.val; - -step merge2a: - MERGE INTO target t - USING (SELECT 1 as key, 'merge2a' as val) s - ON s.key = t.key - WHEN NOT MATCHED THEN - INSERT VALUES (s.key, s.val) - WHEN MATCHED THEN - UPDATE set key = t.key + 1, val = t.val || ' updated by ' || s.val - WHEN NOT MATCHED BY SOURCE THEN - UPDATE set key = t.key + 1, val = t.val || ' source not matched by merge2a' - RETURNING merge_action(), old, new, t.*; - -step a1: ABORT; -step merge2a: <... completed> -merge_action|old |new |key|val -------------+----------+-------------------------------+---+------------------------- -UPDATE |(1,setup1)|(2,"setup1 updated by merge2a")| 2|setup1 updated by merge2a -(1 row) - -step select2: SELECT * FROM target; -key|val ----+------------------------- - 2|setup1 updated by merge2a -(1 row) - -step c2: COMMIT; - -starting permutation: merge1 merge2b c1 select2 c2 -step merge1: - MERGE INTO target t - USING (SELECT 1 as key, 'merge1' as val) s - ON s.key = t.key - WHEN NOT MATCHED THEN - INSERT VALUES (s.key, s.val) - WHEN MATCHED THEN - UPDATE set key = t.key + 1, val = t.val || ' updated by ' || s.val; - -step merge2b: - MERGE INTO target t - USING (SELECT 1 as key, 'merge2b' as val) s - ON s.key = t.key - WHEN NOT MATCHED THEN - INSERT VALUES (s.key, s.val) - WHEN MATCHED AND t.key < 2 THEN - UPDATE set key = t.key + 1, val = t.val || ' updated by ' || s.val; - -step c1: COMMIT; -step merge2b: <... completed> -step select2: SELECT * FROM target; -key|val ----+------------------------ - 2|setup1 updated by merge1 - 1|merge2b -(2 rows) - -step c2: COMMIT; - -starting permutation: merge1 merge2c c1 select2 c2 -step merge1: - MERGE INTO target t - USING (SELECT 1 as key, 'merge1' as val) s - ON s.key = t.key - WHEN NOT MATCHED THEN - INSERT VALUES (s.key, s.val) - WHEN MATCHED THEN - UPDATE set key = t.key + 1, val = t.val || ' updated by ' || s.val; - -step merge2c: - MERGE INTO target t - USING (SELECT 1 as key, 'merge2c' as val) s - ON s.key = t.key AND t.key < 2 - WHEN NOT MATCHED THEN - INSERT VALUES (s.key, s.val) - WHEN MATCHED THEN - UPDATE set key = t.key + 1, val = t.val || ' updated by ' || s.val; - -step c1: COMMIT; -step merge2c: <... completed> -step select2: SELECT * FROM target; -key|val ----+------------------------ - 2|setup1 updated by merge1 - 1|merge2c -(2 rows) - -step c2: COMMIT; - -starting permutation: pa_merge1 pa_merge2a c1 pa_select2 c2 -step pa_merge1: - MERGE INTO pa_target t - USING (SELECT 1 as key, 'pa_merge1' as val) s - ON s.key = t.key - WHEN NOT MATCHED THEN - INSERT VALUES (s.key, s.val) - WHEN MATCHED THEN - UPDATE set val = t.val || ' updated by ' || s.val; - -step pa_merge2a: - MERGE INTO pa_target t - USING (SELECT 1 as key, 'pa_merge2a' as val) s - ON s.key = t.key - WHEN NOT MATCHED THEN - INSERT VALUES (s.key, s.val) - WHEN MATCHED THEN - UPDATE set key = t.key + 1, val = t.val || ' updated by ' || s.val - WHEN NOT MATCHED BY SOURCE THEN - UPDATE set key = t.key + 1, val = t.val || ' source not matched by pa_merge2a' - RETURNING merge_action(), old, new, t.*; - -step c1: COMMIT; -step pa_merge2a: <... completed> -merge_action|old |new |key|val -------------+----------------------------------+--------------------------------------------------------+---+-------------------------------------------------- -UPDATE |(1,"initial updated by pa_merge1")|(2,"initial updated by pa_merge1 updated by pa_merge2a")| 2|initial updated by pa_merge1 updated by pa_merge2a -UPDATE |(2,initial) |(3,"initial source not matched by pa_merge2a") | 3|initial source not matched by pa_merge2a -(2 rows) - -step pa_select2: SELECT * FROM pa_target; -key|val ----+-------------------------------------------------- - 2|initial updated by pa_merge1 updated by pa_merge2a - 3|initial source not matched by pa_merge2a -(2 rows) - -step c2: COMMIT; - -starting permutation: pa_merge2 pa_merge2a c1 pa_select2 c2 -step pa_merge2: - MERGE INTO pa_target t - USING (SELECT 1 as key, 'pa_merge2' as val) s - ON s.key = t.key - WHEN NOT MATCHED THEN - INSERT VALUES (s.key, s.val) - WHEN MATCHED THEN - UPDATE set key = t.key + 1, val = t.val || ' updated by ' || s.val; - -step pa_merge2a: - MERGE INTO pa_target t - USING (SELECT 1 as key, 'pa_merge2a' as val) s - ON s.key = t.key - WHEN NOT MATCHED THEN - INSERT VALUES (s.key, s.val) - WHEN MATCHED THEN - UPDATE set key = t.key + 1, val = t.val || ' updated by ' || s.val - WHEN NOT MATCHED BY SOURCE THEN - UPDATE set key = t.key + 1, val = t.val || ' source not matched by pa_merge2a' - RETURNING merge_action(), old, new, t.*; - -step c1: COMMIT; -step pa_merge2a: <... completed> -ERROR: tuple to be locked was already moved to another partition due to concurrent update -step pa_select2: SELECT * FROM pa_target; -ERROR: current transaction is aborted, commands ignored until end of transaction block -step c2: COMMIT; - -starting permutation: pa_merge2 c1 pa_merge2a pa_select2 c2 -step pa_merge2: - MERGE INTO pa_target t - USING (SELECT 1 as key, 'pa_merge2' as val) s - ON s.key = t.key - WHEN NOT MATCHED THEN - INSERT VALUES (s.key, s.val) - WHEN MATCHED THEN - UPDATE set key = t.key + 1, val = t.val || ' updated by ' || s.val; - -step c1: COMMIT; -step pa_merge2a: - MERGE INTO pa_target t - USING (SELECT 1 as key, 'pa_merge2a' as val) s - ON s.key = t.key - WHEN NOT MATCHED THEN - INSERT VALUES (s.key, s.val) - WHEN MATCHED THEN - UPDATE set key = t.key + 1, val = t.val || ' updated by ' || s.val - WHEN NOT MATCHED BY SOURCE THEN - UPDATE set key = t.key + 1, val = t.val || ' source not matched by pa_merge2a' - RETURNING merge_action(), old, new, t.*; - -merge_action|old |new |key|val -------------+----------------------------------+-------------------------------------------------------------------+---+------------------------------------------------------------- -UPDATE |(2,initial) |(3,"initial source not matched by pa_merge2a") | 3|initial source not matched by pa_merge2a -UPDATE |(2,"initial updated by pa_merge2")|(3,"initial updated by pa_merge2 source not matched by pa_merge2a")| 3|initial updated by pa_merge2 source not matched by pa_merge2a -INSERT | |(1,pa_merge2a) | 1|pa_merge2a -(3 rows) - -step pa_select2: SELECT * FROM pa_target; -key|val ----+------------------------------------------------------------- - 1|pa_merge2a - 3|initial source not matched by pa_merge2a - 3|initial updated by pa_merge2 source not matched by pa_merge2a -(3 rows) - -step c2: COMMIT; - -starting permutation: pa_merge3 pa_merge2b_when c1 pa_select2 c2 -step pa_merge3: - MERGE INTO pa_target t - USING (SELECT 1 as key, 'pa_merge2' as val) s - ON s.key = t.key - WHEN NOT MATCHED THEN - INSERT VALUES (s.key, s.val) - WHEN MATCHED THEN - UPDATE set val = 'prefix ' || t.val; - -step pa_merge2b_when: - MERGE INTO pa_target t - USING (SELECT 1 as key, 'pa_merge2b_when' as val) s - ON s.key = t.key - WHEN NOT MATCHED THEN - INSERT VALUES (s.key, s.val) - WHEN MATCHED AND t.val like 'initial%' THEN - UPDATE set key = t.key + 1, val = t.val || ' updated by ' || s.val; - -step c1: COMMIT; -step pa_merge2b_when: <... completed> -step pa_select2: SELECT * FROM pa_target; -key|val ----+-------------- - 1|prefix initial - 2|initial -(2 rows) - -step c2: COMMIT; - -starting permutation: pa_merge1 pa_merge2b_when c1 pa_select2 c2 -step pa_merge1: - MERGE INTO pa_target t - USING (SELECT 1 as key, 'pa_merge1' as val) s - ON s.key = t.key - WHEN NOT MATCHED THEN - INSERT VALUES (s.key, s.val) - WHEN MATCHED THEN - UPDATE set val = t.val || ' updated by ' || s.val; - -step pa_merge2b_when: - MERGE INTO pa_target t - USING (SELECT 1 as key, 'pa_merge2b_when' as val) s - ON s.key = t.key - WHEN NOT MATCHED THEN - INSERT VALUES (s.key, s.val) - WHEN MATCHED AND t.val like 'initial%' THEN - UPDATE set key = t.key + 1, val = t.val || ' updated by ' || s.val; - -step c1: COMMIT; -step pa_merge2b_when: <... completed> -step pa_select2: SELECT * FROM pa_target; -key|val ----+------------------------------------------------------- - 2|initial - 2|initial updated by pa_merge1 updated by pa_merge2b_when -(2 rows) - -step c2: COMMIT; - -starting permutation: pa_merge1 pa_merge2c_dup c1 a2 -step pa_merge1: - MERGE INTO pa_target t - USING (SELECT 1 as key, 'pa_merge1' as val) s - ON s.key = t.key - WHEN NOT MATCHED THEN - INSERT VALUES (s.key, s.val) - WHEN MATCHED THEN - UPDATE set val = t.val || ' updated by ' || s.val; - -step pa_merge2c_dup: - MERGE INTO pa_target t - USING (VALUES (1), (1)) v(a) - ON t.key = v.a - WHEN MATCHED THEN - UPDATE set val = t.val || ' updated by pa_merge2c_dup'; -- should fail - -step c1: COMMIT; -step pa_merge2c_dup: <... completed> -ERROR: MERGE command cannot affect row a second time -step a2: ABORT; +setup failed: ERROR: heap tid from index tuple (128,5) points to unused heap page item at offset 172 of block 84 in index "pg_depend_reference_index" diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/merge-match-recheck.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/merge-match-recheck.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/merge-match-recheck.out 2025-08-23 05:04:11.944972704 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/merge-match-recheck.out 2025-08-23 05:09:23.031443572 +0000 @@ -1,358 +1,4 @@ Parsed test spec with 2 sessions starting permutation: update1 merge_status c2 select1 c1 -step update1: UPDATE target t SET balance = balance + 10, val = t.val || ' updated by update1' WHERE t.key = 1; -step merge_status: - MERGE INTO target t - USING (SELECT 1 as key) s - ON s.key = t.key - WHEN MATCHED AND status = 's1' THEN - UPDATE SET status = 's2', val = t.val || ' when1' - WHEN MATCHED AND status = 's2' THEN - UPDATE SET status = 's3', val = t.val || ' when2' - WHEN MATCHED AND status = 's3' THEN - UPDATE SET status = 's4', val = t.val || ' when3'; - -step c2: COMMIT; -step merge_status: <... completed> -step select1: SELECT * FROM target; -key|balance|status|val ----+-------+------+------------------------------ - 1| 170|s2 |setup updated by update1 when1 -(1 row) - -step c1: COMMIT; - -starting permutation: update1_tg merge_status_tg c2 select1_tg c1 -s2: NOTICE: Update: (1,160,s1,setup) -> (1,170,s1,"setup updated by update1_tg") -step update1_tg: UPDATE target_tg t SET balance = balance + 10, val = t.val || ' updated by update1_tg' WHERE t.key = 1; -step merge_status_tg: - MERGE INTO target_tg t - USING (SELECT 1 as key) s - ON s.key = t.key - WHEN MATCHED AND status = 's1' THEN - UPDATE SET status = 's2', val = t.val || ' when1' - WHEN MATCHED AND status = 's2' THEN - UPDATE SET status = 's3', val = t.val || ' when2' - WHEN MATCHED AND status = 's3' THEN - UPDATE SET status = 's4', val = t.val || ' when3'; - -step c2: COMMIT; -s1: NOTICE: Update: (1,170,s1,"setup updated by update1_tg") -> (1,170,s2,"setup updated by update1_tg when1") -step merge_status_tg: <... completed> -step select1_tg: SELECT * FROM target_tg; -key|balance|status|val ----+-------+------+--------------------------------- - 1| 170|s2 |setup updated by update1_tg when1 -(1 row) - -step c1: COMMIT; - -starting permutation: update2 merge_status c2 select1 c1 -step update2: UPDATE target t SET status = 's2', val = t.val || ' updated by update2' WHERE t.key = 1; -step merge_status: - MERGE INTO target t - USING (SELECT 1 as key) s - ON s.key = t.key - WHEN MATCHED AND status = 's1' THEN - UPDATE SET status = 's2', val = t.val || ' when1' - WHEN MATCHED AND status = 's2' THEN - UPDATE SET status = 's3', val = t.val || ' when2' - WHEN MATCHED AND status = 's3' THEN - UPDATE SET status = 's4', val = t.val || ' when3'; - -step c2: COMMIT; -step merge_status: <... completed> -step select1: SELECT * FROM target; -key|balance|status|val ----+-------+------+------------------------------ - 1| 160|s3 |setup updated by update2 when2 -(1 row) - -step c1: COMMIT; - -starting permutation: update2_tg merge_status_tg c2 select1_tg c1 -s2: NOTICE: Update: (1,160,s1,setup) -> (1,160,s2,"setup updated by update2_tg") -step update2_tg: UPDATE target_tg t SET status = 's2', val = t.val || ' updated by update2_tg' WHERE t.key = 1; -step merge_status_tg: - MERGE INTO target_tg t - USING (SELECT 1 as key) s - ON s.key = t.key - WHEN MATCHED AND status = 's1' THEN - UPDATE SET status = 's2', val = t.val || ' when1' - WHEN MATCHED AND status = 's2' THEN - UPDATE SET status = 's3', val = t.val || ' when2' - WHEN MATCHED AND status = 's3' THEN - UPDATE SET status = 's4', val = t.val || ' when3'; - -step c2: COMMIT; -s1: NOTICE: Update: (1,160,s2,"setup updated by update2_tg") -> (1,160,s3,"setup updated by update2_tg when2") -step merge_status_tg: <... completed> -step select1_tg: SELECT * FROM target_tg; -key|balance|status|val ----+-------+------+--------------------------------- - 1| 160|s3 |setup updated by update2_tg when2 -(1 row) - -step c1: COMMIT; - -starting permutation: update3 merge_status c2 select1 c1 -step update3: UPDATE target t SET status = 's3', val = t.val || ' updated by update3' WHERE t.key = 1; -step merge_status: - MERGE INTO target t - USING (SELECT 1 as key) s - ON s.key = t.key - WHEN MATCHED AND status = 's1' THEN - UPDATE SET status = 's2', val = t.val || ' when1' - WHEN MATCHED AND status = 's2' THEN - UPDATE SET status = 's3', val = t.val || ' when2' - WHEN MATCHED AND status = 's3' THEN - UPDATE SET status = 's4', val = t.val || ' when3'; - -step c2: COMMIT; -step merge_status: <... completed> -step select1: SELECT * FROM target; -key|balance|status|val ----+-------+------+------------------------------ - 1| 160|s4 |setup updated by update3 when3 -(1 row) - -step c1: COMMIT; - -starting permutation: update3_tg merge_status_tg c2 select1_tg c1 -s2: NOTICE: Update: (1,160,s1,setup) -> (1,160,s3,"setup updated by update3_tg") -step update3_tg: UPDATE target_tg t SET status = 's3', val = t.val || ' updated by update3_tg' WHERE t.key = 1; -step merge_status_tg: - MERGE INTO target_tg t - USING (SELECT 1 as key) s - ON s.key = t.key - WHEN MATCHED AND status = 's1' THEN - UPDATE SET status = 's2', val = t.val || ' when1' - WHEN MATCHED AND status = 's2' THEN - UPDATE SET status = 's3', val = t.val || ' when2' - WHEN MATCHED AND status = 's3' THEN - UPDATE SET status = 's4', val = t.val || ' when3'; - -step c2: COMMIT; -s1: NOTICE: Update: (1,160,s3,"setup updated by update3_tg") -> (1,160,s4,"setup updated by update3_tg when3") -step merge_status_tg: <... completed> -step select1_tg: SELECT * FROM target_tg; -key|balance|status|val ----+-------+------+--------------------------------- - 1| 160|s4 |setup updated by update3_tg when3 -(1 row) - -step c1: COMMIT; - -starting permutation: update5 merge_status c2 select1 c1 -step update5: UPDATE target t SET status = 's5', val = t.val || ' updated by update5' WHERE t.key = 1; -step merge_status: - MERGE INTO target t - USING (SELECT 1 as key) s - ON s.key = t.key - WHEN MATCHED AND status = 's1' THEN - UPDATE SET status = 's2', val = t.val || ' when1' - WHEN MATCHED AND status = 's2' THEN - UPDATE SET status = 's3', val = t.val || ' when2' - WHEN MATCHED AND status = 's3' THEN - UPDATE SET status = 's4', val = t.val || ' when3'; - -step c2: COMMIT; -step merge_status: <... completed> -step select1: SELECT * FROM target; -key|balance|status|val ----+-------+------+------------------------ - 1| 160|s5 |setup updated by update5 -(1 row) - -step c1: COMMIT; - -starting permutation: update5_tg merge_status_tg c2 select1_tg c1 -s2: NOTICE: Update: (1,160,s1,setup) -> (1,160,s5,"setup updated by update5_tg") -step update5_tg: UPDATE target_tg t SET status = 's5', val = t.val || ' updated by update5_tg' WHERE t.key = 1; -step merge_status_tg: - MERGE INTO target_tg t - USING (SELECT 1 as key) s - ON s.key = t.key - WHEN MATCHED AND status = 's1' THEN - UPDATE SET status = 's2', val = t.val || ' when1' - WHEN MATCHED AND status = 's2' THEN - UPDATE SET status = 's3', val = t.val || ' when2' - WHEN MATCHED AND status = 's3' THEN - UPDATE SET status = 's4', val = t.val || ' when3'; - -step c2: COMMIT; -step merge_status_tg: <... completed> -step select1_tg: SELECT * FROM target_tg; -key|balance|status|val ----+-------+------+--------------------------- - 1| 160|s5 |setup updated by update5_tg -(1 row) - -step c1: COMMIT; - -starting permutation: update_bal1 merge_bal c2 select1 c1 -step update_bal1: UPDATE target t SET balance = 50, val = t.val || ' updated by update_bal1' WHERE t.key = 1; -step merge_bal: - MERGE INTO target t - USING (SELECT 1 as key) s - ON s.key = t.key - WHEN MATCHED AND balance < 100 THEN - UPDATE SET balance = balance * 2, val = t.val || ' when1' - WHEN MATCHED AND balance < 200 THEN - UPDATE SET balance = balance * 4, val = t.val || ' when2' - WHEN MATCHED AND balance < 300 THEN - UPDATE SET balance = balance * 8, val = t.val || ' when3'; - -step c2: COMMIT; -step merge_bal: <... completed> -step select1: SELECT * FROM target; -key|balance|status|val ----+-------+------+---------------------------------- - 1| 100|s1 |setup updated by update_bal1 when1 -(1 row) - -step c1: COMMIT; - -starting permutation: update_bal1_pa merge_bal_pa c2 select1_pa c1 -step update_bal1_pa: UPDATE target_pa t SET balance = 50, val = t.val || ' updated by update_bal1_pa' WHERE t.key = 1; -step merge_bal_pa: - MERGE INTO target_pa t - USING (SELECT 1 as key) s - ON s.key = t.key - WHEN MATCHED AND balance < 100 THEN - UPDATE SET balance = balance * 2, val = t.val || ' when1' - WHEN MATCHED AND balance < 200 THEN - UPDATE SET balance = balance * 4, val = t.val || ' when2' - WHEN MATCHED AND balance < 300 THEN - UPDATE SET balance = balance * 8, val = t.val || ' when3'; - -step c2: COMMIT; -step merge_bal_pa: <... completed> -step select1_pa: SELECT * FROM target_pa; -key|balance|status|val ----+-------+------+------------------------------------- - 1| 100|s1 |setup updated by update_bal1_pa when1 -(1 row) - -step c1: COMMIT; - -starting permutation: update_bal1_tg merge_bal_tg c2 select1_tg c1 -s2: NOTICE: Update: (1,160,s1,setup) -> (1,50,s1,"setup updated by update_bal1_tg") -step update_bal1_tg: UPDATE target_tg t SET balance = 50, val = t.val || ' updated by update_bal1_tg' WHERE t.key = 1; -step merge_bal_tg: - WITH t AS ( - MERGE INTO target_tg t - USING (SELECT 1 as key) s - ON s.key = t.key - WHEN MATCHED AND balance < 100 THEN - UPDATE SET balance = balance * 2, val = t.val || ' when1' - WHEN MATCHED AND balance < 200 THEN - UPDATE SET balance = balance * 4, val = t.val || ' when2' - WHEN MATCHED AND balance < 300 THEN - UPDATE SET balance = balance * 8, val = t.val || ' when3' - RETURNING t.* - ) - SELECT * FROM t; - -step c2: COMMIT; -s1: NOTICE: Update: (1,50,s1,"setup updated by update_bal1_tg") -> (1,100,s1,"setup updated by update_bal1_tg when1") -step merge_bal_tg: <... completed> -key|balance|status|val ----+-------+------+------------------------------------- - 1| 100|s1 |setup updated by update_bal1_tg when1 -(1 row) - -step select1_tg: SELECT * FROM target_tg; -key|balance|status|val ----+-------+------+------------------------------------- - 1| 100|s1 |setup updated by update_bal1_tg when1 -(1 row) - -step c1: COMMIT; - -starting permutation: update1 merge_delete c2 select1 c1 -step update1: UPDATE target t SET balance = balance + 10, val = t.val || ' updated by update1' WHERE t.key = 1; -step merge_delete: - MERGE INTO target t - USING (SELECT 1 as key) s - ON s.key = t.key - WHEN MATCHED AND balance < 100 THEN - UPDATE SET balance = balance * 2, val = t.val || ' when1' - WHEN MATCHED AND balance < 200 THEN - DELETE; - -step c2: COMMIT; -step merge_delete: <... completed> -step select1: SELECT * FROM target; -key|balance|status|val ----+-------+------+--- -(0 rows) - -step c1: COMMIT; - -starting permutation: update1_tg merge_delete_tg c2 select1_tg c1 -s2: NOTICE: Update: (1,160,s1,setup) -> (1,170,s1,"setup updated by update1_tg") -step update1_tg: UPDATE target_tg t SET balance = balance + 10, val = t.val || ' updated by update1_tg' WHERE t.key = 1; -step merge_delete_tg: - MERGE INTO target_tg t - USING (SELECT 1 as key) s - ON s.key = t.key - WHEN MATCHED AND balance < 100 THEN - UPDATE SET balance = balance * 2, val = t.val || ' when1' - WHEN MATCHED AND balance < 200 THEN - DELETE; - -step c2: COMMIT; -s1: NOTICE: Delete: (1,170,s1,"setup updated by update1_tg") -step merge_delete_tg: <... completed> -step select1_tg: SELECT * FROM target_tg; -key|balance|status|val ----+-------+------+--- -(0 rows) - -step c1: COMMIT; - -starting permutation: update_bal1 merge_delete c2 select1 c1 -step update_bal1: UPDATE target t SET balance = 50, val = t.val || ' updated by update_bal1' WHERE t.key = 1; -step merge_delete: - MERGE INTO target t - USING (SELECT 1 as key) s - ON s.key = t.key - WHEN MATCHED AND balance < 100 THEN - UPDATE SET balance = balance * 2, val = t.val || ' when1' - WHEN MATCHED AND balance < 200 THEN - DELETE; - -step c2: COMMIT; -step merge_delete: <... completed> -step select1: SELECT * FROM target; -key|balance|status|val ----+-------+------+---------------------------------- - 1| 100|s1 |setup updated by update_bal1 when1 -(1 row) - -step c1: COMMIT; - -starting permutation: update_bal1_tg merge_delete_tg c2 select1_tg c1 -s2: NOTICE: Update: (1,160,s1,setup) -> (1,50,s1,"setup updated by update_bal1_tg") -step update_bal1_tg: UPDATE target_tg t SET balance = 50, val = t.val || ' updated by update_bal1_tg' WHERE t.key = 1; -step merge_delete_tg: - MERGE INTO target_tg t - USING (SELECT 1 as key) s - ON s.key = t.key - WHEN MATCHED AND balance < 100 THEN - UPDATE SET balance = balance * 2, val = t.val || ' when1' - WHEN MATCHED AND balance < 200 THEN - DELETE; - -step c2: COMMIT; -s1: NOTICE: Update: (1,50,s1,"setup updated by update_bal1_tg") -> (1,100,s1,"setup updated by update_bal1_tg when1") -step merge_delete_tg: <... completed> -step select1_tg: SELECT * FROM target_tg; -key|balance|status|val ----+-------+------+------------------------------------- - 1| 100|s1 |setup updated by update_bal1_tg when1 -(1 row) - -step c1: COMMIT; +setup failed: ERROR: heap tid from index tuple (128,5) points to unused heap page item at offset 172 of block 84 in index "pg_depend_reference_index" diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/merge-join.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/merge-join.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/merge-join.out 2025-08-23 05:04:11.944972704 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/merge-join.out 2025-08-23 05:09:23.107443393 +0000 @@ -1,148 +1,4 @@ Parsed test spec with 2 sessions - -starting permutation: b1 m1 s1 c1 b2 m2 s2 c2 -step b1: BEGIN ISOLATION LEVEL READ COMMITTED; -step m1: MERGE INTO tgt USING src ON tgt.id = src.id - WHEN MATCHED THEN UPDATE SET val = src.val - WHEN NOT MATCHED THEN INSERT VALUES (src.id, src.val); -step s1: SELECT * FROM tgt; -id|val ---+--- - 1| 10 - 2| 20 - 3| 30 -(3 rows) - -step c1: COMMIT; -step b2: BEGIN ISOLATION LEVEL READ COMMITTED; -step m2: MERGE INTO tgt USING src ON tgt.id = src.id - WHEN MATCHED THEN UPDATE SET val = src.val - WHEN NOT MATCHED THEN INSERT VALUES (src.id, src.val); -step s2: SELECT * FROM tgt; -id|val ---+--- - 1| 10 - 2| 20 - 3| 30 -(3 rows) - -step c2: COMMIT; - -starting permutation: b1 b2 m1 hj ex m2 c1 c2 s1 -step b1: BEGIN ISOLATION LEVEL READ COMMITTED; -step b2: BEGIN ISOLATION LEVEL READ COMMITTED; -step m1: MERGE INTO tgt USING src ON tgt.id = src.id - WHEN MATCHED THEN UPDATE SET val = src.val - WHEN NOT MATCHED THEN INSERT VALUES (src.id, src.val); -step hj: SET LOCAL enable_mergejoin = off; SET LOCAL enable_nestloop = off; -step ex: EXPLAIN (verbose, costs off) - MERGE INTO tgt USING src ON tgt.id = src.id - WHEN MATCHED THEN UPDATE SET val = src.val - WHEN NOT MATCHED THEN INSERT VALUES (src.id, src.val); -QUERY PLAN ---------------------------------------------------- -Merge on public.tgt - -> Hash Left Join - Output: tgt.ctid, src.val, src.id, src.ctid - Inner Unique: true - Hash Cond: (src.id = tgt.id) - -> Seq Scan on public.src - Output: src.val, src.id, src.ctid - -> Hash - Output: tgt.ctid, tgt.id - -> Seq Scan on public.tgt - Output: tgt.ctid, tgt.id -(11 rows) - -step m2: MERGE INTO tgt USING src ON tgt.id = src.id - WHEN MATCHED THEN UPDATE SET val = src.val - WHEN NOT MATCHED THEN INSERT VALUES (src.id, src.val); -step c1: COMMIT; -step m2: <... completed> -step c2: COMMIT; -step s1: SELECT * FROM tgt; -id|val ---+--- - 1| 10 - 2| 20 - 3| 30 -(3 rows) - - -starting permutation: b1 b2 m1 mj ex m2 c1 c2 s1 -step b1: BEGIN ISOLATION LEVEL READ COMMITTED; -step b2: BEGIN ISOLATION LEVEL READ COMMITTED; -step m1: MERGE INTO tgt USING src ON tgt.id = src.id - WHEN MATCHED THEN UPDATE SET val = src.val - WHEN NOT MATCHED THEN INSERT VALUES (src.id, src.val); -step mj: SET LOCAL enable_hashjoin = off; SET LOCAL enable_nestloop = off; -step ex: EXPLAIN (verbose, costs off) - MERGE INTO tgt USING src ON tgt.id = src.id - WHEN MATCHED THEN UPDATE SET val = src.val - WHEN NOT MATCHED THEN INSERT VALUES (src.id, src.val); -QUERY PLAN ---------------------------------------------------- -Merge on public.tgt - -> Merge Left Join - Output: tgt.ctid, src.val, src.id, src.ctid - Inner Unique: true - Merge Cond: (src.id = tgt.id) - -> Index Scan using src_pkey on public.src - Output: src.val, src.id, src.ctid - -> Index Scan using tgt_pkey on public.tgt - Output: tgt.ctid, tgt.id -(9 rows) - -step m2: MERGE INTO tgt USING src ON tgt.id = src.id - WHEN MATCHED THEN UPDATE SET val = src.val - WHEN NOT MATCHED THEN INSERT VALUES (src.id, src.val); -step c1: COMMIT; -step m2: <... completed> -step c2: COMMIT; -step s1: SELECT * FROM tgt; -id|val ---+--- - 1| 10 - 2| 20 - 3| 30 -(3 rows) - - -starting permutation: b1 b2 m1 nl ex m2 c1 c2 s1 -step b1: BEGIN ISOLATION LEVEL READ COMMITTED; -step b2: BEGIN ISOLATION LEVEL READ COMMITTED; -step m1: MERGE INTO tgt USING src ON tgt.id = src.id - WHEN MATCHED THEN UPDATE SET val = src.val - WHEN NOT MATCHED THEN INSERT VALUES (src.id, src.val); -step nl: SET LOCAL enable_hashjoin = off; SET LOCAL enable_mergejoin = off; -step ex: EXPLAIN (verbose, costs off) - MERGE INTO tgt USING src ON tgt.id = src.id - WHEN MATCHED THEN UPDATE SET val = src.val - WHEN NOT MATCHED THEN INSERT VALUES (src.id, src.val); -QUERY PLAN ---------------------------------------------------- -Merge on public.tgt - -> Nested Loop Left Join - Output: tgt.ctid, src.val, src.id, src.ctid - Inner Unique: true - -> Seq Scan on public.src - Output: src.val, src.id, src.ctid - -> Index Scan using tgt_pkey on public.tgt - Output: tgt.ctid, tgt.id - Index Cond: (tgt.id = src.id) -(9 rows) - -step m2: MERGE INTO tgt USING src ON tgt.id = src.id - WHEN MATCHED THEN UPDATE SET val = src.val - WHEN NOT MATCHED THEN INSERT VALUES (src.id, src.val); -step c1: COMMIT; -step m2: <... completed> -step c2: COMMIT; -step s1: SELECT * FROM tgt; -id|val ---+--- - 1| 10 - 2| 20 - 3| 30 -(3 rows) - +Connection 2 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: server closed the connection unexpectedly + This probably means the server terminated abnormally + before or while processing the request. diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/delete-abort-savept.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/delete-abort-savept.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/delete-abort-savept.out 2025-08-23 05:04:11.940977803 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/delete-abort-savept.out 2025-08-23 05:09:23.263443027 +0000 @@ -1,139 +1,3 @@ Parsed test spec with 2 sessions - -starting permutation: s1l s1svp s1d s1r s1c s2l s2c -step s1l: SELECT * FROM foo FOR KEY SHARE; -key|value ----+----- - 1| 1 -(1 row) - -step s1svp: SAVEPOINT f; -step s1d: DELETE FROM foo; -step s1r: ROLLBACK TO f; -step s1c: COMMIT; -step s2l: SELECT * FROM foo FOR UPDATE; -key|value ----+----- - 1| 1 -(1 row) - -step s2c: COMMIT; - -starting permutation: s1l s1svp s1d s1r s2l s1c s2c -step s1l: SELECT * FROM foo FOR KEY SHARE; -key|value ----+----- - 1| 1 -(1 row) - -step s1svp: SAVEPOINT f; -step s1d: DELETE FROM foo; -step s1r: ROLLBACK TO f; -step s2l: SELECT * FROM foo FOR UPDATE; -step s1c: COMMIT; -step s2l: <... completed> -key|value ----+----- - 1| 1 -(1 row) - -step s2c: COMMIT; - -starting permutation: s1l s1svp s1d s2l s1r s1c s2c -step s1l: SELECT * FROM foo FOR KEY SHARE; -key|value ----+----- - 1| 1 -(1 row) - -step s1svp: SAVEPOINT f; -step s1d: DELETE FROM foo; -step s2l: SELECT * FROM foo FOR UPDATE; -step s1r: ROLLBACK TO f; -step s1c: COMMIT; -step s2l: <... completed> -key|value ----+----- - 1| 1 -(1 row) - -step s2c: COMMIT; - -starting permutation: s1l s1svp s2l s1d s1r s1c s2c -step s1l: SELECT * FROM foo FOR KEY SHARE; -key|value ----+----- - 1| 1 -(1 row) - -step s1svp: SAVEPOINT f; -step s2l: SELECT * FROM foo FOR UPDATE; -step s1d: DELETE FROM foo; -step s1r: ROLLBACK TO f; -step s1c: COMMIT; -step s2l: <... completed> -key|value ----+----- - 1| 1 -(1 row) - -step s2c: COMMIT; - -starting permutation: s1l s2l s1svp s1d s1r s1c s2c -step s1l: SELECT * FROM foo FOR KEY SHARE; -key|value ----+----- - 1| 1 -(1 row) - -step s2l: SELECT * FROM foo FOR UPDATE; -step s1svp: SAVEPOINT f; -step s1d: DELETE FROM foo; -step s1r: ROLLBACK TO f; -step s1c: COMMIT; -step s2l: <... completed> -key|value ----+----- - 1| 1 -(1 row) - -step s2c: COMMIT; - -starting permutation: s2l s1l s2c s1svp s1d s1r s1c -step s2l: SELECT * FROM foo FOR UPDATE; -key|value ----+----- - 1| 1 -(1 row) - -step s1l: SELECT * FROM foo FOR KEY SHARE; -step s2c: COMMIT; -step s1l: <... completed> -key|value ----+----- - 1| 1 -(1 row) - -step s1svp: SAVEPOINT f; -step s1d: DELETE FROM foo; -step s1r: ROLLBACK TO f; -step s1c: COMMIT; - -starting permutation: s2l s2c s1l s1svp s1d s1r s1c -step s2l: SELECT * FROM foo FOR UPDATE; -key|value ----+----- - 1| 1 -(1 row) - -step s2c: COMMIT; -step s1l: SELECT * FROM foo FOR KEY SHARE; -key|value ----+----- - 1| 1 -(1 row) - -step s1svp: SAVEPOINT f; -step s1d: DELETE FROM foo; -step s1r: ROLLBACK TO f; -step s1c: COMMIT; +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/delete-abort-savept-2.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/delete-abort-savept-2.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/delete-abort-savept-2.out 2025-08-23 05:04:11.936982902 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/delete-abort-savept-2.out 2025-08-23 05:09:23.331442867 +0000 @@ -1,100 +1,3 @@ Parsed test spec with 2 sessions - -starting permutation: s1l s1svp s1d s1r s2l s1c s2c -step s1l: SELECT * FROM foo FOR KEY SHARE; -key|value ----+----- - 1| 1 -(1 row) - -step s1svp: SAVEPOINT f; -step s1d: SELECT * FROM foo FOR NO KEY UPDATE; -key|value ----+----- - 1| 1 -(1 row) - -step s1r: ROLLBACK TO f; -step s2l: SELECT * FROM foo FOR UPDATE; -step s1c: COMMIT; -step s2l: <... completed> -key|value ----+----- - 1| 1 -(1 row) - -step s2c: COMMIT; - -starting permutation: s1l s1svp s1d s2l s1r s1c s2c -step s1l: SELECT * FROM foo FOR KEY SHARE; -key|value ----+----- - 1| 1 -(1 row) - -step s1svp: SAVEPOINT f; -step s1d: SELECT * FROM foo FOR NO KEY UPDATE; -key|value ----+----- - 1| 1 -(1 row) - -step s2l: SELECT * FROM foo FOR UPDATE; -step s1r: ROLLBACK TO f; -step s1c: COMMIT; -step s2l: <... completed> -key|value ----+----- - 1| 1 -(1 row) - -step s2c: COMMIT; - -starting permutation: s1l s1svp s1d s1r s2l2 s1c s2c -step s1l: SELECT * FROM foo FOR KEY SHARE; -key|value ----+----- - 1| 1 -(1 row) - -step s1svp: SAVEPOINT f; -step s1d: SELECT * FROM foo FOR NO KEY UPDATE; -key|value ----+----- - 1| 1 -(1 row) - -step s1r: ROLLBACK TO f; -step s2l2: SELECT * FROM foo FOR NO KEY UPDATE; -key|value ----+----- - 1| 1 -(1 row) - -step s1c: COMMIT; -step s2c: COMMIT; - -starting permutation: s1l s1svp s1d s2l2 s1r s1c s2c -step s1l: SELECT * FROM foo FOR KEY SHARE; -key|value ----+----- - 1| 1 -(1 row) - -step s1svp: SAVEPOINT f; -step s1d: SELECT * FROM foo FOR NO KEY UPDATE; -key|value ----+----- - 1| 1 -(1 row) - -step s2l2: SELECT * FROM foo FOR NO KEY UPDATE; -step s1r: ROLLBACK TO f; -step s2l2: <... completed> -key|value ----+----- - 1| 1 -(1 row) - -step s1c: COMMIT; -step s2c: COMMIT; +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/aborted-keyrevoke.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/aborted-keyrevoke.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/aborted-keyrevoke.out 2025-08-23 05:04:11.936982902 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/aborted-keyrevoke.out 2025-08-23 05:09:23.395442717 +0000 @@ -1,272 +1,3 @@ Parsed test spec with 2 sessions - -starting permutation: s1s s1u s1r s1l s1c s2l s2c -step s1s: SAVEPOINT f; -step s1u: UPDATE foo SET key = 2; -step s1r: ROLLBACK TO f; -step s1l: SELECT * FROM foo FOR KEY SHARE; -key|value ----+----- - 1| 1 -(1 row) - -step s1c: COMMIT; -step s2l: SELECT * FROM foo FOR KEY SHARE; -key|value ----+----- - 1| 1 -(1 row) - -step s2c: COMMIT; - -starting permutation: s1s s1u s1r s1l s2l s1c s2c -step s1s: SAVEPOINT f; -step s1u: UPDATE foo SET key = 2; -step s1r: ROLLBACK TO f; -step s1l: SELECT * FROM foo FOR KEY SHARE; -key|value ----+----- - 1| 1 -(1 row) - -step s2l: SELECT * FROM foo FOR KEY SHARE; -key|value ----+----- - 1| 1 -(1 row) - -step s1c: COMMIT; -step s2c: COMMIT; - -starting permutation: s1s s1u s1r s1l s2l s2c s1c -step s1s: SAVEPOINT f; -step s1u: UPDATE foo SET key = 2; -step s1r: ROLLBACK TO f; -step s1l: SELECT * FROM foo FOR KEY SHARE; -key|value ----+----- - 1| 1 -(1 row) - -step s2l: SELECT * FROM foo FOR KEY SHARE; -key|value ----+----- - 1| 1 -(1 row) - -step s2c: COMMIT; -step s1c: COMMIT; - -starting permutation: s1s s1u s1r s2l s1l s1c s2c -step s1s: SAVEPOINT f; -step s1u: UPDATE foo SET key = 2; -step s1r: ROLLBACK TO f; -step s2l: SELECT * FROM foo FOR KEY SHARE; -key|value ----+----- - 1| 1 -(1 row) - -step s1l: SELECT * FROM foo FOR KEY SHARE; -key|value ----+----- - 1| 1 -(1 row) - -step s1c: COMMIT; -step s2c: COMMIT; - -starting permutation: s1s s1u s1r s2l s1l s2c s1c -step s1s: SAVEPOINT f; -step s1u: UPDATE foo SET key = 2; -step s1r: ROLLBACK TO f; -step s2l: SELECT * FROM foo FOR KEY SHARE; -key|value ----+----- - 1| 1 -(1 row) - -step s1l: SELECT * FROM foo FOR KEY SHARE; -key|value ----+----- - 1| 1 -(1 row) - -step s2c: COMMIT; -step s1c: COMMIT; - -starting permutation: s1s s1u s1r s2l s2c s1l s1c -step s1s: SAVEPOINT f; -step s1u: UPDATE foo SET key = 2; -step s1r: ROLLBACK TO f; -step s2l: SELECT * FROM foo FOR KEY SHARE; -key|value ----+----- - 1| 1 -(1 row) - -step s2c: COMMIT; -step s1l: SELECT * FROM foo FOR KEY SHARE; -key|value ----+----- - 1| 1 -(1 row) - -step s1c: COMMIT; - -starting permutation: s1s s1u s2l s1r s1l s1c s2c -step s1s: SAVEPOINT f; -step s1u: UPDATE foo SET key = 2; -step s2l: SELECT * FROM foo FOR KEY SHARE; -step s1r: ROLLBACK TO f; -step s2l: <... completed> -key|value ----+----- - 1| 1 -(1 row) - -step s1l: SELECT * FROM foo FOR KEY SHARE; -key|value ----+----- - 1| 1 -(1 row) - -step s1c: COMMIT; -step s2c: COMMIT; - -starting permutation: s1s s1u s2l s1r s1l s2c s1c -step s1s: SAVEPOINT f; -step s1u: UPDATE foo SET key = 2; -step s2l: SELECT * FROM foo FOR KEY SHARE; -step s1r: ROLLBACK TO f; -step s2l: <... completed> -key|value ----+----- - 1| 1 -(1 row) - -step s1l: SELECT * FROM foo FOR KEY SHARE; -key|value ----+----- - 1| 1 -(1 row) - -step s2c: COMMIT; -step s1c: COMMIT; - -starting permutation: s1s s1u s2l s1r s2c s1l s1c -step s1s: SAVEPOINT f; -step s1u: UPDATE foo SET key = 2; -step s2l: SELECT * FROM foo FOR KEY SHARE; -step s1r: ROLLBACK TO f; -step s2l: <... completed> -key|value ----+----- - 1| 1 -(1 row) - -step s2c: COMMIT; -step s1l: SELECT * FROM foo FOR KEY SHARE; -key|value ----+----- - 1| 1 -(1 row) - -step s1c: COMMIT; - -starting permutation: s1s s2l s1u s2c s1r s1l s1c -step s1s: SAVEPOINT f; -step s2l: SELECT * FROM foo FOR KEY SHARE; -key|value ----+----- - 1| 1 -(1 row) - -step s1u: UPDATE foo SET key = 2; -step s2c: COMMIT; -step s1u: <... completed> -step s1r: ROLLBACK TO f; -step s1l: SELECT * FROM foo FOR KEY SHARE; -key|value ----+----- - 1| 1 -(1 row) - -step s1c: COMMIT; - -starting permutation: s1s s2l s2c s1u s1r s1l s1c -step s1s: SAVEPOINT f; -step s2l: SELECT * FROM foo FOR KEY SHARE; -key|value ----+----- - 1| 1 -(1 row) - -step s2c: COMMIT; -step s1u: UPDATE foo SET key = 2; -step s1r: ROLLBACK TO f; -step s1l: SELECT * FROM foo FOR KEY SHARE; -key|value ----+----- - 1| 1 -(1 row) - -step s1c: COMMIT; - -starting permutation: s2l s1s s1u s2c s1r s1l s1c -step s2l: SELECT * FROM foo FOR KEY SHARE; -key|value ----+----- - 1| 1 -(1 row) - -step s1s: SAVEPOINT f; -step s1u: UPDATE foo SET key = 2; -step s2c: COMMIT; -step s1u: <... completed> -step s1r: ROLLBACK TO f; -step s1l: SELECT * FROM foo FOR KEY SHARE; -key|value ----+----- - 1| 1 -(1 row) - -step s1c: COMMIT; - -starting permutation: s2l s1s s2c s1u s1r s1l s1c -step s2l: SELECT * FROM foo FOR KEY SHARE; -key|value ----+----- - 1| 1 -(1 row) - -step s1s: SAVEPOINT f; -step s2c: COMMIT; -step s1u: UPDATE foo SET key = 2; -step s1r: ROLLBACK TO f; -step s1l: SELECT * FROM foo FOR KEY SHARE; -key|value ----+----- - 1| 1 -(1 row) - -step s1c: COMMIT; - -starting permutation: s2l s2c s1s s1u s1r s1l s1c -step s2l: SELECT * FROM foo FOR KEY SHARE; -key|value ----+----- - 1| 1 -(1 row) - -step s2c: COMMIT; -step s1s: SAVEPOINT f; -step s1u: UPDATE foo SET key = 2; -step s1r: ROLLBACK TO f; -step s1l: SELECT * FROM foo FOR KEY SHARE; -key|value ----+----- - 1| 1 -(1 row) - -step s1c: COMMIT; +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/multixact-no-deadlock.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/multixact-no-deadlock.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/multixact-no-deadlock.out 2025-08-23 05:04:11.944972704 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/multixact-no-deadlock.out 2025-08-23 05:09:23.459442568 +0000 @@ -1,32 +1,3 @@ Parsed test spec with 3 sessions - -starting permutation: s1lock s2lock s1svpt s3lock s1lock2 s2c s1c s3c -step s1lock: SELECT * FROM justthis FOR SHARE; -value ------ - 1 -(1 row) - -step s2lock: SELECT * FROM justthis FOR SHARE; -value ------ - 1 -(1 row) - -step s1svpt: SAVEPOINT foo; -step s3lock: SELECT * FROM justthis FOR UPDATE; -step s1lock2: SELECT * FROM justthis FOR SHARE; -value ------ - 1 -(1 row) - -step s2c: COMMIT; -step s1c: COMMIT; -step s3lock: <... completed> -value ------ - 1 -(1 row) - -step s3c: COMMIT; +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/multixact-no-forget_1.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/multixact-no-forget.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/multixact-no-forget_1.out 2025-08-23 05:04:11.944972704 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/multixact-no-forget.out 2025-08-23 05:09:23.543442370 +0000 @@ -1,160 +1,3 @@ Parsed test spec with 3 sessions - -starting permutation: s1_show s1_commit s2_commit -step s1_show: SELECT current_setting('default_transaction_isolation') <> 'read committed'; -?column? --------- -t -(1 row) - -step s1_commit: COMMIT; -step s2_commit: COMMIT; - -starting permutation: s1_lock s2_update s2_abort s3_forkeyshr s1_commit -step s1_lock: SELECT * FROM dont_forget FOR KEY SHARE; -value ------ - 1 -(1 row) - -step s2_update: UPDATE dont_forget SET value = 2; -step s2_abort: ROLLBACK; -step s3_forkeyshr: SELECT * FROM dont_forget FOR KEY SHARE; -value ------ - 1 -(1 row) - -step s1_commit: COMMIT; - -starting permutation: s1_lock s2_update s2_commit s3_forkeyshr s1_commit -step s1_lock: SELECT * FROM dont_forget FOR KEY SHARE; -value ------ - 1 -(1 row) - -step s2_update: UPDATE dont_forget SET value = 2; -step s2_commit: COMMIT; -step s3_forkeyshr: SELECT * FROM dont_forget FOR KEY SHARE; -value ------ - 2 -(1 row) - -step s1_commit: COMMIT; - -starting permutation: s1_lock s2_update s1_commit s3_forkeyshr s2_commit -step s1_lock: SELECT * FROM dont_forget FOR KEY SHARE; -value ------ - 1 -(1 row) - -step s2_update: UPDATE dont_forget SET value = 2; -step s1_commit: COMMIT; -step s3_forkeyshr: SELECT * FROM dont_forget FOR KEY SHARE; -value ------ - 1 -(1 row) - -step s2_commit: COMMIT; - -starting permutation: s1_lock s2_update s2_abort s3_fornokeyupd s1_commit -step s1_lock: SELECT * FROM dont_forget FOR KEY SHARE; -value ------ - 1 -(1 row) - -step s2_update: UPDATE dont_forget SET value = 2; -step s2_abort: ROLLBACK; -step s3_fornokeyupd: SELECT * FROM dont_forget FOR NO KEY UPDATE; -value ------ - 1 -(1 row) - -step s1_commit: COMMIT; - -starting permutation: s1_lock s2_update s2_commit s3_fornokeyupd s1_commit -step s1_lock: SELECT * FROM dont_forget FOR KEY SHARE; -value ------ - 1 -(1 row) - -step s2_update: UPDATE dont_forget SET value = 2; -step s2_commit: COMMIT; -step s3_fornokeyupd: SELECT * FROM dont_forget FOR NO KEY UPDATE; -value ------ - 2 -(1 row) - -step s1_commit: COMMIT; - -starting permutation: s1_lock s2_update s1_commit s3_fornokeyupd s2_commit -step s1_lock: SELECT * FROM dont_forget FOR KEY SHARE; -value ------ - 1 -(1 row) - -step s2_update: UPDATE dont_forget SET value = 2; -step s1_commit: COMMIT; -step s3_fornokeyupd: SELECT * FROM dont_forget FOR NO KEY UPDATE; -step s2_commit: COMMIT; -step s3_fornokeyupd: <... completed> -ERROR: could not serialize access due to concurrent update - -starting permutation: s1_lock s2_update s2_abort s3_forupd s1_commit -step s1_lock: SELECT * FROM dont_forget FOR KEY SHARE; -value ------ - 1 -(1 row) - -step s2_update: UPDATE dont_forget SET value = 2; -step s2_abort: ROLLBACK; -step s3_forupd: SELECT * FROM dont_forget FOR UPDATE; -step s1_commit: COMMIT; -step s3_forupd: <... completed> -value ------ - 1 -(1 row) - - -starting permutation: s1_lock s2_update s2_commit s3_forupd s1_commit -step s1_lock: SELECT * FROM dont_forget FOR KEY SHARE; -value ------ - 1 -(1 row) - -step s2_update: UPDATE dont_forget SET value = 2; -step s2_commit: COMMIT; -step s3_forupd: SELECT * FROM dont_forget FOR UPDATE; -step s1_commit: COMMIT; -step s3_forupd: <... completed> -value ------ - 2 -(1 row) - - -starting permutation: s1_lock s2_update s1_commit s3_forupd s2_commit -step s1_lock: SELECT * FROM dont_forget FOR KEY SHARE; -value ------ - 1 -(1 row) - -step s2_update: UPDATE dont_forget SET value = 2; -step s1_commit: COMMIT; -step s3_forupd: SELECT * FROM dont_forget FOR UPDATE; -step s2_commit: COMMIT; -step s3_forupd: <... completed> -ERROR: could not serialize access due to concurrent update +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/lock-committed-update.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/lock-committed-update.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/lock-committed-update.out 2025-08-23 05:04:11.944972704 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/lock-committed-update.out 2025-08-23 05:09:23.667442079 +0000 @@ -1,931 +1,3 @@ Parsed test spec with 2 sessions - -starting permutation: s1b s2b1 s1l s2l s1u s1c s1ul s2c -step s1b: BEGIN; -step s2b1: BEGIN ISOLATION LEVEL READ COMMITTED; -step s1l: SELECT pg_advisory_lock(380170116); -pg_advisory_lock ----------------- - -(1 row) - -step s2l: SELECT * FROM lcu_table WHERE pg_advisory_lock(380170116) IS NOT NULL FOR KEY SHARE; -step s1u: UPDATE lcu_table SET value = 'two' WHERE id = 1; -step s1c: COMMIT; -step s1ul: SELECT pg_advisory_unlock(380170116); -pg_advisory_unlock ------------------- -t -(1 row) - -step s2l: <... completed> -id|value ---+----- - 1|one -(1 row) - -step s2c: COMMIT; -pg_advisory_unlock_all ----------------------- - -(1 row) - -pg_advisory_unlock_all ----------------------- - -(1 row) - - -starting permutation: s1b s2b1 s1l s1u s2l s1c s1ul s2c -step s1b: BEGIN; -step s2b1: BEGIN ISOLATION LEVEL READ COMMITTED; -step s1l: SELECT pg_advisory_lock(380170116); -pg_advisory_lock ----------------- - -(1 row) - -step s1u: UPDATE lcu_table SET value = 'two' WHERE id = 1; -step s2l: SELECT * FROM lcu_table WHERE pg_advisory_lock(380170116) IS NOT NULL FOR KEY SHARE; -step s1c: COMMIT; -step s1ul: SELECT pg_advisory_unlock(380170116); -pg_advisory_unlock ------------------- -t -(1 row) - -step s2l: <... completed> -id|value ---+----- - 1|one -(1 row) - -step s2c: COMMIT; -pg_advisory_unlock_all ----------------------- - -(1 row) - -pg_advisory_unlock_all ----------------------- - -(1 row) - - -starting permutation: s1b s2b1 s1l s2l s1ul s1u s1c s2c -step s1b: BEGIN; -step s2b1: BEGIN ISOLATION LEVEL READ COMMITTED; -step s1l: SELECT pg_advisory_lock(380170116); -pg_advisory_lock ----------------- - -(1 row) - -step s2l: SELECT * FROM lcu_table WHERE pg_advisory_lock(380170116) IS NOT NULL FOR KEY SHARE; -step s1ul: SELECT pg_advisory_unlock(380170116); -pg_advisory_unlock ------------------- -t -(1 row) - -step s2l: <... completed> -id|value ---+----- - 1|one -(1 row) - -step s1u: UPDATE lcu_table SET value = 'two' WHERE id = 1; -step s1c: COMMIT; -step s2c: COMMIT; -pg_advisory_unlock_all ----------------------- - -(1 row) - -pg_advisory_unlock_all ----------------------- - -(1 row) - - -starting permutation: s1b s2b1 s1l s1u s1ul s2l s1c s2c -step s1b: BEGIN; -step s2b1: BEGIN ISOLATION LEVEL READ COMMITTED; -step s1l: SELECT pg_advisory_lock(380170116); -pg_advisory_lock ----------------- - -(1 row) - -step s1u: UPDATE lcu_table SET value = 'two' WHERE id = 1; -step s1ul: SELECT pg_advisory_unlock(380170116); -pg_advisory_unlock ------------------- -t -(1 row) - -step s2l: SELECT * FROM lcu_table WHERE pg_advisory_lock(380170116) IS NOT NULL FOR KEY SHARE; -id|value ---+----- - 1|one -(1 row) - -step s1c: COMMIT; -step s2c: COMMIT; -pg_advisory_unlock_all ----------------------- - -(1 row) - -pg_advisory_unlock_all ----------------------- - -(1 row) - - -starting permutation: s1b s2b1 s1l s2l s1u s1c s1hint s1ul s2c -step s1b: BEGIN; -step s2b1: BEGIN ISOLATION LEVEL READ COMMITTED; -step s1l: SELECT pg_advisory_lock(380170116); -pg_advisory_lock ----------------- - -(1 row) - -step s2l: SELECT * FROM lcu_table WHERE pg_advisory_lock(380170116) IS NOT NULL FOR KEY SHARE; -step s1u: UPDATE lcu_table SET value = 'two' WHERE id = 1; -step s1c: COMMIT; -step s1hint: SELECT * FROM lcu_table; -id|value ---+----- - 1|two -(1 row) - -step s1ul: SELECT pg_advisory_unlock(380170116); -pg_advisory_unlock ------------------- -t -(1 row) - -step s2l: <... completed> -id|value ---+----- - 1|one -(1 row) - -step s2c: COMMIT; -pg_advisory_unlock_all ----------------------- - -(1 row) - -pg_advisory_unlock_all ----------------------- - -(1 row) - - -starting permutation: s1b s2b1 s1l s1u s2l s1c s1hint s1ul s2c -step s1b: BEGIN; -step s2b1: BEGIN ISOLATION LEVEL READ COMMITTED; -step s1l: SELECT pg_advisory_lock(380170116); -pg_advisory_lock ----------------- - -(1 row) - -step s1u: UPDATE lcu_table SET value = 'two' WHERE id = 1; -step s2l: SELECT * FROM lcu_table WHERE pg_advisory_lock(380170116) IS NOT NULL FOR KEY SHARE; -step s1c: COMMIT; -step s1hint: SELECT * FROM lcu_table; -id|value ---+----- - 1|two -(1 row) - -step s1ul: SELECT pg_advisory_unlock(380170116); -pg_advisory_unlock ------------------- -t -(1 row) - -step s2l: <... completed> -id|value ---+----- - 1|one -(1 row) - -step s2c: COMMIT; -pg_advisory_unlock_all ----------------------- - -(1 row) - -pg_advisory_unlock_all ----------------------- - -(1 row) - - -starting permutation: s1b s2b1 s1l s2l s1ul s1u s1c s1hint s2c -step s1b: BEGIN; -step s2b1: BEGIN ISOLATION LEVEL READ COMMITTED; -step s1l: SELECT pg_advisory_lock(380170116); -pg_advisory_lock ----------------- - -(1 row) - -step s2l: SELECT * FROM lcu_table WHERE pg_advisory_lock(380170116) IS NOT NULL FOR KEY SHARE; -step s1ul: SELECT pg_advisory_unlock(380170116); -pg_advisory_unlock ------------------- -t -(1 row) - -step s2l: <... completed> -id|value ---+----- - 1|one -(1 row) - -step s1u: UPDATE lcu_table SET value = 'two' WHERE id = 1; -step s1c: COMMIT; -step s1hint: SELECT * FROM lcu_table; -id|value ---+----- - 1|two -(1 row) - -step s2c: COMMIT; -pg_advisory_unlock_all ----------------------- - -(1 row) - -pg_advisory_unlock_all ----------------------- - -(1 row) - - -starting permutation: s1b s2b1 s1l s1u s1ul s2l s1c s1hint s2c -step s1b: BEGIN; -step s2b1: BEGIN ISOLATION LEVEL READ COMMITTED; -step s1l: SELECT pg_advisory_lock(380170116); -pg_advisory_lock ----------------- - -(1 row) - -step s1u: UPDATE lcu_table SET value = 'two' WHERE id = 1; -step s1ul: SELECT pg_advisory_unlock(380170116); -pg_advisory_unlock ------------------- -t -(1 row) - -step s2l: SELECT * FROM lcu_table WHERE pg_advisory_lock(380170116) IS NOT NULL FOR KEY SHARE; -id|value ---+----- - 1|one -(1 row) - -step s1c: COMMIT; -step s1hint: SELECT * FROM lcu_table; -id|value ---+----- - 1|two -(1 row) - -step s2c: COMMIT; -pg_advisory_unlock_all ----------------------- - -(1 row) - -pg_advisory_unlock_all ----------------------- - -(1 row) - - -starting permutation: s1b s2b2 s1l s2l s1u s1c s1ul s2c -step s1b: BEGIN; -step s2b2: BEGIN ISOLATION LEVEL REPEATABLE READ; -step s1l: SELECT pg_advisory_lock(380170116); -pg_advisory_lock ----------------- - -(1 row) - -step s2l: SELECT * FROM lcu_table WHERE pg_advisory_lock(380170116) IS NOT NULL FOR KEY SHARE; -step s1u: UPDATE lcu_table SET value = 'two' WHERE id = 1; -step s1c: COMMIT; -step s1ul: SELECT pg_advisory_unlock(380170116); -pg_advisory_unlock ------------------- -t -(1 row) - -step s2l: <... completed> -id|value ---+----- - 1|one -(1 row) - -step s2c: COMMIT; -pg_advisory_unlock_all ----------------------- - -(1 row) - -pg_advisory_unlock_all ----------------------- - -(1 row) - - -starting permutation: s1b s2b2 s1l s1u s2l s1c s1ul s2c -step s1b: BEGIN; -step s2b2: BEGIN ISOLATION LEVEL REPEATABLE READ; -step s1l: SELECT pg_advisory_lock(380170116); -pg_advisory_lock ----------------- - -(1 row) - -step s1u: UPDATE lcu_table SET value = 'two' WHERE id = 1; -step s2l: SELECT * FROM lcu_table WHERE pg_advisory_lock(380170116) IS NOT NULL FOR KEY SHARE; -step s1c: COMMIT; -step s1ul: SELECT pg_advisory_unlock(380170116); -pg_advisory_unlock ------------------- -t -(1 row) - -step s2l: <... completed> -id|value ---+----- - 1|one -(1 row) - -step s2c: COMMIT; -pg_advisory_unlock_all ----------------------- - -(1 row) - -pg_advisory_unlock_all ----------------------- - -(1 row) - - -starting permutation: s1b s2b2 s1l s2l s1ul s1u s1c s2c -step s1b: BEGIN; -step s2b2: BEGIN ISOLATION LEVEL REPEATABLE READ; -step s1l: SELECT pg_advisory_lock(380170116); -pg_advisory_lock ----------------- - -(1 row) - -step s2l: SELECT * FROM lcu_table WHERE pg_advisory_lock(380170116) IS NOT NULL FOR KEY SHARE; -step s1ul: SELECT pg_advisory_unlock(380170116); -pg_advisory_unlock ------------------- -t -(1 row) - -step s2l: <... completed> -id|value ---+----- - 1|one -(1 row) - -step s1u: UPDATE lcu_table SET value = 'two' WHERE id = 1; -step s1c: COMMIT; -step s2c: COMMIT; -pg_advisory_unlock_all ----------------------- - -(1 row) - -pg_advisory_unlock_all ----------------------- - -(1 row) - - -starting permutation: s1b s2b2 s1l s1u s1ul s2l s1c s2c -step s1b: BEGIN; -step s2b2: BEGIN ISOLATION LEVEL REPEATABLE READ; -step s1l: SELECT pg_advisory_lock(380170116); -pg_advisory_lock ----------------- - -(1 row) - -step s1u: UPDATE lcu_table SET value = 'two' WHERE id = 1; -step s1ul: SELECT pg_advisory_unlock(380170116); -pg_advisory_unlock ------------------- -t -(1 row) - -step s2l: SELECT * FROM lcu_table WHERE pg_advisory_lock(380170116) IS NOT NULL FOR KEY SHARE; -id|value ---+----- - 1|one -(1 row) - -step s1c: COMMIT; -step s2c: COMMIT; -pg_advisory_unlock_all ----------------------- - -(1 row) - -pg_advisory_unlock_all ----------------------- - -(1 row) - - -starting permutation: s1b s2b2 s1l s2l s1u s1c s1hint s1ul s2c -step s1b: BEGIN; -step s2b2: BEGIN ISOLATION LEVEL REPEATABLE READ; -step s1l: SELECT pg_advisory_lock(380170116); -pg_advisory_lock ----------------- - -(1 row) - -step s2l: SELECT * FROM lcu_table WHERE pg_advisory_lock(380170116) IS NOT NULL FOR KEY SHARE; -step s1u: UPDATE lcu_table SET value = 'two' WHERE id = 1; -step s1c: COMMIT; -step s1hint: SELECT * FROM lcu_table; -id|value ---+----- - 1|two -(1 row) - -step s1ul: SELECT pg_advisory_unlock(380170116); -pg_advisory_unlock ------------------- -t -(1 row) - -step s2l: <... completed> -id|value ---+----- - 1|one -(1 row) - -step s2c: COMMIT; -pg_advisory_unlock_all ----------------------- - -(1 row) - -pg_advisory_unlock_all ----------------------- - -(1 row) - - -starting permutation: s1b s2b2 s1l s1u s2l s1c s1hint s1ul s2c -step s1b: BEGIN; -step s2b2: BEGIN ISOLATION LEVEL REPEATABLE READ; -step s1l: SELECT pg_advisory_lock(380170116); -pg_advisory_lock ----------------- - -(1 row) - -step s1u: UPDATE lcu_table SET value = 'two' WHERE id = 1; -step s2l: SELECT * FROM lcu_table WHERE pg_advisory_lock(380170116) IS NOT NULL FOR KEY SHARE; -step s1c: COMMIT; -step s1hint: SELECT * FROM lcu_table; -id|value ---+----- - 1|two -(1 row) - -step s1ul: SELECT pg_advisory_unlock(380170116); -pg_advisory_unlock ------------------- -t -(1 row) - -step s2l: <... completed> -id|value ---+----- - 1|one -(1 row) - -step s2c: COMMIT; -pg_advisory_unlock_all ----------------------- - -(1 row) - -pg_advisory_unlock_all ----------------------- - -(1 row) - - -starting permutation: s1b s2b2 s1l s2l s1ul s1u s1c s1hint s2c -step s1b: BEGIN; -step s2b2: BEGIN ISOLATION LEVEL REPEATABLE READ; -step s1l: SELECT pg_advisory_lock(380170116); -pg_advisory_lock ----------------- - -(1 row) - -step s2l: SELECT * FROM lcu_table WHERE pg_advisory_lock(380170116) IS NOT NULL FOR KEY SHARE; -step s1ul: SELECT pg_advisory_unlock(380170116); -pg_advisory_unlock ------------------- -t -(1 row) - -step s2l: <... completed> -id|value ---+----- - 1|one -(1 row) - -step s1u: UPDATE lcu_table SET value = 'two' WHERE id = 1; -step s1c: COMMIT; -step s1hint: SELECT * FROM lcu_table; -id|value ---+----- - 1|two -(1 row) - -step s2c: COMMIT; -pg_advisory_unlock_all ----------------------- - -(1 row) - -pg_advisory_unlock_all ----------------------- - -(1 row) - - -starting permutation: s1b s2b2 s1l s1u s1ul s2l s1c s1hint s2c -step s1b: BEGIN; -step s2b2: BEGIN ISOLATION LEVEL REPEATABLE READ; -step s1l: SELECT pg_advisory_lock(380170116); -pg_advisory_lock ----------------- - -(1 row) - -step s1u: UPDATE lcu_table SET value = 'two' WHERE id = 1; -step s1ul: SELECT pg_advisory_unlock(380170116); -pg_advisory_unlock ------------------- -t -(1 row) - -step s2l: SELECT * FROM lcu_table WHERE pg_advisory_lock(380170116) IS NOT NULL FOR KEY SHARE; -id|value ---+----- - 1|one -(1 row) - -step s1c: COMMIT; -step s1hint: SELECT * FROM lcu_table; -id|value ---+----- - 1|two -(1 row) - -step s2c: COMMIT; -pg_advisory_unlock_all ----------------------- - -(1 row) - -pg_advisory_unlock_all ----------------------- - -(1 row) - - -starting permutation: s1b s2b3 s1l s2l s1u s1c s1ul s2c -step s1b: BEGIN; -step s2b3: BEGIN ISOLATION LEVEL SERIALIZABLE; -step s1l: SELECT pg_advisory_lock(380170116); -pg_advisory_lock ----------------- - -(1 row) - -step s2l: SELECT * FROM lcu_table WHERE pg_advisory_lock(380170116) IS NOT NULL FOR KEY SHARE; -step s1u: UPDATE lcu_table SET value = 'two' WHERE id = 1; -step s1c: COMMIT; -step s1ul: SELECT pg_advisory_unlock(380170116); -pg_advisory_unlock ------------------- -t -(1 row) - -step s2l: <... completed> -id|value ---+----- - 1|one -(1 row) - -step s2c: COMMIT; -pg_advisory_unlock_all ----------------------- - -(1 row) - -pg_advisory_unlock_all ----------------------- - -(1 row) - - -starting permutation: s1b s2b3 s1l s1u s2l s1c s1ul s2c -step s1b: BEGIN; -step s2b3: BEGIN ISOLATION LEVEL SERIALIZABLE; -step s1l: SELECT pg_advisory_lock(380170116); -pg_advisory_lock ----------------- - -(1 row) - -step s1u: UPDATE lcu_table SET value = 'two' WHERE id = 1; -step s2l: SELECT * FROM lcu_table WHERE pg_advisory_lock(380170116) IS NOT NULL FOR KEY SHARE; -step s1c: COMMIT; -step s1ul: SELECT pg_advisory_unlock(380170116); -pg_advisory_unlock ------------------- -t -(1 row) - -step s2l: <... completed> -id|value ---+----- - 1|one -(1 row) - -step s2c: COMMIT; -pg_advisory_unlock_all ----------------------- - -(1 row) - -pg_advisory_unlock_all ----------------------- - -(1 row) - - -starting permutation: s1b s2b3 s1l s2l s1ul s1u s1c s2c -step s1b: BEGIN; -step s2b3: BEGIN ISOLATION LEVEL SERIALIZABLE; -step s1l: SELECT pg_advisory_lock(380170116); -pg_advisory_lock ----------------- - -(1 row) - -step s2l: SELECT * FROM lcu_table WHERE pg_advisory_lock(380170116) IS NOT NULL FOR KEY SHARE; -step s1ul: SELECT pg_advisory_unlock(380170116); -pg_advisory_unlock ------------------- -t -(1 row) - -step s2l: <... completed> -id|value ---+----- - 1|one -(1 row) - -step s1u: UPDATE lcu_table SET value = 'two' WHERE id = 1; -step s1c: COMMIT; -step s2c: COMMIT; -pg_advisory_unlock_all ----------------------- - -(1 row) - -pg_advisory_unlock_all ----------------------- - -(1 row) - - -starting permutation: s1b s2b3 s1l s1u s1ul s2l s1c s2c -step s1b: BEGIN; -step s2b3: BEGIN ISOLATION LEVEL SERIALIZABLE; -step s1l: SELECT pg_advisory_lock(380170116); -pg_advisory_lock ----------------- - -(1 row) - -step s1u: UPDATE lcu_table SET value = 'two' WHERE id = 1; -step s1ul: SELECT pg_advisory_unlock(380170116); -pg_advisory_unlock ------------------- -t -(1 row) - -step s2l: SELECT * FROM lcu_table WHERE pg_advisory_lock(380170116) IS NOT NULL FOR KEY SHARE; -id|value ---+----- - 1|one -(1 row) - -step s1c: COMMIT; -step s2c: COMMIT; -pg_advisory_unlock_all ----------------------- - -(1 row) - -pg_advisory_unlock_all ----------------------- - -(1 row) - - -starting permutation: s1b s2b3 s1l s2l s1u s1c s1hint s1ul s2c -step s1b: BEGIN; -step s2b3: BEGIN ISOLATION LEVEL SERIALIZABLE; -step s1l: SELECT pg_advisory_lock(380170116); -pg_advisory_lock ----------------- - -(1 row) - -step s2l: SELECT * FROM lcu_table WHERE pg_advisory_lock(380170116) IS NOT NULL FOR KEY SHARE; -step s1u: UPDATE lcu_table SET value = 'two' WHERE id = 1; -step s1c: COMMIT; -step s1hint: SELECT * FROM lcu_table; -id|value ---+----- - 1|two -(1 row) - -step s1ul: SELECT pg_advisory_unlock(380170116); -pg_advisory_unlock ------------------- -t -(1 row) - -step s2l: <... completed> -id|value ---+----- - 1|one -(1 row) - -step s2c: COMMIT; -pg_advisory_unlock_all ----------------------- - -(1 row) - -pg_advisory_unlock_all ----------------------- - -(1 row) - - -starting permutation: s1b s2b3 s1l s1u s2l s1c s1hint s1ul s2c -step s1b: BEGIN; -step s2b3: BEGIN ISOLATION LEVEL SERIALIZABLE; -step s1l: SELECT pg_advisory_lock(380170116); -pg_advisory_lock ----------------- - -(1 row) - -step s1u: UPDATE lcu_table SET value = 'two' WHERE id = 1; -step s2l: SELECT * FROM lcu_table WHERE pg_advisory_lock(380170116) IS NOT NULL FOR KEY SHARE; -step s1c: COMMIT; -step s1hint: SELECT * FROM lcu_table; -id|value ---+----- - 1|two -(1 row) - -step s1ul: SELECT pg_advisory_unlock(380170116); -pg_advisory_unlock ------------------- -t -(1 row) - -step s2l: <... completed> -id|value ---+----- - 1|one -(1 row) - -step s2c: COMMIT; -pg_advisory_unlock_all ----------------------- - -(1 row) - -pg_advisory_unlock_all ----------------------- - -(1 row) - - -starting permutation: s1b s2b3 s1l s2l s1ul s1u s1c s1hint s2c -step s1b: BEGIN; -step s2b3: BEGIN ISOLATION LEVEL SERIALIZABLE; -step s1l: SELECT pg_advisory_lock(380170116); -pg_advisory_lock ----------------- - -(1 row) - -step s2l: SELECT * FROM lcu_table WHERE pg_advisory_lock(380170116) IS NOT NULL FOR KEY SHARE; -step s1ul: SELECT pg_advisory_unlock(380170116); -pg_advisory_unlock ------------------- -t -(1 row) - -step s2l: <... completed> -id|value ---+----- - 1|one -(1 row) - -step s1u: UPDATE lcu_table SET value = 'two' WHERE id = 1; -step s1c: COMMIT; -step s1hint: SELECT * FROM lcu_table; -id|value ---+----- - 1|two -(1 row) - -step s2c: COMMIT; -pg_advisory_unlock_all ----------------------- - -(1 row) - -pg_advisory_unlock_all ----------------------- - -(1 row) - - -starting permutation: s1b s2b3 s1l s1u s1ul s2l s1c s1hint s2c -step s1b: BEGIN; -step s2b3: BEGIN ISOLATION LEVEL SERIALIZABLE; -step s1l: SELECT pg_advisory_lock(380170116); -pg_advisory_lock ----------------- - -(1 row) - -step s1u: UPDATE lcu_table SET value = 'two' WHERE id = 1; -step s1ul: SELECT pg_advisory_unlock(380170116); -pg_advisory_unlock ------------------- -t -(1 row) - -step s2l: SELECT * FROM lcu_table WHERE pg_advisory_lock(380170116) IS NOT NULL FOR KEY SHARE; -id|value ---+----- - 1|one -(1 row) - -step s1c: COMMIT; -step s1hint: SELECT * FROM lcu_table; -id|value ---+----- - 1|two -(1 row) - -step s2c: COMMIT; -pg_advisory_unlock_all ----------------------- - -(1 row) - -pg_advisory_unlock_all ----------------------- - -(1 row) - +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/lock-committed-keyupdate.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/lock-committed-keyupdate.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/lock-committed-keyupdate.out 2025-08-23 05:04:11.944972704 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/lock-committed-keyupdate.out 2025-08-23 05:09:23.763441854 +0000 @@ -1,670 +1,3 @@ Parsed test spec with 2 sessions - -starting permutation: s1b s2b1 s1l s2l s1u s1c s1ul s2c -step s1b: BEGIN; -step s2b1: BEGIN ISOLATION LEVEL READ COMMITTED; -step s1l: SELECT pg_advisory_lock(578902068); -pg_advisory_lock ----------------- - -(1 row) - -step s2l: SELECT * FROM lcku_table WHERE pg_advisory_lock(578902068) IS NOT NULL FOR KEY SHARE; -step s1u: UPDATE lcku_table SET id = 2 WHERE id = 3; -step s1c: COMMIT; -step s1ul: SELECT pg_advisory_unlock(578902068); -pg_advisory_unlock ------------------- -t -(1 row) - -step s2l: <... completed> -id|value ---+----- - 1|one - 2|two -(2 rows) - -step s2c: COMMIT; -pg_advisory_unlock_all ----------------------- - -(1 row) - -pg_advisory_unlock_all ----------------------- - -(1 row) - - -starting permutation: s1b s2b1 s1l s1u s2l s1c s1ul s2c -step s1b: BEGIN; -step s2b1: BEGIN ISOLATION LEVEL READ COMMITTED; -step s1l: SELECT pg_advisory_lock(578902068); -pg_advisory_lock ----------------- - -(1 row) - -step s1u: UPDATE lcku_table SET id = 2 WHERE id = 3; -step s2l: SELECT * FROM lcku_table WHERE pg_advisory_lock(578902068) IS NOT NULL FOR KEY SHARE; -step s1c: COMMIT; -step s1ul: SELECT pg_advisory_unlock(578902068); -pg_advisory_unlock ------------------- -t -(1 row) - -step s2l: <... completed> -id|value ---+----- - 1|one - 2|two -(2 rows) - -step s2c: COMMIT; -pg_advisory_unlock_all ----------------------- - -(1 row) - -pg_advisory_unlock_all ----------------------- - -(1 row) - - -starting permutation: s1b s2b1 s1l s1u s1ul s2l s1c s2c -step s1b: BEGIN; -step s2b1: BEGIN ISOLATION LEVEL READ COMMITTED; -step s1l: SELECT pg_advisory_lock(578902068); -pg_advisory_lock ----------------- - -(1 row) - -step s1u: UPDATE lcku_table SET id = 2 WHERE id = 3; -step s1ul: SELECT pg_advisory_unlock(578902068); -pg_advisory_unlock ------------------- -t -(1 row) - -step s2l: SELECT * FROM lcku_table WHERE pg_advisory_lock(578902068) IS NOT NULL FOR KEY SHARE; -step s1c: COMMIT; -step s2l: <... completed> -id|value ---+----- - 1|one - 2|two -(2 rows) - -step s2c: COMMIT; -pg_advisory_unlock_all ----------------------- - -(1 row) - -pg_advisory_unlock_all ----------------------- - -(1 row) - - -starting permutation: s1b s2b1 s1l s2l s1u s1c s1hint s1ul s2c -step s1b: BEGIN; -step s2b1: BEGIN ISOLATION LEVEL READ COMMITTED; -step s1l: SELECT pg_advisory_lock(578902068); -pg_advisory_lock ----------------- - -(1 row) - -step s2l: SELECT * FROM lcku_table WHERE pg_advisory_lock(578902068) IS NOT NULL FOR KEY SHARE; -step s1u: UPDATE lcku_table SET id = 2 WHERE id = 3; -step s1c: COMMIT; -step s1hint: SELECT * FROM lcku_table; -id|value ---+----- - 1|one - 2|two -(2 rows) - -step s1ul: SELECT pg_advisory_unlock(578902068); -pg_advisory_unlock ------------------- -t -(1 row) - -step s2l: <... completed> -id|value ---+----- - 1|one - 2|two -(2 rows) - -step s2c: COMMIT; -pg_advisory_unlock_all ----------------------- - -(1 row) - -pg_advisory_unlock_all ----------------------- - -(1 row) - - -starting permutation: s1b s2b1 s1l s1u s2l s1c s1hint s1ul s2c -step s1b: BEGIN; -step s2b1: BEGIN ISOLATION LEVEL READ COMMITTED; -step s1l: SELECT pg_advisory_lock(578902068); -pg_advisory_lock ----------------- - -(1 row) - -step s1u: UPDATE lcku_table SET id = 2 WHERE id = 3; -step s2l: SELECT * FROM lcku_table WHERE pg_advisory_lock(578902068) IS NOT NULL FOR KEY SHARE; -step s1c: COMMIT; -step s1hint: SELECT * FROM lcku_table; -id|value ---+----- - 1|one - 2|two -(2 rows) - -step s1ul: SELECT pg_advisory_unlock(578902068); -pg_advisory_unlock ------------------- -t -(1 row) - -step s2l: <... completed> -id|value ---+----- - 1|one - 2|two -(2 rows) - -step s2c: COMMIT; -pg_advisory_unlock_all ----------------------- - -(1 row) - -pg_advisory_unlock_all ----------------------- - -(1 row) - - -starting permutation: s1b s2b1 s1l s1u s1ul s2l s1c s1hint s2c -step s1b: BEGIN; -step s2b1: BEGIN ISOLATION LEVEL READ COMMITTED; -step s1l: SELECT pg_advisory_lock(578902068); -pg_advisory_lock ----------------- - -(1 row) - -step s1u: UPDATE lcku_table SET id = 2 WHERE id = 3; -step s1ul: SELECT pg_advisory_unlock(578902068); -pg_advisory_unlock ------------------- -t -(1 row) - -step s2l: SELECT * FROM lcku_table WHERE pg_advisory_lock(578902068) IS NOT NULL FOR KEY SHARE; -step s1c: COMMIT; -step s2l: <... completed> -id|value ---+----- - 1|one - 2|two -(2 rows) - -step s1hint: SELECT * FROM lcku_table; -id|value ---+----- - 1|one - 2|two -(2 rows) - -step s2c: COMMIT; -pg_advisory_unlock_all ----------------------- - -(1 row) - -pg_advisory_unlock_all ----------------------- - -(1 row) - - -starting permutation: s1b s2b2 s1l s2l s1u s1c s1ul s2c -step s1b: BEGIN; -step s2b2: BEGIN ISOLATION LEVEL REPEATABLE READ; -step s1l: SELECT pg_advisory_lock(578902068); -pg_advisory_lock ----------------- - -(1 row) - -step s2l: SELECT * FROM lcku_table WHERE pg_advisory_lock(578902068) IS NOT NULL FOR KEY SHARE; -step s1u: UPDATE lcku_table SET id = 2 WHERE id = 3; -step s1c: COMMIT; -step s1ul: SELECT pg_advisory_unlock(578902068); -pg_advisory_unlock ------------------- -t -(1 row) - -step s2l: <... completed> -ERROR: could not serialize access due to concurrent update -step s2c: COMMIT; -pg_advisory_unlock_all ----------------------- - -(1 row) - -pg_advisory_unlock_all ----------------------- - -(1 row) - - -starting permutation: s1b s2b2 s1l s1u s2l s1c s1ul s2c -step s1b: BEGIN; -step s2b2: BEGIN ISOLATION LEVEL REPEATABLE READ; -step s1l: SELECT pg_advisory_lock(578902068); -pg_advisory_lock ----------------- - -(1 row) - -step s1u: UPDATE lcku_table SET id = 2 WHERE id = 3; -step s2l: SELECT * FROM lcku_table WHERE pg_advisory_lock(578902068) IS NOT NULL FOR KEY SHARE; -step s1c: COMMIT; -step s1ul: SELECT pg_advisory_unlock(578902068); -pg_advisory_unlock ------------------- -t -(1 row) - -step s2l: <... completed> -ERROR: could not serialize access due to concurrent update -step s2c: COMMIT; -pg_advisory_unlock_all ----------------------- - -(1 row) - -pg_advisory_unlock_all ----------------------- - -(1 row) - - -starting permutation: s1b s2b2 s1l s1u s1ul s2l s1c s2c -step s1b: BEGIN; -step s2b2: BEGIN ISOLATION LEVEL REPEATABLE READ; -step s1l: SELECT pg_advisory_lock(578902068); -pg_advisory_lock ----------------- - -(1 row) - -step s1u: UPDATE lcku_table SET id = 2 WHERE id = 3; -step s1ul: SELECT pg_advisory_unlock(578902068); -pg_advisory_unlock ------------------- -t -(1 row) - -step s2l: SELECT * FROM lcku_table WHERE pg_advisory_lock(578902068) IS NOT NULL FOR KEY SHARE; -step s1c: COMMIT; -step s2l: <... completed> -ERROR: could not serialize access due to concurrent update -step s2c: COMMIT; -pg_advisory_unlock_all ----------------------- - -(1 row) - -pg_advisory_unlock_all ----------------------- - -(1 row) - - -starting permutation: s1b s2b2 s1l s2l s1u s1c s1hint s1ul s2c -step s1b: BEGIN; -step s2b2: BEGIN ISOLATION LEVEL REPEATABLE READ; -step s1l: SELECT pg_advisory_lock(578902068); -pg_advisory_lock ----------------- - -(1 row) - -step s2l: SELECT * FROM lcku_table WHERE pg_advisory_lock(578902068) IS NOT NULL FOR KEY SHARE; -step s1u: UPDATE lcku_table SET id = 2 WHERE id = 3; -step s1c: COMMIT; -step s1hint: SELECT * FROM lcku_table; -id|value ---+----- - 1|one - 2|two -(2 rows) - -step s1ul: SELECT pg_advisory_unlock(578902068); -pg_advisory_unlock ------------------- -t -(1 row) - -step s2l: <... completed> -ERROR: could not serialize access due to concurrent update -step s2c: COMMIT; -pg_advisory_unlock_all ----------------------- - -(1 row) - -pg_advisory_unlock_all ----------------------- - -(1 row) - - -starting permutation: s1b s2b2 s1l s1u s2l s1c s1hint s1ul s2c -step s1b: BEGIN; -step s2b2: BEGIN ISOLATION LEVEL REPEATABLE READ; -step s1l: SELECT pg_advisory_lock(578902068); -pg_advisory_lock ----------------- - -(1 row) - -step s1u: UPDATE lcku_table SET id = 2 WHERE id = 3; -step s2l: SELECT * FROM lcku_table WHERE pg_advisory_lock(578902068) IS NOT NULL FOR KEY SHARE; -step s1c: COMMIT; -step s1hint: SELECT * FROM lcku_table; -id|value ---+----- - 1|one - 2|two -(2 rows) - -step s1ul: SELECT pg_advisory_unlock(578902068); -pg_advisory_unlock ------------------- -t -(1 row) - -step s2l: <... completed> -ERROR: could not serialize access due to concurrent update -step s2c: COMMIT; -pg_advisory_unlock_all ----------------------- - -(1 row) - -pg_advisory_unlock_all ----------------------- - -(1 row) - - -starting permutation: s1b s2b2 s1l s1u s1ul s2l s1c s1hint s2c -step s1b: BEGIN; -step s2b2: BEGIN ISOLATION LEVEL REPEATABLE READ; -step s1l: SELECT pg_advisory_lock(578902068); -pg_advisory_lock ----------------- - -(1 row) - -step s1u: UPDATE lcku_table SET id = 2 WHERE id = 3; -step s1ul: SELECT pg_advisory_unlock(578902068); -pg_advisory_unlock ------------------- -t -(1 row) - -step s2l: SELECT * FROM lcku_table WHERE pg_advisory_lock(578902068) IS NOT NULL FOR KEY SHARE; -step s1c: COMMIT; -step s2l: <... completed> -ERROR: could not serialize access due to concurrent update -step s1hint: SELECT * FROM lcku_table; -id|value ---+----- - 1|one - 2|two -(2 rows) - -step s2c: COMMIT; -pg_advisory_unlock_all ----------------------- - -(1 row) - -pg_advisory_unlock_all ----------------------- - -(1 row) - - -starting permutation: s1b s2b3 s1l s2l s1u s1c s1ul s2c -step s1b: BEGIN; -step s2b3: BEGIN ISOLATION LEVEL SERIALIZABLE; -step s1l: SELECT pg_advisory_lock(578902068); -pg_advisory_lock ----------------- - -(1 row) - -step s2l: SELECT * FROM lcku_table WHERE pg_advisory_lock(578902068) IS NOT NULL FOR KEY SHARE; -step s1u: UPDATE lcku_table SET id = 2 WHERE id = 3; -step s1c: COMMIT; -step s1ul: SELECT pg_advisory_unlock(578902068); -pg_advisory_unlock ------------------- -t -(1 row) - -step s2l: <... completed> -ERROR: could not serialize access due to concurrent update -step s2c: COMMIT; -pg_advisory_unlock_all ----------------------- - -(1 row) - -pg_advisory_unlock_all ----------------------- - -(1 row) - - -starting permutation: s1b s2b3 s1l s1u s2l s1c s1ul s2c -step s1b: BEGIN; -step s2b3: BEGIN ISOLATION LEVEL SERIALIZABLE; -step s1l: SELECT pg_advisory_lock(578902068); -pg_advisory_lock ----------------- - -(1 row) - -step s1u: UPDATE lcku_table SET id = 2 WHERE id = 3; -step s2l: SELECT * FROM lcku_table WHERE pg_advisory_lock(578902068) IS NOT NULL FOR KEY SHARE; -step s1c: COMMIT; -step s1ul: SELECT pg_advisory_unlock(578902068); -pg_advisory_unlock ------------------- -t -(1 row) - -step s2l: <... completed> -ERROR: could not serialize access due to concurrent update -step s2c: COMMIT; -pg_advisory_unlock_all ----------------------- - -(1 row) - -pg_advisory_unlock_all ----------------------- - -(1 row) - - -starting permutation: s1b s2b3 s1l s1u s1ul s2l s1c s2c -step s1b: BEGIN; -step s2b3: BEGIN ISOLATION LEVEL SERIALIZABLE; -step s1l: SELECT pg_advisory_lock(578902068); -pg_advisory_lock ----------------- - -(1 row) - -step s1u: UPDATE lcku_table SET id = 2 WHERE id = 3; -step s1ul: SELECT pg_advisory_unlock(578902068); -pg_advisory_unlock ------------------- -t -(1 row) - -step s2l: SELECT * FROM lcku_table WHERE pg_advisory_lock(578902068) IS NOT NULL FOR KEY SHARE; -step s1c: COMMIT; -step s2l: <... completed> -ERROR: could not serialize access due to concurrent update -step s2c: COMMIT; -pg_advisory_unlock_all ----------------------- - -(1 row) - -pg_advisory_unlock_all ----------------------- - -(1 row) - - -starting permutation: s1b s2b3 s1l s2l s1u s1c s1hint s1ul s2c -step s1b: BEGIN; -step s2b3: BEGIN ISOLATION LEVEL SERIALIZABLE; -step s1l: SELECT pg_advisory_lock(578902068); -pg_advisory_lock ----------------- - -(1 row) - -step s2l: SELECT * FROM lcku_table WHERE pg_advisory_lock(578902068) IS NOT NULL FOR KEY SHARE; -step s1u: UPDATE lcku_table SET id = 2 WHERE id = 3; -step s1c: COMMIT; -step s1hint: SELECT * FROM lcku_table; -id|value ---+----- - 1|one - 2|two -(2 rows) - -step s1ul: SELECT pg_advisory_unlock(578902068); -pg_advisory_unlock ------------------- -t -(1 row) - -step s2l: <... completed> -ERROR: could not serialize access due to concurrent update -step s2c: COMMIT; -pg_advisory_unlock_all ----------------------- - -(1 row) - -pg_advisory_unlock_all ----------------------- - -(1 row) - - -starting permutation: s1b s2b3 s1l s1u s2l s1c s1hint s1ul s2c -step s1b: BEGIN; -step s2b3: BEGIN ISOLATION LEVEL SERIALIZABLE; -step s1l: SELECT pg_advisory_lock(578902068); -pg_advisory_lock ----------------- - -(1 row) - -step s1u: UPDATE lcku_table SET id = 2 WHERE id = 3; -step s2l: SELECT * FROM lcku_table WHERE pg_advisory_lock(578902068) IS NOT NULL FOR KEY SHARE; -step s1c: COMMIT; -step s1hint: SELECT * FROM lcku_table; -id|value ---+----- - 1|one - 2|two -(2 rows) - -step s1ul: SELECT pg_advisory_unlock(578902068); -pg_advisory_unlock ------------------- -t -(1 row) - -step s2l: <... completed> -ERROR: could not serialize access due to concurrent update -step s2c: COMMIT; -pg_advisory_unlock_all ----------------------- - -(1 row) - -pg_advisory_unlock_all ----------------------- - -(1 row) - - -starting permutation: s1b s2b3 s1l s1u s1ul s2l s1c s1hint s2c -step s1b: BEGIN; -step s2b3: BEGIN ISOLATION LEVEL SERIALIZABLE; -step s1l: SELECT pg_advisory_lock(578902068); -pg_advisory_lock ----------------- - -(1 row) - -step s1u: UPDATE lcku_table SET id = 2 WHERE id = 3; -step s1ul: SELECT pg_advisory_unlock(578902068); -pg_advisory_unlock ------------------- -t -(1 row) - -step s2l: SELECT * FROM lcku_table WHERE pg_advisory_lock(578902068) IS NOT NULL FOR KEY SHARE; -step s1c: COMMIT; -step s2l: <... completed> -ERROR: could not serialize access due to concurrent update -step s1hint: SELECT * FROM lcku_table; -id|value ---+----- - 1|one - 2|two -(2 rows) - -step s2c: COMMIT; -pg_advisory_unlock_all ----------------------- - -(1 row) - -pg_advisory_unlock_all ----------------------- - -(1 row) - +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/update-locked-tuple.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/update-locked-tuple.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/update-locked-tuple.out 2025-08-23 05:04:11.960952309 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/update-locked-tuple.out 2025-08-23 05:09:23.851441647 +0000 @@ -1,55 +1,3 @@ Parsed test spec with 2 sessions - -starting permutation: s1b s2b s2u s2c s1u1 s1u2 s1c -step s1b: BEGIN ISOLATION LEVEL REPEATABLE READ; -step s2b: BEGIN ISOLATION LEVEL REPEATABLE READ; -step s2u: UPDATE users SET sometime = '1830-10-04' WHERE id = 1; -step s2c: COMMIT; -step s1u1: UPDATE orders SET name = 'order of olivier (2)', user_id = 1 WHERE id = 1; -step s1u2: UPDATE orders SET name = 'order of olivier (3)', user_id = 1 WHERE id = 1; -step s1c: COMMIT; - -starting permutation: s1b s2b s2u s1u1 s2c s1u2 s1c -step s1b: BEGIN ISOLATION LEVEL REPEATABLE READ; -step s2b: BEGIN ISOLATION LEVEL REPEATABLE READ; -step s2u: UPDATE users SET sometime = '1830-10-04' WHERE id = 1; -step s1u1: UPDATE orders SET name = 'order of olivier (2)', user_id = 1 WHERE id = 1; -step s2c: COMMIT; -step s1u2: UPDATE orders SET name = 'order of olivier (3)', user_id = 1 WHERE id = 1; -step s1c: COMMIT; - -starting permutation: s1b s2b s1u1 s2u s2c s1u2 s1c -step s1b: BEGIN ISOLATION LEVEL REPEATABLE READ; -step s2b: BEGIN ISOLATION LEVEL REPEATABLE READ; -step s1u1: UPDATE orders SET name = 'order of olivier (2)', user_id = 1 WHERE id = 1; -step s2u: UPDATE users SET sometime = '1830-10-04' WHERE id = 1; -step s2c: COMMIT; -step s1u2: UPDATE orders SET name = 'order of olivier (3)', user_id = 1 WHERE id = 1; -step s1c: COMMIT; - -starting permutation: s1b s1u1 s2b s2u s2c s1u2 s1c -step s1b: BEGIN ISOLATION LEVEL REPEATABLE READ; -step s1u1: UPDATE orders SET name = 'order of olivier (2)', user_id = 1 WHERE id = 1; -step s2b: BEGIN ISOLATION LEVEL REPEATABLE READ; -step s2u: UPDATE users SET sometime = '1830-10-04' WHERE id = 1; -step s2c: COMMIT; -step s1u2: UPDATE orders SET name = 'order of olivier (3)', user_id = 1 WHERE id = 1; -step s1c: COMMIT; - -starting permutation: s1b s1u1 s2b s1u2 s2u s2c s1c -step s1b: BEGIN ISOLATION LEVEL REPEATABLE READ; -step s1u1: UPDATE orders SET name = 'order of olivier (2)', user_id = 1 WHERE id = 1; -step s2b: BEGIN ISOLATION LEVEL REPEATABLE READ; -step s1u2: UPDATE orders SET name = 'order of olivier (3)', user_id = 1 WHERE id = 1; -step s2u: UPDATE users SET sometime = '1830-10-04' WHERE id = 1; -step s2c: COMMIT; -step s1c: COMMIT; - -starting permutation: s1b s1u1 s1u2 s2b s2u s2c s1c -step s1b: BEGIN ISOLATION LEVEL REPEATABLE READ; -step s1u1: UPDATE orders SET name = 'order of olivier (2)', user_id = 1 WHERE id = 1; -step s1u2: UPDATE orders SET name = 'order of olivier (3)', user_id = 1 WHERE id = 1; -step s2b: BEGIN ISOLATION LEVEL REPEATABLE READ; -step s2u: UPDATE users SET sometime = '1830-10-04' WHERE id = 1; -step s2c: COMMIT; -step s1c: COMMIT; +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/reindex-concurrently.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/reindex-concurrently.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/reindex-concurrently.out 2025-08-23 05:04:11.956957407 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/reindex-concurrently.out 2025-08-23 05:09:23.931441460 +0000 @@ -1,90 +1,3 @@ Parsed test spec with 3 sessions - -starting permutation: reindex sel1 upd2 ins2 del2 end1 end2 -step reindex: REINDEX TABLE CONCURRENTLY reind_con_tab; -step sel1: SELECT data FROM reind_con_tab WHERE id = 3; -data ----- -aaaa -(1 row) - -step upd2: UPDATE reind_con_tab SET data = 'bbbb' WHERE id = 3; -step ins2: INSERT INTO reind_con_tab(data) VALUES ('cccc'); -step del2: DELETE FROM reind_con_tab WHERE data = 'cccc'; -step end1: COMMIT; -step end2: COMMIT; - -starting permutation: sel1 reindex upd2 ins2 del2 end1 end2 -step sel1: SELECT data FROM reind_con_tab WHERE id = 3; -data ----- -aaaa -(1 row) - -step reindex: REINDEX TABLE CONCURRENTLY reind_con_tab; -step upd2: UPDATE reind_con_tab SET data = 'bbbb' WHERE id = 3; -step ins2: INSERT INTO reind_con_tab(data) VALUES ('cccc'); -step del2: DELETE FROM reind_con_tab WHERE data = 'cccc'; -step end1: COMMIT; -step end2: COMMIT; -step reindex: <... completed> - -starting permutation: sel1 upd2 reindex ins2 del2 end1 end2 -step sel1: SELECT data FROM reind_con_tab WHERE id = 3; -data ----- -aaaa -(1 row) - -step upd2: UPDATE reind_con_tab SET data = 'bbbb' WHERE id = 3; -step reindex: REINDEX TABLE CONCURRENTLY reind_con_tab; -step ins2: INSERT INTO reind_con_tab(data) VALUES ('cccc'); -step del2: DELETE FROM reind_con_tab WHERE data = 'cccc'; -step end1: COMMIT; -step end2: COMMIT; -step reindex: <... completed> - -starting permutation: sel1 upd2 ins2 reindex del2 end1 end2 -step sel1: SELECT data FROM reind_con_tab WHERE id = 3; -data ----- -aaaa -(1 row) - -step upd2: UPDATE reind_con_tab SET data = 'bbbb' WHERE id = 3; -step ins2: INSERT INTO reind_con_tab(data) VALUES ('cccc'); -step reindex: REINDEX TABLE CONCURRENTLY reind_con_tab; -step del2: DELETE FROM reind_con_tab WHERE data = 'cccc'; -step end1: COMMIT; -step end2: COMMIT; -step reindex: <... completed> - -starting permutation: sel1 upd2 ins2 del2 reindex end1 end2 -step sel1: SELECT data FROM reind_con_tab WHERE id = 3; -data ----- -aaaa -(1 row) - -step upd2: UPDATE reind_con_tab SET data = 'bbbb' WHERE id = 3; -step ins2: INSERT INTO reind_con_tab(data) VALUES ('cccc'); -step del2: DELETE FROM reind_con_tab WHERE data = 'cccc'; -step reindex: REINDEX TABLE CONCURRENTLY reind_con_tab; -step end1: COMMIT; -step end2: COMMIT; -step reindex: <... completed> - -starting permutation: sel1 upd2 ins2 del2 end1 reindex end2 -step sel1: SELECT data FROM reind_con_tab WHERE id = 3; -data ----- -aaaa -(1 row) - -step upd2: UPDATE reind_con_tab SET data = 'bbbb' WHERE id = 3; -step ins2: INSERT INTO reind_con_tab(data) VALUES ('cccc'); -step del2: DELETE FROM reind_con_tab WHERE data = 'cccc'; -step end1: COMMIT; -step reindex: REINDEX TABLE CONCURRENTLY reind_con_tab; -step end2: COMMIT; -step reindex: <... completed> +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/reindex-concurrently-toast.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/reindex-concurrently-toast.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/reindex-concurrently-toast.out 2025-08-23 05:04:11.956957407 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/reindex-concurrently-toast.out 2025-08-23 05:09:23.999441301 +0000 @@ -1,775 +1,3 @@ Parsed test spec with 2 sessions - -starting permutation: lrex1 ins1 retab2 end1 sel2 -step lrex1: lock TABLE reind_con_wide in ROW EXCLUSIVE MODE; -step ins1: INSERT INTO reind_con_wide SELECT 3, repeat('3', 11) || string_agg(g.i::text || random()::text, '') FROM generate_series(1, 500) g(i); -step retab2: REINDEX TABLE CONCURRENTLY pg_toast.reind_con_toast; -step end1: COMMIT; -step retab2: <... completed> -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -id| substr ---+---------- - 1|1111111111 - 2|2222222222 - 3|3333333333 -(3 rows) - - -starting permutation: lrex1 ins1 reind2 end1 sel2 -step lrex1: lock TABLE reind_con_wide in ROW EXCLUSIVE MODE; -step ins1: INSERT INTO reind_con_wide SELECT 3, repeat('3', 11) || string_agg(g.i::text || random()::text, '') FROM generate_series(1, 500) g(i); -step reind2: REINDEX INDEX CONCURRENTLY pg_toast.reind_con_toast_idx; -step end1: COMMIT; -step reind2: <... completed> -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -id| substr ---+---------- - 1|1111111111 - 2|2222222222 - 3|3333333333 -(3 rows) - - -starting permutation: lrex1 upd1 retab2 end1 sel2 -step lrex1: lock TABLE reind_con_wide in ROW EXCLUSIVE MODE; -step upd1: UPDATE reind_con_wide SET data = (SELECT repeat('4', 11) || string_agg(g.i::text || random()::text, '') FROM generate_series(1, 500) g(i)) WHERE id = 1; -step retab2: REINDEX TABLE CONCURRENTLY pg_toast.reind_con_toast; -step end1: COMMIT; -step retab2: <... completed> -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -id| substr ---+---------- - 1|4444444444 - 2|2222222222 -(2 rows) - - -starting permutation: lrex1 upd1 reind2 end1 sel2 -step lrex1: lock TABLE reind_con_wide in ROW EXCLUSIVE MODE; -step upd1: UPDATE reind_con_wide SET data = (SELECT repeat('4', 11) || string_agg(g.i::text || random()::text, '') FROM generate_series(1, 500) g(i)) WHERE id = 1; -step reind2: REINDEX INDEX CONCURRENTLY pg_toast.reind_con_toast_idx; -step end1: COMMIT; -step reind2: <... completed> -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -id| substr ---+---------- - 1|4444444444 - 2|2222222222 -(2 rows) - - -starting permutation: lrex1 del1 retab2 end1 sel2 -step lrex1: lock TABLE reind_con_wide in ROW EXCLUSIVE MODE; -step del1: DELETE FROM reind_con_wide WHERE id = 2; -step retab2: REINDEX TABLE CONCURRENTLY pg_toast.reind_con_toast; -step end1: COMMIT; -step retab2: <... completed> -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -id| substr ---+---------- - 1|1111111111 -(1 row) - - -starting permutation: lrex1 del1 reind2 end1 sel2 -step lrex1: lock TABLE reind_con_wide in ROW EXCLUSIVE MODE; -step del1: DELETE FROM reind_con_wide WHERE id = 2; -step reind2: REINDEX INDEX CONCURRENTLY pg_toast.reind_con_toast_idx; -step end1: COMMIT; -step reind2: <... completed> -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -id| substr ---+---------- - 1|1111111111 -(1 row) - - -starting permutation: lrex1 dro1 retab2 end1 sel2 -step lrex1: lock TABLE reind_con_wide in ROW EXCLUSIVE MODE; -step dro1: DROP TABLE reind_con_wide; -step retab2: REINDEX TABLE CONCURRENTLY pg_toast.reind_con_toast; -step end1: COMMIT; -step retab2: <... completed> -ERROR: relation "pg_toast.reind_con_toast" does not exist -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -ERROR: relation "reind_con_wide" does not exist - -starting permutation: lrex1 dro1 reind2 end1 sel2 -step lrex1: lock TABLE reind_con_wide in ROW EXCLUSIVE MODE; -step dro1: DROP TABLE reind_con_wide; -step reind2: REINDEX INDEX CONCURRENTLY pg_toast.reind_con_toast_idx; -step end1: COMMIT; -step reind2: <... completed> -ERROR: relation "pg_toast.reind_con_toast_idx" does not exist -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -ERROR: relation "reind_con_wide" does not exist - -starting permutation: lrex1 retab2 dro1 end1 sel2 -step lrex1: lock TABLE reind_con_wide in ROW EXCLUSIVE MODE; -step retab2: REINDEX TABLE CONCURRENTLY pg_toast.reind_con_toast; -step dro1: DROP TABLE reind_con_wide; -step end1: COMMIT; -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -ERROR: relation "reind_con_wide" does not exist - -starting permutation: lrex1 reind2 dro1 end1 sel2 -step lrex1: lock TABLE reind_con_wide in ROW EXCLUSIVE MODE; -step reind2: REINDEX INDEX CONCURRENTLY pg_toast.reind_con_toast_idx; -step dro1: DROP TABLE reind_con_wide; -step end1: COMMIT; -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -ERROR: relation "reind_con_wide" does not exist - -starting permutation: lsha1 ins1 retab2 end1 sel2 -step lsha1: lock TABLE reind_con_wide in SHARE MODE; -step ins1: INSERT INTO reind_con_wide SELECT 3, repeat('3', 11) || string_agg(g.i::text || random()::text, '') FROM generate_series(1, 500) g(i); -step retab2: REINDEX TABLE CONCURRENTLY pg_toast.reind_con_toast; -step end1: COMMIT; -step retab2: <... completed> -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -id| substr ---+---------- - 1|1111111111 - 2|2222222222 - 3|3333333333 -(3 rows) - - -starting permutation: lsha1 ins1 reind2 end1 sel2 -step lsha1: lock TABLE reind_con_wide in SHARE MODE; -step ins1: INSERT INTO reind_con_wide SELECT 3, repeat('3', 11) || string_agg(g.i::text || random()::text, '') FROM generate_series(1, 500) g(i); -step reind2: REINDEX INDEX CONCURRENTLY pg_toast.reind_con_toast_idx; -step end1: COMMIT; -step reind2: <... completed> -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -id| substr ---+---------- - 1|1111111111 - 2|2222222222 - 3|3333333333 -(3 rows) - - -starting permutation: lsha1 upd1 retab2 end1 sel2 -step lsha1: lock TABLE reind_con_wide in SHARE MODE; -step upd1: UPDATE reind_con_wide SET data = (SELECT repeat('4', 11) || string_agg(g.i::text || random()::text, '') FROM generate_series(1, 500) g(i)) WHERE id = 1; -step retab2: REINDEX TABLE CONCURRENTLY pg_toast.reind_con_toast; -step end1: COMMIT; -step retab2: <... completed> -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -id| substr ---+---------- - 1|4444444444 - 2|2222222222 -(2 rows) - - -starting permutation: lsha1 upd1 reind2 end1 sel2 -step lsha1: lock TABLE reind_con_wide in SHARE MODE; -step upd1: UPDATE reind_con_wide SET data = (SELECT repeat('4', 11) || string_agg(g.i::text || random()::text, '') FROM generate_series(1, 500) g(i)) WHERE id = 1; -step reind2: REINDEX INDEX CONCURRENTLY pg_toast.reind_con_toast_idx; -step end1: COMMIT; -step reind2: <... completed> -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -id| substr ---+---------- - 1|4444444444 - 2|2222222222 -(2 rows) - - -starting permutation: lsha1 del1 retab2 end1 sel2 -step lsha1: lock TABLE reind_con_wide in SHARE MODE; -step del1: DELETE FROM reind_con_wide WHERE id = 2; -step retab2: REINDEX TABLE CONCURRENTLY pg_toast.reind_con_toast; -step end1: COMMIT; -step retab2: <... completed> -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -id| substr ---+---------- - 1|1111111111 -(1 row) - - -starting permutation: lsha1 del1 reind2 end1 sel2 -step lsha1: lock TABLE reind_con_wide in SHARE MODE; -step del1: DELETE FROM reind_con_wide WHERE id = 2; -step reind2: REINDEX INDEX CONCURRENTLY pg_toast.reind_con_toast_idx; -step end1: COMMIT; -step reind2: <... completed> -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -id| substr ---+---------- - 1|1111111111 -(1 row) - - -starting permutation: lsha1 dro1 retab2 end1 sel2 -step lsha1: lock TABLE reind_con_wide in SHARE MODE; -step dro1: DROP TABLE reind_con_wide; -step retab2: REINDEX TABLE CONCURRENTLY pg_toast.reind_con_toast; -step end1: COMMIT; -step retab2: <... completed> -ERROR: relation "pg_toast.reind_con_toast" does not exist -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -ERROR: relation "reind_con_wide" does not exist - -starting permutation: lsha1 dro1 reind2 end1 sel2 -step lsha1: lock TABLE reind_con_wide in SHARE MODE; -step dro1: DROP TABLE reind_con_wide; -step reind2: REINDEX INDEX CONCURRENTLY pg_toast.reind_con_toast_idx; -step end1: COMMIT; -step reind2: <... completed> -ERROR: relation "pg_toast.reind_con_toast_idx" does not exist -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -ERROR: relation "reind_con_wide" does not exist - -starting permutation: lsha1 retab2 dro1 end1 sel2 -step lsha1: lock TABLE reind_con_wide in SHARE MODE; -step retab2: REINDEX TABLE CONCURRENTLY pg_toast.reind_con_toast; -step dro1: DROP TABLE reind_con_wide; -step end1: COMMIT; -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -ERROR: relation "reind_con_wide" does not exist - -starting permutation: lsha1 reind2 dro1 end1 sel2 -step lsha1: lock TABLE reind_con_wide in SHARE MODE; -step reind2: REINDEX INDEX CONCURRENTLY pg_toast.reind_con_toast_idx; -step dro1: DROP TABLE reind_con_wide; -step end1: COMMIT; -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -ERROR: relation "reind_con_wide" does not exist - -starting permutation: lexc1 ins1 retab2 end1 sel2 -step lexc1: lock TABLE reind_con_wide in EXCLUSIVE MODE; -step ins1: INSERT INTO reind_con_wide SELECT 3, repeat('3', 11) || string_agg(g.i::text || random()::text, '') FROM generate_series(1, 500) g(i); -step retab2: REINDEX TABLE CONCURRENTLY pg_toast.reind_con_toast; -step end1: COMMIT; -step retab2: <... completed> -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -id| substr ---+---------- - 1|1111111111 - 2|2222222222 - 3|3333333333 -(3 rows) - - -starting permutation: lexc1 ins1 reind2 end1 sel2 -step lexc1: lock TABLE reind_con_wide in EXCLUSIVE MODE; -step ins1: INSERT INTO reind_con_wide SELECT 3, repeat('3', 11) || string_agg(g.i::text || random()::text, '') FROM generate_series(1, 500) g(i); -step reind2: REINDEX INDEX CONCURRENTLY pg_toast.reind_con_toast_idx; -step end1: COMMIT; -step reind2: <... completed> -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -id| substr ---+---------- - 1|1111111111 - 2|2222222222 - 3|3333333333 -(3 rows) - - -starting permutation: lexc1 upd1 retab2 end1 sel2 -step lexc1: lock TABLE reind_con_wide in EXCLUSIVE MODE; -step upd1: UPDATE reind_con_wide SET data = (SELECT repeat('4', 11) || string_agg(g.i::text || random()::text, '') FROM generate_series(1, 500) g(i)) WHERE id = 1; -step retab2: REINDEX TABLE CONCURRENTLY pg_toast.reind_con_toast; -step end1: COMMIT; -step retab2: <... completed> -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -id| substr ---+---------- - 1|4444444444 - 2|2222222222 -(2 rows) - - -starting permutation: lexc1 upd1 reind2 end1 sel2 -step lexc1: lock TABLE reind_con_wide in EXCLUSIVE MODE; -step upd1: UPDATE reind_con_wide SET data = (SELECT repeat('4', 11) || string_agg(g.i::text || random()::text, '') FROM generate_series(1, 500) g(i)) WHERE id = 1; -step reind2: REINDEX INDEX CONCURRENTLY pg_toast.reind_con_toast_idx; -step end1: COMMIT; -step reind2: <... completed> -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -id| substr ---+---------- - 1|4444444444 - 2|2222222222 -(2 rows) - - -starting permutation: lexc1 del1 retab2 end1 sel2 -step lexc1: lock TABLE reind_con_wide in EXCLUSIVE MODE; -step del1: DELETE FROM reind_con_wide WHERE id = 2; -step retab2: REINDEX TABLE CONCURRENTLY pg_toast.reind_con_toast; -step end1: COMMIT; -step retab2: <... completed> -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -id| substr ---+---------- - 1|1111111111 -(1 row) - - -starting permutation: lexc1 del1 reind2 end1 sel2 -step lexc1: lock TABLE reind_con_wide in EXCLUSIVE MODE; -step del1: DELETE FROM reind_con_wide WHERE id = 2; -step reind2: REINDEX INDEX CONCURRENTLY pg_toast.reind_con_toast_idx; -step end1: COMMIT; -step reind2: <... completed> -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -id| substr ---+---------- - 1|1111111111 -(1 row) - - -starting permutation: lexc1 dro1 retab2 end1 sel2 -step lexc1: lock TABLE reind_con_wide in EXCLUSIVE MODE; -step dro1: DROP TABLE reind_con_wide; -step retab2: REINDEX TABLE CONCURRENTLY pg_toast.reind_con_toast; -step end1: COMMIT; -step retab2: <... completed> -ERROR: relation "pg_toast.reind_con_toast" does not exist -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -ERROR: relation "reind_con_wide" does not exist - -starting permutation: lexc1 dro1 reind2 end1 sel2 -step lexc1: lock TABLE reind_con_wide in EXCLUSIVE MODE; -step dro1: DROP TABLE reind_con_wide; -step reind2: REINDEX INDEX CONCURRENTLY pg_toast.reind_con_toast_idx; -step end1: COMMIT; -step reind2: <... completed> -ERROR: relation "pg_toast.reind_con_toast_idx" does not exist -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -ERROR: relation "reind_con_wide" does not exist - -starting permutation: lexc1 retab2 dro1 end1 sel2 -step lexc1: lock TABLE reind_con_wide in EXCLUSIVE MODE; -step retab2: REINDEX TABLE CONCURRENTLY pg_toast.reind_con_toast; -step dro1: DROP TABLE reind_con_wide; -step end1: COMMIT; -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -ERROR: relation "reind_con_wide" does not exist - -starting permutation: lexc1 reind2 dro1 end1 sel2 -step lexc1: lock TABLE reind_con_wide in EXCLUSIVE MODE; -step reind2: REINDEX INDEX CONCURRENTLY pg_toast.reind_con_toast_idx; -step dro1: DROP TABLE reind_con_wide; -step end1: COMMIT; -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -ERROR: relation "reind_con_wide" does not exist - -starting permutation: lrex1 ins1 retab2 rol1 sel2 -step lrex1: lock TABLE reind_con_wide in ROW EXCLUSIVE MODE; -step ins1: INSERT INTO reind_con_wide SELECT 3, repeat('3', 11) || string_agg(g.i::text || random()::text, '') FROM generate_series(1, 500) g(i); -step retab2: REINDEX TABLE CONCURRENTLY pg_toast.reind_con_toast; -step rol1: ROLLBACK; -step retab2: <... completed> -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -id| substr ---+---------- - 1|1111111111 - 2|2222222222 -(2 rows) - - -starting permutation: lrex1 ins1 reind2 rol1 sel2 -step lrex1: lock TABLE reind_con_wide in ROW EXCLUSIVE MODE; -step ins1: INSERT INTO reind_con_wide SELECT 3, repeat('3', 11) || string_agg(g.i::text || random()::text, '') FROM generate_series(1, 500) g(i); -step reind2: REINDEX INDEX CONCURRENTLY pg_toast.reind_con_toast_idx; -step rol1: ROLLBACK; -step reind2: <... completed> -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -id| substr ---+---------- - 1|1111111111 - 2|2222222222 -(2 rows) - - -starting permutation: lrex1 upd1 retab2 rol1 sel2 -step lrex1: lock TABLE reind_con_wide in ROW EXCLUSIVE MODE; -step upd1: UPDATE reind_con_wide SET data = (SELECT repeat('4', 11) || string_agg(g.i::text || random()::text, '') FROM generate_series(1, 500) g(i)) WHERE id = 1; -step retab2: REINDEX TABLE CONCURRENTLY pg_toast.reind_con_toast; -step rol1: ROLLBACK; -step retab2: <... completed> -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -id| substr ---+---------- - 1|1111111111 - 2|2222222222 -(2 rows) - - -starting permutation: lrex1 upd1 reind2 rol1 sel2 -step lrex1: lock TABLE reind_con_wide in ROW EXCLUSIVE MODE; -step upd1: UPDATE reind_con_wide SET data = (SELECT repeat('4', 11) || string_agg(g.i::text || random()::text, '') FROM generate_series(1, 500) g(i)) WHERE id = 1; -step reind2: REINDEX INDEX CONCURRENTLY pg_toast.reind_con_toast_idx; -step rol1: ROLLBACK; -step reind2: <... completed> -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -id| substr ---+---------- - 1|1111111111 - 2|2222222222 -(2 rows) - - -starting permutation: lrex1 del1 retab2 rol1 sel2 -step lrex1: lock TABLE reind_con_wide in ROW EXCLUSIVE MODE; -step del1: DELETE FROM reind_con_wide WHERE id = 2; -step retab2: REINDEX TABLE CONCURRENTLY pg_toast.reind_con_toast; -step rol1: ROLLBACK; -step retab2: <... completed> -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -id| substr ---+---------- - 1|1111111111 - 2|2222222222 -(2 rows) - - -starting permutation: lrex1 del1 reind2 rol1 sel2 -step lrex1: lock TABLE reind_con_wide in ROW EXCLUSIVE MODE; -step del1: DELETE FROM reind_con_wide WHERE id = 2; -step reind2: REINDEX INDEX CONCURRENTLY pg_toast.reind_con_toast_idx; -step rol1: ROLLBACK; -step reind2: <... completed> -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -id| substr ---+---------- - 1|1111111111 - 2|2222222222 -(2 rows) - - -starting permutation: lrex1 dro1 retab2 rol1 sel2 -step lrex1: lock TABLE reind_con_wide in ROW EXCLUSIVE MODE; -step dro1: DROP TABLE reind_con_wide; -step retab2: REINDEX TABLE CONCURRENTLY pg_toast.reind_con_toast; -step rol1: ROLLBACK; -step retab2: <... completed> -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -id| substr ---+---------- - 1|1111111111 - 2|2222222222 -(2 rows) - - -starting permutation: lrex1 dro1 reind2 rol1 sel2 -step lrex1: lock TABLE reind_con_wide in ROW EXCLUSIVE MODE; -step dro1: DROP TABLE reind_con_wide; -step reind2: REINDEX INDEX CONCURRENTLY pg_toast.reind_con_toast_idx; -step rol1: ROLLBACK; -step reind2: <... completed> -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -id| substr ---+---------- - 1|1111111111 - 2|2222222222 -(2 rows) - - -starting permutation: lrex1 retab2 dro1 rol1 sel2 -step lrex1: lock TABLE reind_con_wide in ROW EXCLUSIVE MODE; -step retab2: REINDEX TABLE CONCURRENTLY pg_toast.reind_con_toast; -step dro1: DROP TABLE reind_con_wide; -step rol1: ROLLBACK; -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -id| substr ---+---------- - 1|1111111111 - 2|2222222222 -(2 rows) - - -starting permutation: lrex1 reind2 dro1 rol1 sel2 -step lrex1: lock TABLE reind_con_wide in ROW EXCLUSIVE MODE; -step reind2: REINDEX INDEX CONCURRENTLY pg_toast.reind_con_toast_idx; -step dro1: DROP TABLE reind_con_wide; -step rol1: ROLLBACK; -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -id| substr ---+---------- - 1|1111111111 - 2|2222222222 -(2 rows) - - -starting permutation: lsha1 ins1 retab2 rol1 sel2 -step lsha1: lock TABLE reind_con_wide in SHARE MODE; -step ins1: INSERT INTO reind_con_wide SELECT 3, repeat('3', 11) || string_agg(g.i::text || random()::text, '') FROM generate_series(1, 500) g(i); -step retab2: REINDEX TABLE CONCURRENTLY pg_toast.reind_con_toast; -step rol1: ROLLBACK; -step retab2: <... completed> -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -id| substr ---+---------- - 1|1111111111 - 2|2222222222 -(2 rows) - - -starting permutation: lsha1 ins1 reind2 rol1 sel2 -step lsha1: lock TABLE reind_con_wide in SHARE MODE; -step ins1: INSERT INTO reind_con_wide SELECT 3, repeat('3', 11) || string_agg(g.i::text || random()::text, '') FROM generate_series(1, 500) g(i); -step reind2: REINDEX INDEX CONCURRENTLY pg_toast.reind_con_toast_idx; -step rol1: ROLLBACK; -step reind2: <... completed> -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -id| substr ---+---------- - 1|1111111111 - 2|2222222222 -(2 rows) - - -starting permutation: lsha1 upd1 retab2 rol1 sel2 -step lsha1: lock TABLE reind_con_wide in SHARE MODE; -step upd1: UPDATE reind_con_wide SET data = (SELECT repeat('4', 11) || string_agg(g.i::text || random()::text, '') FROM generate_series(1, 500) g(i)) WHERE id = 1; -step retab2: REINDEX TABLE CONCURRENTLY pg_toast.reind_con_toast; -step rol1: ROLLBACK; -step retab2: <... completed> -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -id| substr ---+---------- - 1|1111111111 - 2|2222222222 -(2 rows) - - -starting permutation: lsha1 upd1 reind2 rol1 sel2 -step lsha1: lock TABLE reind_con_wide in SHARE MODE; -step upd1: UPDATE reind_con_wide SET data = (SELECT repeat('4', 11) || string_agg(g.i::text || random()::text, '') FROM generate_series(1, 500) g(i)) WHERE id = 1; -step reind2: REINDEX INDEX CONCURRENTLY pg_toast.reind_con_toast_idx; -step rol1: ROLLBACK; -step reind2: <... completed> -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -id| substr ---+---------- - 1|1111111111 - 2|2222222222 -(2 rows) - - -starting permutation: lsha1 del1 retab2 rol1 sel2 -step lsha1: lock TABLE reind_con_wide in SHARE MODE; -step del1: DELETE FROM reind_con_wide WHERE id = 2; -step retab2: REINDEX TABLE CONCURRENTLY pg_toast.reind_con_toast; -step rol1: ROLLBACK; -step retab2: <... completed> -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -id| substr ---+---------- - 1|1111111111 - 2|2222222222 -(2 rows) - - -starting permutation: lsha1 del1 reind2 rol1 sel2 -step lsha1: lock TABLE reind_con_wide in SHARE MODE; -step del1: DELETE FROM reind_con_wide WHERE id = 2; -step reind2: REINDEX INDEX CONCURRENTLY pg_toast.reind_con_toast_idx; -step rol1: ROLLBACK; -step reind2: <... completed> -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -id| substr ---+---------- - 1|1111111111 - 2|2222222222 -(2 rows) - - -starting permutation: lsha1 dro1 retab2 rol1 sel2 -step lsha1: lock TABLE reind_con_wide in SHARE MODE; -step dro1: DROP TABLE reind_con_wide; -step retab2: REINDEX TABLE CONCURRENTLY pg_toast.reind_con_toast; -step rol1: ROLLBACK; -step retab2: <... completed> -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -id| substr ---+---------- - 1|1111111111 - 2|2222222222 -(2 rows) - - -starting permutation: lsha1 dro1 reind2 rol1 sel2 -step lsha1: lock TABLE reind_con_wide in SHARE MODE; -step dro1: DROP TABLE reind_con_wide; -step reind2: REINDEX INDEX CONCURRENTLY pg_toast.reind_con_toast_idx; -step rol1: ROLLBACK; -step reind2: <... completed> -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -id| substr ---+---------- - 1|1111111111 - 2|2222222222 -(2 rows) - - -starting permutation: lsha1 retab2 dro1 rol1 sel2 -step lsha1: lock TABLE reind_con_wide in SHARE MODE; -step retab2: REINDEX TABLE CONCURRENTLY pg_toast.reind_con_toast; -step dro1: DROP TABLE reind_con_wide; -step rol1: ROLLBACK; -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -id| substr ---+---------- - 1|1111111111 - 2|2222222222 -(2 rows) - - -starting permutation: lsha1 reind2 dro1 rol1 sel2 -step lsha1: lock TABLE reind_con_wide in SHARE MODE; -step reind2: REINDEX INDEX CONCURRENTLY pg_toast.reind_con_toast_idx; -step dro1: DROP TABLE reind_con_wide; -step rol1: ROLLBACK; -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -id| substr ---+---------- - 1|1111111111 - 2|2222222222 -(2 rows) - - -starting permutation: lexc1 ins1 retab2 rol1 sel2 -step lexc1: lock TABLE reind_con_wide in EXCLUSIVE MODE; -step ins1: INSERT INTO reind_con_wide SELECT 3, repeat('3', 11) || string_agg(g.i::text || random()::text, '') FROM generate_series(1, 500) g(i); -step retab2: REINDEX TABLE CONCURRENTLY pg_toast.reind_con_toast; -step rol1: ROLLBACK; -step retab2: <... completed> -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -id| substr ---+---------- - 1|1111111111 - 2|2222222222 -(2 rows) - - -starting permutation: lexc1 ins1 reind2 rol1 sel2 -step lexc1: lock TABLE reind_con_wide in EXCLUSIVE MODE; -step ins1: INSERT INTO reind_con_wide SELECT 3, repeat('3', 11) || string_agg(g.i::text || random()::text, '') FROM generate_series(1, 500) g(i); -step reind2: REINDEX INDEX CONCURRENTLY pg_toast.reind_con_toast_idx; -step rol1: ROLLBACK; -step reind2: <... completed> -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -id| substr ---+---------- - 1|1111111111 - 2|2222222222 -(2 rows) - - -starting permutation: lexc1 upd1 retab2 rol1 sel2 -step lexc1: lock TABLE reind_con_wide in EXCLUSIVE MODE; -step upd1: UPDATE reind_con_wide SET data = (SELECT repeat('4', 11) || string_agg(g.i::text || random()::text, '') FROM generate_series(1, 500) g(i)) WHERE id = 1; -step retab2: REINDEX TABLE CONCURRENTLY pg_toast.reind_con_toast; -step rol1: ROLLBACK; -step retab2: <... completed> -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -id| substr ---+---------- - 1|1111111111 - 2|2222222222 -(2 rows) - - -starting permutation: lexc1 upd1 reind2 rol1 sel2 -step lexc1: lock TABLE reind_con_wide in EXCLUSIVE MODE; -step upd1: UPDATE reind_con_wide SET data = (SELECT repeat('4', 11) || string_agg(g.i::text || random()::text, '') FROM generate_series(1, 500) g(i)) WHERE id = 1; -step reind2: REINDEX INDEX CONCURRENTLY pg_toast.reind_con_toast_idx; -step rol1: ROLLBACK; -step reind2: <... completed> -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -id| substr ---+---------- - 1|1111111111 - 2|2222222222 -(2 rows) - - -starting permutation: lexc1 del1 retab2 rol1 sel2 -step lexc1: lock TABLE reind_con_wide in EXCLUSIVE MODE; -step del1: DELETE FROM reind_con_wide WHERE id = 2; -step retab2: REINDEX TABLE CONCURRENTLY pg_toast.reind_con_toast; -step rol1: ROLLBACK; -step retab2: <... completed> -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -id| substr ---+---------- - 1|1111111111 - 2|2222222222 -(2 rows) - - -starting permutation: lexc1 del1 reind2 rol1 sel2 -step lexc1: lock TABLE reind_con_wide in EXCLUSIVE MODE; -step del1: DELETE FROM reind_con_wide WHERE id = 2; -step reind2: REINDEX INDEX CONCURRENTLY pg_toast.reind_con_toast_idx; -step rol1: ROLLBACK; -step reind2: <... completed> -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -id| substr ---+---------- - 1|1111111111 - 2|2222222222 -(2 rows) - - -starting permutation: lexc1 dro1 retab2 rol1 sel2 -step lexc1: lock TABLE reind_con_wide in EXCLUSIVE MODE; -step dro1: DROP TABLE reind_con_wide; -step retab2: REINDEX TABLE CONCURRENTLY pg_toast.reind_con_toast; -step rol1: ROLLBACK; -step retab2: <... completed> -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -id| substr ---+---------- - 1|1111111111 - 2|2222222222 -(2 rows) - - -starting permutation: lexc1 dro1 reind2 rol1 sel2 -step lexc1: lock TABLE reind_con_wide in EXCLUSIVE MODE; -step dro1: DROP TABLE reind_con_wide; -step reind2: REINDEX INDEX CONCURRENTLY pg_toast.reind_con_toast_idx; -step rol1: ROLLBACK; -step reind2: <... completed> -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -id| substr ---+---------- - 1|1111111111 - 2|2222222222 -(2 rows) - - -starting permutation: lexc1 retab2 dro1 rol1 sel2 -step lexc1: lock TABLE reind_con_wide in EXCLUSIVE MODE; -step retab2: REINDEX TABLE CONCURRENTLY pg_toast.reind_con_toast; -step dro1: DROP TABLE reind_con_wide; -step rol1: ROLLBACK; -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -id| substr ---+---------- - 1|1111111111 - 2|2222222222 -(2 rows) - - -starting permutation: lexc1 reind2 dro1 rol1 sel2 -step lexc1: lock TABLE reind_con_wide in EXCLUSIVE MODE; -step reind2: REINDEX INDEX CONCURRENTLY pg_toast.reind_con_toast_idx; -step dro1: DROP TABLE reind_con_wide; -step rol1: ROLLBACK; -step sel2: SELECT id, substr(data, 1, 10) FROM reind_con_wide ORDER BY id; -id| substr ---+---------- - 1|1111111111 - 2|2222222222 -(2 rows) - +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/reindex-schema.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/reindex-schema.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/reindex-schema.out 2025-08-23 05:04:11.956957407 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/reindex-schema.out 2025-08-23 05:09:24.087441093 +0000 @@ -1,17 +1,3 @@ Parsed test spec with 3 sessions - -starting permutation: begin1 lock1 reindex2 drop3 end1 -step begin1: BEGIN; -step lock1: LOCK reindex_schema.tab_locked IN SHARE UPDATE EXCLUSIVE MODE; -step reindex2: REINDEX SCHEMA reindex_schema; -step drop3: DROP TABLE reindex_schema.tab_dropped; -step end1: COMMIT; -step reindex2: <... completed> - -starting permutation: begin1 lock1 reindex_conc2 drop3 end1 -step begin1: BEGIN; -step lock1: LOCK reindex_schema.tab_locked IN SHARE UPDATE EXCLUSIVE MODE; -step reindex_conc2: REINDEX SCHEMA CONCURRENTLY reindex_schema; -step drop3: DROP TABLE reindex_schema.tab_dropped; -step end1: COMMIT; -step reindex_conc2: <... completed> +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/propagate-lock-delete.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/propagate-lock-delete.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/propagate-lock-delete.out 2025-08-23 05:04:11.952962507 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/propagate-lock-delete.out 2025-08-23 05:09:24.151440941 +0000 @@ -1,105 +1,3 @@ Parsed test spec with 3 sessions - -starting permutation: s1b s1l s2b s2l s3b s3u s3d s1c s2c s3c -step s1b: BEGIN; -step s1l: INSERT INTO child VALUES (1); -step s2b: BEGIN; -step s2l: INSERT INTO child VALUES (1); -step s3b: BEGIN; -step s3u: UPDATE parent SET c=lower(c); -step s3d: DELETE FROM parent; -step s1c: COMMIT; -step s2c: COMMIT; -step s3d: <... completed> -ERROR: update or delete on table "parent" violates foreign key constraint "child_i_fkey" on table "child" -step s3c: COMMIT; - -starting permutation: s1b s1l s2b s2l s3b s3u s3svu s3d s1c s2c s3c -step s1b: BEGIN; -step s1l: INSERT INTO child VALUES (1); -step s2b: BEGIN; -step s2l: INSERT INTO child VALUES (1); -step s3b: BEGIN; -step s3u: UPDATE parent SET c=lower(c); -step s3svu: SAVEPOINT f; UPDATE parent SET c = 'bbb'; ROLLBACK TO f; -step s3d: DELETE FROM parent; -step s1c: COMMIT; -step s2c: COMMIT; -step s3d: <... completed> -ERROR: update or delete on table "parent" violates foreign key constraint "child_i_fkey" on table "child" -step s3c: COMMIT; - -starting permutation: s1b s1l s2b s2l s3b s3u2 s3d s1c s2c s3c -step s1b: BEGIN; -step s1l: INSERT INTO child VALUES (1); -step s2b: BEGIN; -step s2l: INSERT INTO child VALUES (1); -step s3b: BEGIN; -step s3u2: UPDATE parent SET i = i; -step s3d: DELETE FROM parent; -step s1c: COMMIT; -step s2c: COMMIT; -step s3d: <... completed> -ERROR: update or delete on table "parent" violates foreign key constraint "child_i_fkey" on table "child" -step s3c: COMMIT; - -starting permutation: s1b s1l s2b s2l s3b s3u2 s3svu s3d s1c s2c s3c -step s1b: BEGIN; -step s1l: INSERT INTO child VALUES (1); -step s2b: BEGIN; -step s2l: INSERT INTO child VALUES (1); -step s3b: BEGIN; -step s3u2: UPDATE parent SET i = i; -step s3svu: SAVEPOINT f; UPDATE parent SET c = 'bbb'; ROLLBACK TO f; -step s3d: DELETE FROM parent; -step s1c: COMMIT; -step s2c: COMMIT; -step s3d: <... completed> -ERROR: update or delete on table "parent" violates foreign key constraint "child_i_fkey" on table "child" -step s3c: COMMIT; - -starting permutation: s1b s1l s3b s3u s3d s1c s3c -step s1b: BEGIN; -step s1l: INSERT INTO child VALUES (1); -step s3b: BEGIN; -step s3u: UPDATE parent SET c=lower(c); -step s3d: DELETE FROM parent; -step s1c: COMMIT; -step s3d: <... completed> -ERROR: update or delete on table "parent" violates foreign key constraint "child_i_fkey" on table "child" -step s3c: COMMIT; - -starting permutation: s1b s1l s3b s3u s3svu s3d s1c s3c -step s1b: BEGIN; -step s1l: INSERT INTO child VALUES (1); -step s3b: BEGIN; -step s3u: UPDATE parent SET c=lower(c); -step s3svu: SAVEPOINT f; UPDATE parent SET c = 'bbb'; ROLLBACK TO f; -step s3d: DELETE FROM parent; -step s1c: COMMIT; -step s3d: <... completed> -ERROR: update or delete on table "parent" violates foreign key constraint "child_i_fkey" on table "child" -step s3c: COMMIT; - -starting permutation: s1b s1l s3b s3u2 s3d s1c s3c -step s1b: BEGIN; -step s1l: INSERT INTO child VALUES (1); -step s3b: BEGIN; -step s3u2: UPDATE parent SET i = i; -step s3d: DELETE FROM parent; -step s1c: COMMIT; -step s3d: <... completed> -ERROR: update or delete on table "parent" violates foreign key constraint "child_i_fkey" on table "child" -step s3c: COMMIT; - -starting permutation: s1b s1l s3b s3u2 s3svu s3d s1c s3c -step s1b: BEGIN; -step s1l: INSERT INTO child VALUES (1); -step s3b: BEGIN; -step s3u2: UPDATE parent SET i = i; -step s3svu: SAVEPOINT f; UPDATE parent SET c = 'bbb'; ROLLBACK TO f; -step s3d: DELETE FROM parent; -step s1c: COMMIT; -step s3d: <... completed> -ERROR: update or delete on table "parent" violates foreign key constraint "child_i_fkey" on table "child" -step s3c: COMMIT; +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/tuplelock-conflict.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/tuplelock-conflict.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/tuplelock-conflict.out 2025-08-23 05:04:11.960952309 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/tuplelock-conflict.out 2025-08-23 05:09:24.247440714 +0000 @@ -1,629 +1,3 @@ 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) - +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/tuplelock-update.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/tuplelock-update.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/tuplelock-update.out 2025-08-23 05:04:11.960952309 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/tuplelock-update.out 2025-08-23 05:09:24.323440532 +0000 @@ -1,49 +1,3 @@ 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; -step s3_update: UPDATE pktab SET data = DEFAULT WHERE pg_advisory_lock_shared(285714) IS NOT NULL; -step s4_update: UPDATE pktab SET data = DEFAULT WHERE pg_advisory_lock_shared(571428) IS NOT NULL; -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); -step s2_update: <... completed> -step s1_advunlock1: <... completed> -pg_advisory_unlock ------------------- -t -(1 row) - -step s1_advunlock2: SELECT pg_advisory_unlock(285714); -step s3_update: <... completed> -step s1_advunlock2: <... completed> -pg_advisory_unlock ------------------- -t -(1 row) - -step s1_advunlock3: SELECT pg_advisory_unlock(571428); -step s4_update: <... completed> -step s1_advunlock3: <... completed> -pg_advisory_unlock ------------------- -t -(1 row) - -step s1_commit: COMMIT; +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/tuplelock-upgrade-no-deadlock.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/tuplelock-upgrade-no-deadlock.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/tuplelock-upgrade-no-deadlock.out 2025-08-23 05:04:11.960952309 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/tuplelock-upgrade-no-deadlock.out 2025-08-23 05:09:24.395440363 +0000 @@ -1,253 +1,3 @@ Parsed test spec with 4 sessions - -starting permutation: s1_share s2_for_update s3_share s3_for_update s1_rollback s3_rollback s2_rollback -step s1_share: select id from tlu_job where id = 1 for share; -id --- - 1 -(1 row) - -step s2_for_update: select id from tlu_job where id = 1 for update; -step s3_share: select id from tlu_job where id = 1 for share; -id --- - 1 -(1 row) - -step s3_for_update: select id from tlu_job where id = 1 for update; -step s1_rollback: rollback; -step s3_for_update: <... completed> -id --- - 1 -(1 row) - -step s3_rollback: rollback; -step s2_for_update: <... completed> -id --- - 1 -(1 row) - -step s2_rollback: rollback; - -starting permutation: s1_keyshare s2_for_update s3_keyshare s1_update s3_update s1_rollback s3_rollback s2_rollback -step s1_keyshare: select id from tlu_job where id = 1 for key share; -id --- - 1 -(1 row) - -step s2_for_update: select id from tlu_job where id = 1 for update; -step s3_keyshare: select id from tlu_job where id = 1 for key share; -id --- - 1 -(1 row) - -step s1_update: update tlu_job set name = 'b' where id = 1; -step s3_update: update tlu_job set name = 'c' where id = 1; -step s1_rollback: rollback; -step s3_update: <... completed> -step s3_rollback: rollback; -step s2_for_update: <... completed> -id --- - 1 -(1 row) - -step s2_rollback: rollback; - -starting permutation: s1_keyshare s2_for_update s3_keyshare s1_update s3_update s1_commit s3_rollback s2_rollback -step s1_keyshare: select id from tlu_job where id = 1 for key share; -id --- - 1 -(1 row) - -step s2_for_update: select id from tlu_job where id = 1 for update; -step s3_keyshare: select id from tlu_job where id = 1 for key share; -id --- - 1 -(1 row) - -step s1_update: update tlu_job set name = 'b' where id = 1; -step s3_update: update tlu_job set name = 'c' where id = 1; -step s1_commit: commit; -step s3_update: <... completed> -step s3_rollback: rollback; -step s2_for_update: <... completed> -id --- - 1 -(1 row) - -step s2_rollback: rollback; - -starting permutation: s1_keyshare s2_for_update s3_keyshare s3_delete s1_rollback s3_rollback s2_rollback -step s1_keyshare: select id from tlu_job where id = 1 for key share; -id --- - 1 -(1 row) - -step s2_for_update: select id from tlu_job where id = 1 for update; -step s3_keyshare: select id from tlu_job where id = 1 for key share; -id --- - 1 -(1 row) - -step s3_delete: delete from tlu_job where id = 1; -step s1_rollback: rollback; -step s3_delete: <... completed> -step s3_rollback: rollback; -step s2_for_update: <... completed> -id --- - 1 -(1 row) - -step s2_rollback: rollback; - -starting permutation: s1_keyshare s2_for_update s3_keyshare s3_delete s1_rollback s3_commit s2_rollback -step s1_keyshare: select id from tlu_job where id = 1 for key share; -id --- - 1 -(1 row) - -step s2_for_update: select id from tlu_job where id = 1 for update; -step s3_keyshare: select id from tlu_job where id = 1 for key share; -id --- - 1 -(1 row) - -step s3_delete: delete from tlu_job where id = 1; -step s1_rollback: rollback; -step s3_delete: <... completed> -step s3_commit: commit; -step s2_for_update: <... completed> -id --- -(0 rows) - -step s2_rollback: rollback; - -starting permutation: s1_share s2_for_update s3_for_update s1_rollback s2_rollback s3_rollback -step s1_share: select id from tlu_job where id = 1 for share; -id --- - 1 -(1 row) - -step s2_for_update: select id from tlu_job where id = 1 for update; -step s3_for_update: select id from tlu_job where id = 1 for update; -step s1_rollback: rollback; -step s2_for_update: <... completed> -id --- - 1 -(1 row) - -step s2_rollback: rollback; -step s3_for_update: <... completed> -id --- - 1 -(1 row) - -step s3_rollback: rollback; - -starting permutation: s1_share s2_update s3_update s1_rollback s2_rollback s3_rollback -step s1_share: select id from tlu_job where id = 1 for share; -id --- - 1 -(1 row) - -step s2_update: update tlu_job set name = 'b' where id = 1; -step s3_update: update tlu_job set name = 'c' where id = 1; -step s1_rollback: rollback; -step s2_update: <... completed> -step s2_rollback: rollback; -step s3_update: <... completed> -step s3_rollback: rollback; - -starting permutation: s1_share s2_delete s3_delete s1_rollback s2_rollback s3_rollback -step s1_share: select id from tlu_job where id = 1 for share; -id --- - 1 -(1 row) - -step s2_delete: delete from tlu_job where id = 1; -step s3_delete: delete from tlu_job where id = 1; -step s1_rollback: rollback; -step s2_delete: <... completed> -step s2_rollback: rollback; -step s3_delete: <... completed> -step s3_rollback: rollback; - -starting permutation: s1_keyshare s3_for_update s2_for_keyshare s1_savept_e s1_share s1_savept_f s1_fornokeyupd s2_fornokeyupd s0_begin s0_keyshare s1_rollback_f s0_keyshare s1_rollback_e s1_rollback s2_rollback s0_rollback s3_rollback -step s1_keyshare: select id from tlu_job where id = 1 for key share; -id --- - 1 -(1 row) - -step s3_for_update: select id from tlu_job where id = 1 for update; -step s2_for_keyshare: select id from tlu_job where id = 1 for key share; -id --- - 1 -(1 row) - -step s1_savept_e: savepoint s1_e; -step s1_share: select id from tlu_job where id = 1 for share; -id --- - 1 -(1 row) - -step s1_savept_f: savepoint s1_f; -step s1_fornokeyupd: select id from tlu_job where id = 1 for no key update; -id --- - 1 -(1 row) - -step s2_fornokeyupd: select id from tlu_job where id = 1 for no key update; -step s0_begin: begin; -step s0_keyshare: select id from tlu_job where id = 1 for key share; -id --- - 1 -(1 row) - -step s1_rollback_f: rollback to s1_f; -step s0_keyshare: select id from tlu_job where id = 1 for key share; -id --- - 1 -(1 row) - -step s1_rollback_e: rollback to s1_e; -step s2_fornokeyupd: <... completed> -id --- - 1 -(1 row) - -step s1_rollback: rollback; -step s2_rollback: rollback; -step s0_rollback: rollback; -step s3_for_update: <... completed> -id --- - 1 -(1 row) - -step s3_rollback: rollback; +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/tuplelock-partition.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/tuplelock-partition.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/tuplelock-partition.out 2025-08-23 05:04:11.960952309 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/tuplelock-partition.out 2025-08-23 05:09:24.451440229 +0000 @@ -1,24 +1,3 @@ Parsed test spec with 2 sessions - -starting permutation: s1b s1update_nokey s2locktuple s1c -step s1b: BEGIN; -step s1update_nokey: INSERT INTO parttab (key, col1, col2) VALUES (1, 'a', 'b') ON CONFLICT (key) DO UPDATE SET col1 = 'x', col2 = 'y'; -step s2locktuple: SELECT * FROM parttab FOR KEY SHARE; -col1|key|col2 -----+---+---- -a | 1|b -(1 row) - -step s1c: COMMIT; - -starting permutation: s1b s1update_key s2locktuple s1c -step s1b: BEGIN; -step s1update_key: INSERT INTO parttab (key, col1, col2) VALUES (1, 'a', 'b') ON CONFLICT (key) DO UPDATE SET key=1; -step s2locktuple: SELECT * FROM parttab FOR KEY SHARE; -step s1c: COMMIT; -step s2locktuple: <... completed> -col1|key|col2 -----+---+---- -a | 1|b -(1 row) - +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/freeze-the-dead.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/freeze-the-dead.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/freeze-the-dead.out 2025-08-23 05:04:11.940977803 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/freeze-the-dead.out 2025-08-23 05:09:24.519440069 +0000 @@ -1,44 +1,3 @@ Parsed test spec with 3 sessions - -starting permutation: s1_begin s2_begin s3_begin s1_update s2_key_share s3_key_share s1_update s1_commit s2_commit s2_vacuum s1_selectone s3_commit s2_vacuum s1_selectall -step s1_begin: BEGIN; -step s2_begin: BEGIN; -step s3_begin: BEGIN; -step s1_update: UPDATE tab_freeze SET x = x + 1 WHERE id = 3; -step s2_key_share: SELECT id FROM tab_freeze WHERE id = 3 FOR KEY SHARE; -id --- - 3 -(1 row) - -step s3_key_share: SELECT id FROM tab_freeze WHERE id = 3 FOR KEY SHARE; -id --- - 3 -(1 row) - -step s1_update: UPDATE tab_freeze SET x = x + 1 WHERE id = 3; -step s1_commit: COMMIT; -step s2_commit: COMMIT; -step s2_vacuum: VACUUM FREEZE tab_freeze; -step s1_selectone: - BEGIN; - SET LOCAL enable_seqscan = false; - SET LOCAL enable_bitmapscan = false; - SELECT * FROM tab_freeze WHERE id = 3; - COMMIT; - -id|name|x ---+----+- - 3| 333|2 -(1 row) - -step s3_commit: COMMIT; -step s2_vacuum: VACUUM FREEZE tab_freeze; -step s1_selectall: SELECT * FROM tab_freeze ORDER BY name, id; -id|name|x ---+----+- - 1| 111|0 - 3| 333|2 -(2 rows) - +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/nowait.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/nowait.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/nowait.out 2025-08-23 05:04:11.944972704 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/nowait.out 2025-08-23 05:09:24.591439897 +0000 @@ -1,81 +1,3 @@ Parsed test spec with 2 sessions - -starting permutation: s1a s1b s2a s2b -step s1a: SELECT * FROM foo FOR UPDATE NOWAIT; -id|data ---+---- - 1|x -(1 row) - -step s1b: COMMIT; -step s2a: SELECT * FROM foo FOR UPDATE NOWAIT; -id|data ---+---- - 1|x -(1 row) - -step s2b: COMMIT; - -starting permutation: s1a s2a s1b s2b -step s1a: SELECT * FROM foo FOR UPDATE NOWAIT; -id|data ---+---- - 1|x -(1 row) - -step s2a: SELECT * FROM foo FOR UPDATE NOWAIT; -ERROR: could not obtain lock on row in relation "foo" -step s1b: COMMIT; -step s2b: COMMIT; - -starting permutation: s1a s2a s2b s1b -step s1a: SELECT * FROM foo FOR UPDATE NOWAIT; -id|data ---+---- - 1|x -(1 row) - -step s2a: SELECT * FROM foo FOR UPDATE NOWAIT; -ERROR: could not obtain lock on row in relation "foo" -step s2b: COMMIT; -step s1b: COMMIT; - -starting permutation: s2a s1a s1b s2b -step s2a: SELECT * FROM foo FOR UPDATE NOWAIT; -id|data ---+---- - 1|x -(1 row) - -step s1a: SELECT * FROM foo FOR UPDATE NOWAIT; -ERROR: could not obtain lock on row in relation "foo" -step s1b: COMMIT; -step s2b: COMMIT; - -starting permutation: s2a s1a s2b s1b -step s2a: SELECT * FROM foo FOR UPDATE NOWAIT; -id|data ---+---- - 1|x -(1 row) - -step s1a: SELECT * FROM foo FOR UPDATE NOWAIT; -ERROR: could not obtain lock on row in relation "foo" -step s2b: COMMIT; -step s1b: COMMIT; - -starting permutation: s2a s2b s1a s1b -step s2a: SELECT * FROM foo FOR UPDATE NOWAIT; -id|data ---+---- - 1|x -(1 row) - -step s2b: COMMIT; -step s1a: SELECT * FROM foo FOR UPDATE NOWAIT; -id|data ---+---- - 1|x -(1 row) - -step s1b: COMMIT; +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/nowait-2.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/nowait-2.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/nowait-2.out 2025-08-23 05:04:11.944972704 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/nowait-2.out 2025-08-23 05:09:24.711439614 +0000 @@ -1,55 +1,3 @@ Parsed test spec with 2 sessions - -starting permutation: s1a s2a s2b s1b s2c -step s1a: SELECT * FROM foo FOR SHARE NOWAIT; -id|data ---+---- - 1|x -(1 row) - -step s2a: SELECT * FROM foo FOR SHARE NOWAIT; -id|data ---+---- - 1|x -(1 row) - -step s2b: SELECT * FROM foo FOR UPDATE NOWAIT; -ERROR: could not obtain lock on row in relation "foo" -step s1b: COMMIT; -step s2c: COMMIT; - -starting permutation: s2a s1a s2b s1b s2c -step s2a: SELECT * FROM foo FOR SHARE NOWAIT; -id|data ---+---- - 1|x -(1 row) - -step s1a: SELECT * FROM foo FOR SHARE NOWAIT; -id|data ---+---- - 1|x -(1 row) - -step s2b: SELECT * FROM foo FOR UPDATE NOWAIT; -ERROR: could not obtain lock on row in relation "foo" -step s1b: COMMIT; -step s2c: COMMIT; - -starting permutation: s2a s2b s1a s1b s2c -step s2a: SELECT * FROM foo FOR SHARE NOWAIT; -id|data ---+---- - 1|x -(1 row) - -step s2b: SELECT * FROM foo FOR UPDATE NOWAIT; -id|data ---+---- - 1|x -(1 row) - -step s1a: SELECT * FROM foo FOR SHARE NOWAIT; -ERROR: could not obtain lock on row in relation "foo" -step s1b: COMMIT; -step s2c: COMMIT; +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/nowait-3.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/nowait-3.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/nowait-3.out 2025-08-23 05:04:11.944972704 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/nowait-3.out 2025-08-23 05:09:24.819439358 +0000 @@ -1,21 +1,3 @@ Parsed test spec with 3 sessions - -starting permutation: s1a s2a s3a s1b s2b s3b -step s1a: SELECT * FROM foo FOR UPDATE; -id|data ---+---- - 1|x -(1 row) - -step s2a: SELECT * FROM foo FOR UPDATE; -step s3a: SELECT * FROM foo FOR UPDATE NOWAIT; -ERROR: could not obtain lock on row in relation "foo" -step s1b: COMMIT; -step s2a: <... completed> -id|data ---+---- - 1|x -(1 row) - -step s2b: COMMIT; -step s3b: COMMIT; +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/nowait-4.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/nowait-4.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/nowait-4.out 2025-08-23 05:04:11.944972704 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/nowait-4.out 2025-08-23 05:09:24.903439158 +0000 @@ -1,23 +1,3 @@ Parsed test spec with 2 sessions - -starting permutation: s2a s1a s2b s2c s2d s2e s1b s2f -step s2a: SELECT pg_advisory_lock(0); -pg_advisory_lock ----------------- - -(1 row) - -step s1a: SELECT * FROM foo WHERE pg_advisory_lock(0) IS NOT NULL FOR UPDATE NOWAIT; -step s2b: UPDATE foo SET data = data; -step s2c: BEGIN; -step s2d: UPDATE foo SET data = data; -step s2e: SELECT pg_advisory_unlock(0); -pg_advisory_unlock ------------------- -t -(1 row) - -step s1a: <... completed> -ERROR: could not obtain lock on row in relation "foo" -step s1b: COMMIT; -step s2f: COMMIT; +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/nowait-5.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/nowait-5.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/nowait-5.out 2025-08-23 05:04:11.944972704 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/nowait-5.out 2025-08-23 05:09:24.995438940 +0000 @@ -1,43 +1,3 @@ Parsed test spec with 3 sessions - -starting permutation: sl1_prep upd_getlock sl1_exec upd_doupdate lk1_doforshare upd_releaselock -step sl1_prep: - PREPARE sl1_run AS SELECT id FROM test_nowait WHERE pg_advisory_lock(0) is not null FOR UPDATE NOWAIT; - -step upd_getlock: - SELECT pg_advisory_lock(0); - -pg_advisory_lock ----------------- - -(1 row) - -step sl1_exec: - BEGIN ISOLATION LEVEL READ COMMITTED; - EXECUTE sl1_run; - SELECT xmin, xmax, ctid, * FROM test_nowait; - -step upd_doupdate: - BEGIN ISOLATION LEVEL READ COMMITTED; - UPDATE test_nowait SET value = value WHERE id % 2 = 0; - COMMIT; - -step lk1_doforshare: - BEGIN ISOLATION LEVEL READ COMMITTED; - SELECT id FROM test_nowait WHERE id % 2 = 0 FOR SHARE; - -id --- - 2 -(1 row) - -step upd_releaselock: - SELECT pg_advisory_unlock(0); - -pg_advisory_unlock ------------------- -t -(1 row) - -step sl1_exec: <... completed> -ERROR: could not obtain lock on row in relation "test_nowait" +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/skip-locked.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/skip-locked.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/skip-locked.out 2025-08-23 05:04:11.956957407 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/skip-locked.out 2025-08-23 05:09:25.099438691 +0000 @@ -1,561 +1,3 @@ Parsed test spec with 2 sessions - -starting permutation: s1a s1b s1c s2a s2b s2c -step s1a: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s1b: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s1c: COMMIT; -step s2a: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s2b: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s2c: COMMIT; - -starting permutation: s1a s1b s2a s1c s2b s2c -step s1a: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s1b: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s2a: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 2|bar |NEW -(1 row) - -step s1c: COMMIT; -step s2b: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s2c: COMMIT; - -starting permutation: s1a s1b s2a s2b s1c s2c -step s1a: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s1b: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s2a: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 2|bar |NEW -(1 row) - -step s2b: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 2|bar |NEW -(1 row) - -step s1c: COMMIT; -step s2c: COMMIT; - -starting permutation: s1a s1b s2a s2b s2c s1c -step s1a: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s1b: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s2a: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 2|bar |NEW -(1 row) - -step s2b: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 2|bar |NEW -(1 row) - -step s2c: COMMIT; -step s1c: COMMIT; - -starting permutation: s1a s2a s1b s1c s2b s2c -step s1a: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s2a: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 2|bar |NEW -(1 row) - -step s1b: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s1c: COMMIT; -step s2b: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s2c: COMMIT; - -starting permutation: s1a s2a s1b s2b s1c s2c -step s1a: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s2a: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 2|bar |NEW -(1 row) - -step s1b: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s2b: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 2|bar |NEW -(1 row) - -step s1c: COMMIT; -step s2c: COMMIT; - -starting permutation: s1a s2a s1b s2b s2c s1c -step s1a: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s2a: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 2|bar |NEW -(1 row) - -step s1b: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s2b: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 2|bar |NEW -(1 row) - -step s2c: COMMIT; -step s1c: COMMIT; - -starting permutation: s1a s2a s2b s1b s1c s2c -step s1a: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s2a: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 2|bar |NEW -(1 row) - -step s2b: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 2|bar |NEW -(1 row) - -step s1b: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s1c: COMMIT; -step s2c: COMMIT; - -starting permutation: s1a s2a s2b s1b s2c s1c -step s1a: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s2a: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 2|bar |NEW -(1 row) - -step s2b: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 2|bar |NEW -(1 row) - -step s1b: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s2c: COMMIT; -step s1c: COMMIT; - -starting permutation: s1a s2a s2b s2c s1b s1c -step s1a: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s2a: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 2|bar |NEW -(1 row) - -step s2b: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 2|bar |NEW -(1 row) - -step s2c: COMMIT; -step s1b: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s1c: COMMIT; - -starting permutation: s2a s1a s1b s1c s2b s2c -step s2a: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s1a: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 2|bar |NEW -(1 row) - -step s1b: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 2|bar |NEW -(1 row) - -step s1c: COMMIT; -step s2b: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s2c: COMMIT; - -starting permutation: s2a s1a s1b s2b s1c s2c -step s2a: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s1a: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 2|bar |NEW -(1 row) - -step s1b: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 2|bar |NEW -(1 row) - -step s2b: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s1c: COMMIT; -step s2c: COMMIT; - -starting permutation: s2a s1a s1b s2b s2c s1c -step s2a: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s1a: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 2|bar |NEW -(1 row) - -step s1b: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 2|bar |NEW -(1 row) - -step s2b: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s2c: COMMIT; -step s1c: COMMIT; - -starting permutation: s2a s1a s2b s1b s1c s2c -step s2a: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s1a: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 2|bar |NEW -(1 row) - -step s2b: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s1b: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 2|bar |NEW -(1 row) - -step s1c: COMMIT; -step s2c: COMMIT; - -starting permutation: s2a s1a s2b s1b s2c s1c -step s2a: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s1a: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 2|bar |NEW -(1 row) - -step s2b: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s1b: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 2|bar |NEW -(1 row) - -step s2c: COMMIT; -step s1c: COMMIT; - -starting permutation: s2a s1a s2b s2c s1b s1c -step s2a: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s1a: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 2|bar |NEW -(1 row) - -step s2b: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s2c: COMMIT; -step s1b: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s1c: COMMIT; - -starting permutation: s2a s2b s1a s1b s1c s2c -step s2a: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s2b: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s1a: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 2|bar |NEW -(1 row) - -step s1b: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 2|bar |NEW -(1 row) - -step s1c: COMMIT; -step s2c: COMMIT; - -starting permutation: s2a s2b s1a s1b s2c s1c -step s2a: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s2b: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s1a: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 2|bar |NEW -(1 row) - -step s1b: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 2|bar |NEW -(1 row) - -step s2c: COMMIT; -step s1c: COMMIT; - -starting permutation: s2a s2b s1a s2c s1b s1c -step s2a: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s2b: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s1a: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 2|bar |NEW -(1 row) - -step s2c: COMMIT; -step s1b: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s1c: COMMIT; - -starting permutation: s2a s2b s2c s1a s1b s1c -step s2a: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s2b: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s2c: COMMIT; -step s1a: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s1b: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s1c: COMMIT; +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/skip-locked-2.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/skip-locked-2.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/skip-locked-2.out 2025-08-23 05:04:11.956957407 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/skip-locked-2.out 2025-08-23 05:09:25.159438547 +0000 @@ -1,67 +1,3 @@ Parsed test spec with 2 sessions - -starting permutation: s1a s2a s2b s1b s2c -step s1a: SELECT * FROM queue ORDER BY id FOR SHARE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s2a: SELECT * FROM queue ORDER BY id FOR SHARE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s2b: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 2|bar |NEW -(1 row) - -step s1b: COMMIT; -step s2c: COMMIT; - -starting permutation: s2a s1a s2b s1b s2c -step s2a: SELECT * FROM queue ORDER BY id FOR SHARE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s1a: SELECT * FROM queue ORDER BY id FOR SHARE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s2b: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 2|bar |NEW -(1 row) - -step s1b: COMMIT; -step s2c: COMMIT; - -starting permutation: s2a s2b s1a s1b s2c -step s2a: SELECT * FROM queue ORDER BY id FOR SHARE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s2b: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s1a: SELECT * FROM queue ORDER BY id FOR SHARE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 2|bar |NEW -(1 row) - -step s1b: COMMIT; -step s2c: COMMIT; +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/skip-locked-3.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/skip-locked-3.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/skip-locked-3.out 2025-08-23 05:04:11.956957407 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/skip-locked-3.out 2025-08-23 05:09:25.347438097 +0000 @@ -1,25 +1,3 @@ Parsed test spec with 3 sessions - -starting permutation: s1a s2a s3a s1b s2b s3b -step s1a: SELECT * FROM queue ORDER BY id FOR UPDATE LIMIT 1; -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s2a: SELECT * FROM queue ORDER BY id FOR UPDATE LIMIT 1; -step s3a: SELECT * FROM queue ORDER BY id FOR UPDATE SKIP LOCKED LIMIT 1; -id|data|status ---+----+------ - 2|bar |NEW -(1 row) - -step s1b: COMMIT; -step s2a: <... completed> -id|data|status ---+----+------ - 1|foo |NEW -(1 row) - -step s2b: COMMIT; -step s3b: COMMIT; +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/skip-locked-4_1.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/skip-locked-4.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/skip-locked-4_1.out 2025-08-23 05:04:11.956957407 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/skip-locked-4.out 2025-08-23 05:09:25.439437877 +0000 @@ -1,23 +1,3 @@ Parsed test spec with 2 sessions - -starting permutation: s2a s1a s2b s2c s2d s2e s1b s2f -step s2a: SELECT pg_advisory_lock(0); -pg_advisory_lock ----------------- - -(1 row) - -step s1a: SELECT * FROM foo WHERE pg_advisory_lock(0) IS NOT NULL ORDER BY id LIMIT 1 FOR UPDATE SKIP LOCKED; -step s2b: UPDATE foo SET data = data WHERE id = 1; -step s2c: BEGIN; -step s2d: UPDATE foo SET data = data WHERE id = 1; -step s2e: SELECT pg_advisory_unlock(0); -pg_advisory_unlock ------------------- -t -(1 row) - -step s1a: <... completed> -ERROR: could not serialize access due to concurrent update -step s1b: COMMIT; -step s2f: COMMIT; +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/drop-index-concurrently-1_2.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/drop-index-concurrently-1.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/drop-index-concurrently-1_2.out 2025-08-23 05:04:11.940977803 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/drop-index-concurrently-1.out 2025-08-23 05:09:25.475437791 +0000 @@ -1,55 +1,3 @@ Parsed test spec with 3 sessions - -starting permutation: chkiso prepi preps begin disableseq explaini enableseq explains select2 drop insert2 end2 selecti selects end -step chkiso: SELECT (setting in ('read committed','read uncommitted')) AS is_read_committed FROM pg_settings WHERE name = 'default_transaction_isolation'; -is_read_committed ------------------ -f -(1 row) - -step prepi: PREPARE getrow_idxscan AS SELECT * FROM test_dc WHERE data = 34 ORDER BY id,data; -step preps: PREPARE getrow_seqscan AS SELECT * FROM test_dc WHERE data = 34 ORDER BY id,data; -step begin: BEGIN; -step disableseq: SET enable_seqscan = false; -step explaini: EXPLAIN (COSTS OFF) EXECUTE getrow_idxscan; -QUERY PLAN ----------------------------------------------- -Sort - Sort Key: id - -> Index Scan using test_dc_data on test_dc - Index Cond: (data = 34) -(4 rows) - -step enableseq: SET enable_seqscan = true; -step explains: EXPLAIN (COSTS OFF) EXECUTE getrow_seqscan; -QUERY PLAN ---------------------------- -Sort - Sort Key: id - -> Seq Scan on test_dc - Filter: (data = 34) -(4 rows) - -step select2: SELECT * FROM test_dc WHERE data = 34 ORDER BY id,data; -id|data ---+---- -34| 34 -(1 row) - -step drop: DROP INDEX CONCURRENTLY test_dc_data; -step insert2: INSERT INTO test_dc(data) SELECT * FROM generate_series(1, 100); -step end2: COMMIT; -step selecti: EXECUTE getrow_idxscan; -id|data ---+---- -34| 34 -(1 row) - -step selects: EXECUTE getrow_seqscan; -id|data ---+---- -34| 34 -(1 row) - -step end: COMMIT; -step drop: <... completed> +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/multiple-cic.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/multiple-cic.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/multiple-cic.out 2025-08-23 05:04:11.944972704 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/multiple-cic.out 2025-08-23 05:09:25.567437571 +0000 @@ -1,24 +1,3 @@ Parsed test spec with 2 sessions - -starting permutation: s2l s1i s2i -step s2l: SELECT pg_advisory_lock(281457); -pg_advisory_lock ----------------- - -(1 row) - -step s1i: - CREATE INDEX CONCURRENTLY mcic_one_pkey ON mcic_one (id) - WHERE lck_shr(281457); - -step s2i: - CREATE INDEX CONCURRENTLY mcic_two_pkey ON mcic_two (id) - WHERE unlck(); - -step s1i: <... completed> -step s2i: <... completed> -unlck ------ -t -(1 row) - +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/alter-table-1.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/alter-table-1.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/alter-table-1.out 2025-08-23 05:04:11.936982902 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/alter-table-1.out 2025-08-23 05:09:25.639437398 +0000 @@ -1,3326 +1,3 @@ Parsed test spec with 2 sessions - -starting permutation: s1 at1 sc1 s2 at2 sc2 rx1 wx rx3 c2 -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 sc2: COMMIT; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -step wx: INSERT INTO b VALUES (0); -step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step c2: COMMIT; - -starting permutation: s1 at1 sc1 s2 at2 rx1 sc2 wx rx3 c2 -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 rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -step sc2: COMMIT; -step wx: INSERT INTO b VALUES (0); -step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step c2: COMMIT; - -starting permutation: s1 at1 sc1 s2 at2 rx1 wx sc2 rx3 c2 -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 rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -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 -(3 rows) - -step c2: COMMIT; - -starting permutation: s1 at1 sc1 s2 at2 rx1 wx rx3 sc2 c2 -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 rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -step wx: INSERT INTO b VALUES (0); -step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step sc2: COMMIT; -step c2: COMMIT; - -starting permutation: s1 at1 sc1 s2 at2 rx1 wx rx3 c2 sc2 -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 rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -step wx: INSERT INTO b VALUES (0); -step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step c2: COMMIT; -step sc2: COMMIT; - -starting permutation: s1 at1 sc1 s2 rx1 at2 sc2 wx rx3 c2 -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 rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -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 - 3 - 3 -(3 rows) - -step c2: COMMIT; - -starting permutation: s1 at1 sc1 s2 rx1 at2 wx sc2 rx3 c2 -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 rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -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 -(3 rows) - -step c2: COMMIT; - -starting permutation: s1 at1 sc1 s2 rx1 at2 wx rx3 sc2 c2 -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 rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -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 -(3 rows) - -step sc2: COMMIT; -step c2: COMMIT; - -starting permutation: s1 at1 sc1 s2 rx1 at2 wx rx3 c2 sc2 -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 rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -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 -(3 rows) - -step c2: COMMIT; -step sc2: COMMIT; - -starting permutation: s1 at1 sc1 s2 rx1 wx at2 sc2 rx3 c2 -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 rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -step wx: INSERT INTO b VALUES (0); -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 -(3 rows) - -step c2: COMMIT; - -starting permutation: s1 at1 sc1 s2 rx1 wx at2 rx3 sc2 c2 -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 rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -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 -(3 rows) - -step sc2: COMMIT; -step c2: COMMIT; - -starting permutation: s1 at1 sc1 s2 rx1 wx at2 rx3 c2 sc2 -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 rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -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 -(3 rows) - -step c2: COMMIT; -step sc2: COMMIT; - -starting permutation: s1 at1 sc1 s2 rx1 wx rx3 at2 sc2 c2 -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 rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -step wx: INSERT INTO b VALUES (0); -step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step sc2: COMMIT; -step c2: COMMIT; - -starting permutation: s1 at1 sc1 s2 rx1 wx rx3 at2 c2 sc2 -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 rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -step wx: INSERT INTO b VALUES (0); -step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step c2: COMMIT; -step sc2: COMMIT; - -starting permutation: s1 at1 sc1 s2 rx1 wx rx3 c2 at2 sc2 -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 rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -step wx: INSERT INTO b VALUES (0); -step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step c2: COMMIT; -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step sc2: COMMIT; - -starting permutation: s1 at1 sc1 rx1 s2 at2 sc2 wx rx3 c2 -step s1: BEGIN; -step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; -step sc1: COMMIT; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -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 - 3 - 3 -(3 rows) - -step c2: COMMIT; - -starting permutation: s1 at1 sc1 rx1 s2 at2 wx sc2 rx3 c2 -step s1: BEGIN; -step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; -step sc1: COMMIT; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -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 -(3 rows) - -step c2: COMMIT; - -starting permutation: s1 at1 sc1 rx1 s2 at2 wx rx3 sc2 c2 -step s1: BEGIN; -step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; -step sc1: COMMIT; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -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 -(3 rows) - -step sc2: COMMIT; -step c2: COMMIT; - -starting permutation: s1 at1 sc1 rx1 s2 at2 wx rx3 c2 sc2 -step s1: BEGIN; -step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; -step sc1: COMMIT; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -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 -(3 rows) - -step c2: COMMIT; -step sc2: COMMIT; - -starting permutation: s1 at1 sc1 rx1 s2 wx at2 sc2 rx3 c2 -step s1: BEGIN; -step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; -step sc1: COMMIT; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -step s2: BEGIN; -step wx: INSERT INTO b VALUES (0); -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 -(3 rows) - -step c2: COMMIT; - -starting permutation: s1 at1 sc1 rx1 s2 wx at2 rx3 sc2 c2 -step s1: BEGIN; -step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; -step sc1: COMMIT; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -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 -(3 rows) - -step sc2: COMMIT; -step c2: COMMIT; - -starting permutation: s1 at1 sc1 rx1 s2 wx at2 rx3 c2 sc2 -step s1: BEGIN; -step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; -step sc1: COMMIT; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -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 -(3 rows) - -step c2: COMMIT; -step sc2: COMMIT; - -starting permutation: s1 at1 sc1 rx1 s2 wx rx3 at2 sc2 c2 -step s1: BEGIN; -step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; -step sc1: COMMIT; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -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 -(3 rows) - -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step sc2: COMMIT; -step c2: COMMIT; - -starting permutation: s1 at1 sc1 rx1 s2 wx rx3 at2 c2 sc2 -step s1: BEGIN; -step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; -step sc1: COMMIT; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -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 -(3 rows) - -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step c2: COMMIT; -step sc2: COMMIT; - -starting permutation: s1 at1 sc1 rx1 s2 wx rx3 c2 at2 sc2 -step s1: BEGIN; -step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; -step sc1: COMMIT; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -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 -(3 rows) - -step c2: COMMIT; -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step sc2: COMMIT; - -starting permutation: s1 at1 sc1 rx1 wx s2 at2 sc2 rx3 c2 -step s1: BEGIN; -step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; -step sc1: COMMIT; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -step wx: INSERT INTO b VALUES (0); -step s2: BEGIN; -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 -(3 rows) - -step c2: COMMIT; - -starting permutation: s1 at1 sc1 rx1 wx s2 at2 rx3 sc2 c2 -step s1: BEGIN; -step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; -step sc1: COMMIT; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -step wx: INSERT INTO b VALUES (0); -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 -(3 rows) - -step sc2: COMMIT; -step c2: COMMIT; - -starting permutation: s1 at1 sc1 rx1 wx s2 at2 rx3 c2 sc2 -step s1: BEGIN; -step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; -step sc1: COMMIT; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -step wx: INSERT INTO b VALUES (0); -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 -(3 rows) - -step c2: COMMIT; -step sc2: COMMIT; - -starting permutation: s1 at1 sc1 rx1 wx s2 rx3 at2 sc2 c2 -step s1: BEGIN; -step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; -step sc1: COMMIT; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -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 -(3 rows) - -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step sc2: COMMIT; -step c2: COMMIT; - -starting permutation: s1 at1 sc1 rx1 wx s2 rx3 at2 c2 sc2 -step s1: BEGIN; -step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; -step sc1: COMMIT; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -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 -(3 rows) - -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step c2: COMMIT; -step sc2: COMMIT; - -starting permutation: s1 at1 sc1 rx1 wx s2 rx3 c2 at2 sc2 -step s1: BEGIN; -step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; -step sc1: COMMIT; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -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 -(3 rows) - -step c2: COMMIT; -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step sc2: COMMIT; - -starting permutation: s1 at1 sc1 rx1 wx rx3 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 sc1: COMMIT; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -step wx: INSERT INTO b VALUES (0); -step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step s2: BEGIN; -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step sc2: COMMIT; -step c2: COMMIT; - -starting permutation: s1 at1 sc1 rx1 wx rx3 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 sc1: COMMIT; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -step wx: INSERT INTO b VALUES (0); -step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step s2: BEGIN; -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step c2: COMMIT; -step sc2: COMMIT; - -starting permutation: s1 at1 sc1 rx1 wx rx3 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 sc1: COMMIT; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -step wx: INSERT INTO b VALUES (0); -step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step s2: BEGIN; -step c2: COMMIT; -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step sc2: COMMIT; - -starting permutation: s1 at1 sc1 rx1 wx rx3 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 sc1: COMMIT; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -step wx: INSERT INTO b VALUES (0); -step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step c2: COMMIT; -step s2: BEGIN; -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step sc2: COMMIT; - -starting permutation: s1 at1 rx1 sc1 s2 at2 sc2 wx rx3 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 -(1 row) - -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 rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step c2: COMMIT; - -starting permutation: s1 at1 rx1 sc1 s2 at2 wx sc2 rx3 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 -(1 row) - -step sc1: COMMIT; -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 -(3 rows) - -step c2: COMMIT; - -starting permutation: s1 at1 rx1 sc1 s2 at2 wx rx3 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 -(1 row) - -step sc1: COMMIT; -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 -(3 rows) - -step sc2: COMMIT; -step c2: COMMIT; - -starting permutation: s1 at1 rx1 sc1 s2 at2 wx rx3 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 -(1 row) - -step sc1: COMMIT; -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 -(3 rows) - -step c2: COMMIT; -step sc2: COMMIT; - -starting permutation: s1 at1 rx1 sc1 s2 wx at2 sc2 rx3 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 -(1 row) - -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 rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step c2: COMMIT; - -starting permutation: s1 at1 rx1 sc1 s2 wx at2 rx3 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 -(1 row) - -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 -(3 rows) - -step sc2: COMMIT; -step c2: COMMIT; - -starting permutation: s1 at1 rx1 sc1 s2 wx at2 rx3 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 -(1 row) - -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 -(3 rows) - -step c2: COMMIT; -step sc2: COMMIT; - -starting permutation: s1 at1 rx1 sc1 s2 wx rx3 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 -(1 row) - -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 -(3 rows) - -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step sc2: COMMIT; -step c2: COMMIT; - -starting permutation: s1 at1 rx1 sc1 s2 wx rx3 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 -(1 row) - -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 -(3 rows) - -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step c2: COMMIT; -step sc2: COMMIT; - -starting permutation: s1 at1 rx1 sc1 s2 wx rx3 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 -(1 row) - -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 -(3 rows) - -step c2: COMMIT; -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step sc2: COMMIT; - -starting permutation: s1 at1 rx1 sc1 wx s2 at2 sc2 rx3 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 -(1 row) - -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 rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step c2: COMMIT; - -starting permutation: s1 at1 rx1 sc1 wx s2 at2 rx3 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 -(1 row) - -step sc1: COMMIT; -step wx: INSERT INTO b VALUES (0); -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 -(3 rows) - -step sc2: COMMIT; -step c2: COMMIT; - -starting permutation: s1 at1 rx1 sc1 wx s2 at2 rx3 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 -(1 row) - -step sc1: COMMIT; -step wx: INSERT INTO b VALUES (0); -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 -(3 rows) - -step c2: COMMIT; -step sc2: COMMIT; - -starting permutation: s1 at1 rx1 sc1 wx s2 rx3 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 -(1 row) - -step sc1: COMMIT; -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 -(3 rows) - -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step sc2: COMMIT; -step c2: COMMIT; - -starting permutation: s1 at1 rx1 sc1 wx s2 rx3 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 -(1 row) - -step sc1: COMMIT; -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 -(3 rows) - -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step c2: COMMIT; -step sc2: COMMIT; - -starting permutation: s1 at1 rx1 sc1 wx s2 rx3 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 -(1 row) - -step sc1: COMMIT; -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 -(3 rows) - -step c2: COMMIT; -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step sc2: COMMIT; - -starting permutation: s1 at1 rx1 sc1 wx rx3 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 -(1 row) - -step sc1: COMMIT; -step wx: INSERT INTO b VALUES (0); -step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step s2: BEGIN; -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step sc2: COMMIT; -step c2: COMMIT; - -starting permutation: s1 at1 rx1 sc1 wx rx3 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 -(1 row) - -step sc1: COMMIT; -step wx: INSERT INTO b VALUES (0); -step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step s2: BEGIN; -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step c2: COMMIT; -step sc2: COMMIT; - -starting permutation: s1 at1 rx1 sc1 wx rx3 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 -(1 row) - -step sc1: COMMIT; -step wx: INSERT INTO b VALUES (0); -step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step s2: BEGIN; -step c2: COMMIT; -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step sc2: COMMIT; - -starting permutation: s1 at1 rx1 sc1 wx rx3 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 -(1 row) - -step sc1: COMMIT; -step wx: INSERT INTO b VALUES (0); -step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step c2: COMMIT; -step s2: BEGIN; -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step sc2: COMMIT; - -starting permutation: s1 at1 rx1 wx sc1 s2 at2 sc2 rx3 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 -(1 row) - -step wx: INSERT INTO b VALUES (0); -step sc1: COMMIT; -step wx: <... completed> -step s2: BEGIN; -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 -(3 rows) - -step c2: COMMIT; - -starting permutation: s1 at1 rx1 wx sc1 s2 at2 rx3 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 -(1 row) - -step wx: INSERT INTO b VALUES (0); -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 -(3 rows) - -step sc2: COMMIT; -step c2: COMMIT; - -starting permutation: s1 at1 rx1 wx sc1 s2 at2 rx3 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 -(1 row) - -step wx: INSERT INTO b VALUES (0); -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 -(3 rows) - -step c2: COMMIT; -step sc2: COMMIT; - -starting permutation: s1 at1 rx1 wx sc1 s2 rx3 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 -(1 row) - -step wx: INSERT INTO b VALUES (0); -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 -(3 rows) - -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step sc2: COMMIT; -step c2: COMMIT; - -starting permutation: s1 at1 rx1 wx sc1 s2 rx3 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 -(1 row) - -step wx: INSERT INTO b VALUES (0); -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 -(3 rows) - -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step c2: COMMIT; -step sc2: COMMIT; - -starting permutation: s1 at1 rx1 wx sc1 s2 rx3 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 -(1 row) - -step wx: INSERT INTO b VALUES (0); -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 -(3 rows) - -step c2: COMMIT; -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step sc2: COMMIT; - -starting permutation: s1 at1 rx1 wx sc1 rx3 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 -(1 row) - -step wx: INSERT INTO b VALUES (0); -step sc1: COMMIT; -step wx: <... completed> -step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step s2: BEGIN; -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step sc2: COMMIT; -step c2: COMMIT; - -starting permutation: s1 at1 rx1 wx sc1 rx3 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 -(1 row) - -step wx: INSERT INTO b VALUES (0); -step sc1: COMMIT; -step wx: <... completed> -step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step s2: BEGIN; -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step c2: COMMIT; -step sc2: COMMIT; - -starting permutation: s1 at1 rx1 wx sc1 rx3 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 -(1 row) - -step wx: INSERT INTO b VALUES (0); -step sc1: COMMIT; -step wx: <... completed> -step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step s2: BEGIN; -step c2: COMMIT; -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step sc2: COMMIT; - -starting permutation: s1 at1 rx1 wx sc1 rx3 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 -(1 row) - -step wx: INSERT INTO b VALUES (0); -step sc1: COMMIT; -step wx: <... completed> -step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step c2: COMMIT; -step s2: BEGIN; -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step sc2: COMMIT; - -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; -a_id ----- - 1 -(1 row) - -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 rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step c2: COMMIT; - -starting permutation: s1 rx1 at1 sc1 s2 at2 wx sc2 rx3 c2 -step s1: BEGIN; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -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 sc2: COMMIT; -step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step c2: COMMIT; - -starting permutation: s1 rx1 at1 sc1 s2 at2 wx rx3 sc2 c2 -step s1: BEGIN; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -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 rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step sc2: COMMIT; -step c2: COMMIT; - -starting permutation: s1 rx1 at1 sc1 s2 at2 wx rx3 c2 sc2 -step s1: BEGIN; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -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 rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step c2: COMMIT; -step sc2: COMMIT; - -starting permutation: s1 rx1 at1 sc1 s2 wx at2 sc2 rx3 c2 -step s1: BEGIN; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -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 rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step c2: COMMIT; - -starting permutation: s1 rx1 at1 sc1 s2 wx at2 rx3 sc2 c2 -step s1: BEGIN; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -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 -(3 rows) - -step sc2: COMMIT; -step c2: COMMIT; - -starting permutation: s1 rx1 at1 sc1 s2 wx at2 rx3 c2 sc2 -step s1: BEGIN; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -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 -(3 rows) - -step c2: COMMIT; -step sc2: COMMIT; - -starting permutation: s1 rx1 at1 sc1 s2 wx rx3 at2 sc2 c2 -step s1: BEGIN; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -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 -(3 rows) - -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step sc2: COMMIT; -step c2: COMMIT; - -starting permutation: s1 rx1 at1 sc1 s2 wx rx3 at2 c2 sc2 -step s1: BEGIN; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -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 -(3 rows) - -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step c2: COMMIT; -step sc2: COMMIT; - -starting permutation: s1 rx1 at1 sc1 s2 wx rx3 c2 at2 sc2 -step s1: BEGIN; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -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 -(3 rows) - -step c2: COMMIT; -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step sc2: COMMIT; - -starting permutation: s1 rx1 at1 sc1 wx s2 at2 sc2 rx3 c2 -step s1: BEGIN; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -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 rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step c2: COMMIT; - -starting permutation: s1 rx1 at1 sc1 wx s2 at2 rx3 sc2 c2 -step s1: BEGIN; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -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 rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step sc2: COMMIT; -step c2: COMMIT; - -starting permutation: s1 rx1 at1 sc1 wx s2 at2 rx3 c2 sc2 -step s1: BEGIN; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -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 rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step c2: COMMIT; -step sc2: COMMIT; - -starting permutation: s1 rx1 at1 sc1 wx s2 rx3 at2 sc2 c2 -step s1: BEGIN; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -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 rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step sc2: COMMIT; -step c2: COMMIT; - -starting permutation: s1 rx1 at1 sc1 wx s2 rx3 at2 c2 sc2 -step s1: BEGIN; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -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 rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step c2: COMMIT; -step sc2: COMMIT; - -starting permutation: s1 rx1 at1 sc1 wx s2 rx3 c2 at2 sc2 -step s1: BEGIN; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -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 rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step c2: COMMIT; -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step sc2: COMMIT; - -starting permutation: s1 rx1 at1 sc1 wx rx3 s2 at2 sc2 c2 -step s1: BEGIN; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -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 rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step s2: BEGIN; -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step sc2: COMMIT; -step c2: COMMIT; - -starting permutation: s1 rx1 at1 sc1 wx rx3 s2 at2 c2 sc2 -step s1: BEGIN; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -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 rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step s2: BEGIN; -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step c2: COMMIT; -step sc2: COMMIT; - -starting permutation: s1 rx1 at1 sc1 wx rx3 s2 c2 at2 sc2 -step s1: BEGIN; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -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 rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step s2: BEGIN; -step c2: COMMIT; -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step sc2: COMMIT; - -starting permutation: s1 rx1 at1 sc1 wx rx3 c2 s2 at2 sc2 -step s1: BEGIN; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -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 rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step c2: COMMIT; -step s2: BEGIN; -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step sc2: COMMIT; - -starting permutation: s1 rx1 at1 wx sc1 s2 at2 sc2 rx3 c2 -step s1: BEGIN; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; -step wx: INSERT INTO b VALUES (0); -step sc1: COMMIT; -step wx: <... completed> -step s2: BEGIN; -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 -(3 rows) - -step c2: COMMIT; - -starting permutation: s1 rx1 at1 wx sc1 s2 at2 rx3 sc2 c2 -step s1: BEGIN; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; -step wx: INSERT INTO b VALUES (0); -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 -(3 rows) - -step sc2: COMMIT; -step c2: COMMIT; - -starting permutation: s1 rx1 at1 wx sc1 s2 at2 rx3 c2 sc2 -step s1: BEGIN; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; -step wx: INSERT INTO b VALUES (0); -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 -(3 rows) - -step c2: COMMIT; -step sc2: COMMIT; - -starting permutation: s1 rx1 at1 wx sc1 s2 rx3 at2 sc2 c2 -step s1: BEGIN; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; -step wx: INSERT INTO b VALUES (0); -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 -(3 rows) - -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step sc2: COMMIT; -step c2: COMMIT; - -starting permutation: s1 rx1 at1 wx sc1 s2 rx3 at2 c2 sc2 -step s1: BEGIN; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; -step wx: INSERT INTO b VALUES (0); -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 -(3 rows) - -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step c2: COMMIT; -step sc2: COMMIT; - -starting permutation: s1 rx1 at1 wx sc1 s2 rx3 c2 at2 sc2 -step s1: BEGIN; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; -step wx: INSERT INTO b VALUES (0); -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 -(3 rows) - -step c2: COMMIT; -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step sc2: COMMIT; - -starting permutation: s1 rx1 at1 wx sc1 rx3 s2 at2 sc2 c2 -step s1: BEGIN; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; -step wx: INSERT INTO b VALUES (0); -step sc1: COMMIT; -step wx: <... completed> -step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step s2: BEGIN; -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step sc2: COMMIT; -step c2: COMMIT; - -starting permutation: s1 rx1 at1 wx sc1 rx3 s2 at2 c2 sc2 -step s1: BEGIN; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; -step wx: INSERT INTO b VALUES (0); -step sc1: COMMIT; -step wx: <... completed> -step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step s2: BEGIN; -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step c2: COMMIT; -step sc2: COMMIT; - -starting permutation: s1 rx1 at1 wx sc1 rx3 s2 c2 at2 sc2 -step s1: BEGIN; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; -step wx: INSERT INTO b VALUES (0); -step sc1: COMMIT; -step wx: <... completed> -step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step s2: BEGIN; -step c2: COMMIT; -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step sc2: COMMIT; - -starting permutation: s1 rx1 at1 wx sc1 rx3 c2 s2 at2 sc2 -step s1: BEGIN; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; -step wx: INSERT INTO b VALUES (0); -step sc1: COMMIT; -step wx: <... completed> -step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step c2: COMMIT; -step s2: BEGIN; -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step sc2: COMMIT; - -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 -(1 row) - -step wx: INSERT INTO b VALUES (0); -step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; -step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -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 at1 c2 sc1 s2 at2 sc2 -step s1: BEGIN; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -step wx: INSERT INTO b VALUES (0); -step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; -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; -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -step wx: INSERT INTO b VALUES (0); -step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -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 -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -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 sc2: COMMIT; -step wx: INSERT INTO b VALUES (0); -step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step c2: COMMIT; - -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 -(1 row) - -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 sc2: COMMIT; -step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step c2: COMMIT; - -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 -(1 row) - -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 rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step sc2: COMMIT; -step c2: COMMIT; - -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 -(1 row) - -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 rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step c2: COMMIT; -step sc2: COMMIT; - -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 -(1 row) - -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 rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step c2: COMMIT; - -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 -(1 row) - -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 -(3 rows) - -step sc2: COMMIT; -step c2: COMMIT; - -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 -(1 row) - -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 -(3 rows) - -step c2: COMMIT; -step sc2: COMMIT; - -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 -(1 row) - -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 -(3 rows) - -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step sc2: COMMIT; -step c2: COMMIT; - -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 -(1 row) - -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 -(3 rows) - -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step c2: COMMIT; -step sc2: COMMIT; - -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 -(1 row) - -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 -(3 rows) - -step c2: COMMIT; -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step sc2: COMMIT; - -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 ----- - 1 -(1 row) - -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 rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step c2: COMMIT; - -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 ----- - 1 -(1 row) - -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 rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step sc2: COMMIT; -step c2: COMMIT; - -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 ----- - 1 -(1 row) - -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 rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step c2: COMMIT; -step sc2: COMMIT; - -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 ----- - 1 -(1 row) - -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 rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step sc2: COMMIT; -step c2: COMMIT; - -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 ----- - 1 -(1 row) - -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 rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step c2: COMMIT; -step sc2: COMMIT; - -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 ----- - 1 -(1 row) - -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 rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step c2: COMMIT; -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step sc2: COMMIT; - -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 ----- - 1 -(1 row) - -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 rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step s2: BEGIN; -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step sc2: COMMIT; -step c2: COMMIT; - -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 ----- - 1 -(1 row) - -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 rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step s2: BEGIN; -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step c2: COMMIT; -step sc2: COMMIT; - -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 ----- - 1 -(1 row) - -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 rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step s2: BEGIN; -step c2: COMMIT; -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step sc2: COMMIT; - -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 ----- - 1 -(1 row) - -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 rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step c2: COMMIT; -step s2: BEGIN; -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step sc2: COMMIT; - -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 -(1 row) - -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); -step sc1: COMMIT; -step wx: <... completed> -step s2: BEGIN; -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 -(3 rows) - -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 -(1 row) - -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); -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 -(3 rows) - -step sc2: COMMIT; -step c2: COMMIT; - -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 -(1 row) - -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); -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 -(3 rows) - -step c2: COMMIT; -step sc2: COMMIT; - -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 -(1 row) - -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); -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 -(3 rows) - -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 -(1 row) - -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); -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 -(3 rows) - -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 -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -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); -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 -(3 rows) - -step c2: COMMIT; -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step sc2: COMMIT; - -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 -(1 row) - -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); -step sc1: COMMIT; -step wx: <... completed> -step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -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 -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -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); -step sc1: COMMIT; -step wx: <... completed> -step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -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 -(1 row) - -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); -step sc1: COMMIT; -step wx: <... completed> -step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -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 -(1 row) - -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); -step sc1: COMMIT; -step wx: <... completed> -step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step c2: COMMIT; -step s2: BEGIN; -step at2: ALTER TABLE b VALIDATE CONSTRAINT bfk; -step sc2: COMMIT; - -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 -(1 row) - -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; -step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -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 c2 sc1 s2 at2 sc2 -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -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 -(3 rows) - -step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; -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 -(1 row) - -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 -(3 rows) - -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 rx3 c2 sc1 s2 at2 sc2 -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -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 rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -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 c2 sc1 s2 at2 sc2 -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -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 -(3 rows) - -step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; -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 -(1 row) - -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 -(3 rows) - -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 c2 sc1 s2 at2 sc2 -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -step wx: INSERT INTO b VALUES (0); -step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step s1: BEGIN; -step at1: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; -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 rx3 s1 c2 at1 sc1 s2 at2 sc2 -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -step wx: INSERT INTO b VALUES (0); -step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step s1: BEGIN; -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 c2 s1 at1 sc1 s2 at2 sc2 -step rx1: SELECT * FROM b WHERE a_id = 1 LIMIT 1; -a_id ----- - 1 -(1 row) - -step wx: INSERT INTO b VALUES (0); -step rx3: SELECT * FROM b WHERE a_id = 3 LIMIT 3; -a_id ----- - 3 - 3 - 3 -(3 rows) - -step c2: COMMIT; -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 sc2: COMMIT; +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/alter-table-2.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/alter-table-2.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/alter-table-2.out 2025-08-23 05:04:11.936982902 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/alter-table-2.out 2025-08-23 05:09:25.715437215 +0000 @@ -1,1030 +1,3 @@ Parsed test spec with 2 sessions - -starting permutation: s1a s1b s1c s2a s2b s2c s2d s2e s2f -step s1a: BEGIN; -step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; -step s1c: COMMIT; -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE; -a_id ----- - 3 -(1 row) - -step s2d: INSERT INTO b VALUES (0); -step s2e: INSERT INTO a VALUES (4); -step s2f: COMMIT; - -starting permutation: s1a s1b s2a s1c s2b s2c s2d s2e 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 s1c: COMMIT; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE; -a_id ----- - 3 -(1 row) - -step s2d: INSERT INTO b VALUES (0); -step s2e: INSERT INTO a VALUES (4); -step s2f: COMMIT; - -starting permutation: s1a s1b s2a s2b s1c s2c s2d s2e 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 -(1 row) - -step s1c: COMMIT; -step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE; -a_id ----- - 3 -(1 row) - -step s2d: INSERT INTO b VALUES (0); -step s2e: INSERT INTO a VALUES (4); -step s2f: COMMIT; - -starting permutation: s1a s1b s2a s2b s2c s1c s2d s2e 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 -(1 row) - -step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE; -a_id ----- - 3 -(1 row) - -step s1c: COMMIT; -step s2d: INSERT INTO b VALUES (0); -step s2e: INSERT INTO a VALUES (4); -step s2f: COMMIT; - -starting permutation: s1a s1b s2a s2b s2c s2d s1c s2e 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 -(1 row) - -step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE; -a_id ----- - 3 -(1 row) - -step s2d: INSERT INTO b VALUES (0); -step s1c: COMMIT; -step s2d: <... completed> -step s2e: INSERT INTO a VALUES (4); -step s2f: COMMIT; - -starting permutation: s1a s2a s1b s1c s2b s2c s2d s2e 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 s1c: COMMIT; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE; -a_id ----- - 3 -(1 row) - -step s2d: INSERT INTO b VALUES (0); -step s2e: INSERT INTO a VALUES (4); -step s2f: COMMIT; - -starting permutation: s1a s2a s1b s2b s1c s2c s2d s2e 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 -(1 row) - -step s1c: COMMIT; -step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE; -a_id ----- - 3 -(1 row) - -step s2d: INSERT INTO b VALUES (0); -step s2e: INSERT INTO a VALUES (4); -step s2f: COMMIT; - -starting permutation: s1a s2a s1b s2b s2c s1c s2d s2e 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 -(1 row) - -step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE; -a_id ----- - 3 -(1 row) - -step s1c: COMMIT; -step s2d: INSERT INTO b VALUES (0); -step s2e: INSERT INTO a VALUES (4); -step s2f: COMMIT; - -starting permutation: s1a s2a s1b s2b s2c s2d s1c s2e 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 -(1 row) - -step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE; -a_id ----- - 3 -(1 row) - -step s2d: INSERT INTO b VALUES (0); -step s1c: COMMIT; -step s2d: <... completed> -step s2e: INSERT INTO a VALUES (4); -step s2f: COMMIT; - -starting permutation: s1a s2a s2b s1b s1c s2c s2d s2e s2f -step s1a: BEGIN; -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; -step s1c: COMMIT; -step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE; -a_id ----- - 3 -(1 row) - -step s2d: INSERT INTO b VALUES (0); -step s2e: INSERT INTO a VALUES (4); -step s2f: COMMIT; - -starting permutation: s1a s2a s2b s1b s2c s1c s2d s2e s2f -step s1a: BEGIN; -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -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 -(1 row) - -step s1c: COMMIT; -step s2d: INSERT INTO b VALUES (0); -step s2e: INSERT INTO a VALUES (4); -step s2f: COMMIT; - -starting permutation: s1a s2a s2b s1b s2c s2d s1c s2e s2f -step s1a: BEGIN; -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -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 -(1 row) - -step s2d: INSERT INTO b VALUES (0); -step s1c: COMMIT; -step s2d: <... completed> -step s2e: INSERT INTO a VALUES (4); -step s2f: COMMIT; - -starting permutation: s1a s2a s2b s2c s1b s1c s2d s2e s2f -step s1a: BEGIN; -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE; -a_id ----- - 3 -(1 row) - -step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; -step s1c: COMMIT; -step s2d: INSERT INTO b VALUES (0); -step s2e: INSERT INTO a VALUES (4); -step s2f: COMMIT; - -starting permutation: s1a s2a s2b s2c s1b s2d s1c s2e s2f -step s1a: BEGIN; -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE; -a_id ----- - 3 -(1 row) - -step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; -step s2d: INSERT INTO b VALUES (0); -step s1c: COMMIT; -step s2d: <... completed> -step s2e: INSERT INTO a VALUES (4); -step s2f: COMMIT; - -starting permutation: s1a s2a s2b s2c s2d s1b s2e s2f s1c -step s1a: BEGIN; -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE; -a_id ----- - 3 -(1 row) - -step s2d: INSERT INTO b VALUES (0); -step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; -step s2e: INSERT INTO a VALUES (4); -step s2f: COMMIT; -step s1b: <... completed> -step s1c: COMMIT; - -starting permutation: s1a s2a s2b s2c s2d s2e s1b s2f s1c -step s1a: BEGIN; -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE; -a_id ----- - 3 -(1 row) - -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; -step s2f: COMMIT; -step s1b: <... completed> -step s1c: COMMIT; - -starting permutation: s1a s2a s2b s2c s2d s2e s2f s1b s1c -step s1a: BEGIN; -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE; -a_id ----- - 3 -(1 row) - -step s2d: INSERT INTO b VALUES (0); -step s2e: INSERT INTO a VALUES (4); -step s2f: COMMIT; -step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; -step s1c: COMMIT; - -starting permutation: s2a s1a s1b s1c s2b s2c s2d s2e 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 s1c: COMMIT; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE; -a_id ----- - 3 -(1 row) - -step s2d: INSERT INTO b VALUES (0); -step s2e: INSERT INTO a VALUES (4); -step s2f: COMMIT; - -starting permutation: s2a s1a s1b s2b s1c s2c s2d s2e 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 -(1 row) - -step s1c: COMMIT; -step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE; -a_id ----- - 3 -(1 row) - -step s2d: INSERT INTO b VALUES (0); -step s2e: INSERT INTO a VALUES (4); -step s2f: COMMIT; - -starting permutation: s2a s1a s1b s2b s2c s1c s2d s2e 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 -(1 row) - -step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE; -a_id ----- - 3 -(1 row) - -step s1c: COMMIT; -step s2d: INSERT INTO b VALUES (0); -step s2e: INSERT INTO a VALUES (4); -step s2f: COMMIT; - -starting permutation: s2a s1a s1b s2b s2c s2d s1c s2e 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 -(1 row) - -step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE; -a_id ----- - 3 -(1 row) - -step s2d: INSERT INTO b VALUES (0); -step s1c: COMMIT; -step s2d: <... completed> -step s2e: INSERT INTO a VALUES (4); -step s2f: COMMIT; - -starting permutation: s2a s1a s2b s1b s1c s2c s2d s2e s2f -step s2a: BEGIN; -step s1a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; -step s1c: COMMIT; -step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE; -a_id ----- - 3 -(1 row) - -step s2d: INSERT INTO b VALUES (0); -step s2e: INSERT INTO a VALUES (4); -step s2f: COMMIT; - -starting permutation: s2a s1a s2b s1b s2c s1c s2d s2e s2f -step s2a: BEGIN; -step s1a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -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 -(1 row) - -step s1c: COMMIT; -step s2d: INSERT INTO b VALUES (0); -step s2e: INSERT INTO a VALUES (4); -step s2f: COMMIT; - -starting permutation: s2a s1a s2b s1b s2c s2d s1c s2e s2f -step s2a: BEGIN; -step s1a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -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 -(1 row) - -step s2d: INSERT INTO b VALUES (0); -step s1c: COMMIT; -step s2d: <... completed> -step s2e: INSERT INTO a VALUES (4); -step s2f: COMMIT; - -starting permutation: s2a s1a s2b s2c s1b s1c s2d s2e s2f -step s2a: BEGIN; -step s1a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE; -a_id ----- - 3 -(1 row) - -step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; -step s1c: COMMIT; -step s2d: INSERT INTO b VALUES (0); -step s2e: INSERT INTO a VALUES (4); -step s2f: COMMIT; - -starting permutation: s2a s1a s2b s2c s1b s2d s1c s2e s2f -step s2a: BEGIN; -step s1a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE; -a_id ----- - 3 -(1 row) - -step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; -step s2d: INSERT INTO b VALUES (0); -step s1c: COMMIT; -step s2d: <... completed> -step s2e: INSERT INTO a VALUES (4); -step s2f: COMMIT; - -starting permutation: s2a s1a s2b s2c s2d s1b s2e s2f s1c -step s2a: BEGIN; -step s1a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE; -a_id ----- - 3 -(1 row) - -step s2d: INSERT INTO b VALUES (0); -step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; -step s2e: INSERT INTO a VALUES (4); -step s2f: COMMIT; -step s1b: <... completed> -step s1c: COMMIT; - -starting permutation: s2a s1a s2b s2c s2d s2e s1b s2f s1c -step s2a: BEGIN; -step s1a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE; -a_id ----- - 3 -(1 row) - -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; -step s2f: COMMIT; -step s1b: <... completed> -step s1c: COMMIT; - -starting permutation: s2a s1a s2b s2c s2d s2e s2f s1b s1c -step s2a: BEGIN; -step s1a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE; -a_id ----- - 3 -(1 row) - -step s2d: INSERT INTO b VALUES (0); -step s2e: INSERT INTO a VALUES (4); -step s2f: COMMIT; -step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; -step s1c: COMMIT; - -starting permutation: s2a s2b s1a s1b s1c s2c s2d s2e s2f -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s1a: BEGIN; -step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; -step s1c: COMMIT; -step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE; -a_id ----- - 3 -(1 row) - -step s2d: INSERT INTO b VALUES (0); -step s2e: INSERT INTO a VALUES (4); -step s2f: COMMIT; - -starting permutation: s2a s2b s1a s1b s2c s1c s2d s2e s2f -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -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 -(1 row) - -step s1c: COMMIT; -step s2d: INSERT INTO b VALUES (0); -step s2e: INSERT INTO a VALUES (4); -step s2f: COMMIT; - -starting permutation: s2a s2b s1a s1b s2c s2d s1c s2e s2f -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -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 -(1 row) - -step s2d: INSERT INTO b VALUES (0); -step s1c: COMMIT; -step s2d: <... completed> -step s2e: INSERT INTO a VALUES (4); -step s2f: COMMIT; - -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; -i -- -1 -(1 row) - -step s1a: BEGIN; -step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE; -a_id ----- - 3 -(1 row) - -step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; -step s1c: COMMIT; -step s2d: INSERT INTO b VALUES (0); -step s2e: INSERT INTO a VALUES (4); -step s2f: COMMIT; - -starting permutation: s2a s2b s1a s2c s1b s2d s1c s2e s2f -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s1a: BEGIN; -step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE; -a_id ----- - 3 -(1 row) - -step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; -step s2d: INSERT INTO b VALUES (0); -step s1c: COMMIT; -step s2d: <... completed> -step s2e: INSERT INTO a VALUES (4); -step s2f: COMMIT; - -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; -i -- -1 -(1 row) - -step s1a: BEGIN; -step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE; -a_id ----- - 3 -(1 row) - -step s2d: INSERT INTO b VALUES (0); -step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; -step s2e: INSERT INTO a VALUES (4); -step s2f: COMMIT; -step s1b: <... completed> -step s1c: COMMIT; - -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; -i -- -1 -(1 row) - -step s1a: BEGIN; -step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE; -a_id ----- - 3 -(1 row) - -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; -step s2f: COMMIT; -step s1b: <... completed> -step s1c: COMMIT; - -starting permutation: s2a s2b s1a s2c s2d s2e s2f s1b s1c -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s1a: BEGIN; -step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE; -a_id ----- - 3 -(1 row) - -step s2d: INSERT INTO b VALUES (0); -step s2e: INSERT INTO a VALUES (4); -step s2f: COMMIT; -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 s1a s1b s1c s2d s2e s2f -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE; -a_id ----- - 3 -(1 row) - -step s1a: BEGIN; -step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; -step s1c: COMMIT; -step s2d: INSERT INTO b VALUES (0); -step s2e: INSERT INTO a VALUES (4); -step s2f: COMMIT; - -starting permutation: s2a s2b s2c s1a s1b s2d s1c s2e s2f -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE; -a_id ----- - 3 -(1 row) - -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); -step s1c: COMMIT; -step s2d: <... completed> -step s2e: INSERT INTO a VALUES (4); -step s2f: COMMIT; - -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; -i -- -1 -(1 row) - -step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE; -a_id ----- - 3 -(1 row) - -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; -step s2e: INSERT INTO a VALUES (4); -step s2f: COMMIT; -step s1b: <... completed> -step s1c: COMMIT; - -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; -i -- -1 -(1 row) - -step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE; -a_id ----- - 3 -(1 row) - -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; -step s2f: COMMIT; -step s1b: <... completed> -step s1c: COMMIT; - -starting permutation: s2a s2b s2c s1a s2d s2e s2f s1b s1c -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE; -a_id ----- - 3 -(1 row) - -step s1a: BEGIN; -step s2d: INSERT INTO b VALUES (0); -step s2e: INSERT INTO a VALUES (4); -step s2f: COMMIT; -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 s2e s2f s1c -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE; -a_id ----- - 3 -(1 row) - -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; -step s2e: INSERT INTO a VALUES (4); -step s2f: COMMIT; -step s1b: <... completed> -step s1c: COMMIT; - -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; -i -- -1 -(1 row) - -step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE; -a_id ----- - 3 -(1 row) - -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; -step s2f: COMMIT; -step s1b: <... completed> -step s1c: COMMIT; - -starting permutation: s2a s2b s2c s2d s1a s2e s2f s1b s1c -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE; -a_id ----- - 3 -(1 row) - -step s2d: INSERT INTO b VALUES (0); -step s1a: BEGIN; -step s2e: INSERT INTO a VALUES (4); -step s2f: COMMIT; -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 s2f s1c -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE; -a_id ----- - 3 -(1 row) - -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; -step s2f: COMMIT; -step s1b: <... completed> -step s1c: COMMIT; - -starting permutation: s2a s2b s2c s2d s2e s1a s2f s1b s1c -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE; -a_id ----- - 3 -(1 row) - -step s2d: INSERT INTO b VALUES (0); -step s2e: INSERT INTO a VALUES (4); -step s1a: BEGIN; -step s2f: COMMIT; -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 s2f s1a s1b s1c -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s2c: SELECT * FROM b WHERE a_id = 3 LIMIT 1 FOR UPDATE; -a_id ----- - 3 -(1 row) - -step s2d: INSERT INTO b VALUES (0); -step s2e: INSERT INTO a VALUES (4); -step s2f: COMMIT; -step s1a: BEGIN; -step s1b: ALTER TABLE b ADD CONSTRAINT bfk FOREIGN KEY (a_id) REFERENCES a (i) NOT VALID; -step s1c: COMMIT; +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/alter-table-3.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/alter-table-3.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/alter-table-3.out 2025-08-23 05:04:11.936982902 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/alter-table-3.out 2025-08-23 05:09:25.795437024 +0000 @@ -1,785 +1,3 @@ Parsed test spec with 2 sessions - -starting permutation: s1a s1b s1c s1d s2a s2b s2c s2d -step s1a: BEGIN; -step s1b: ALTER TABLE a DISABLE TRIGGER t; -step s1c: ALTER TABLE a ENABLE TRIGGER t; -step s1d: COMMIT; -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s2c: INSERT INTO a VALUES (0); -ERROR: duplicate key value violates unique constraint "a_pkey" -step s2d: COMMIT; - -starting permutation: s1a s1b s1c s2a s1d s2b s2c s2d -step s1a: BEGIN; -step s1b: ALTER TABLE a DISABLE TRIGGER t; -step s1c: ALTER TABLE a ENABLE TRIGGER t; -step s2a: BEGIN; -step s1d: COMMIT; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s2c: INSERT INTO a VALUES (0); -ERROR: duplicate key value violates unique constraint "a_pkey" -step s2d: COMMIT; - -starting permutation: s1a s1b s1c s2a s2b s1d s2c s2d -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 -(1 row) - -step s1d: COMMIT; -step s2c: INSERT INTO a VALUES (0); -ERROR: duplicate key value violates unique constraint "a_pkey" -step s2d: COMMIT; - -starting permutation: s1a s1b s1c s2a s2b s2c s1d s2d -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 -(1 row) - -step s2c: INSERT INTO a VALUES (0); -step s1d: COMMIT; -step s2c: <... completed> -ERROR: duplicate key value violates unique constraint "a_pkey" -step s2d: COMMIT; - -starting permutation: s1a s1b s2a s1c s1d s2b s2c s2d -step s1a: BEGIN; -step s1b: ALTER TABLE a DISABLE TRIGGER t; -step s2a: BEGIN; -step s1c: ALTER TABLE a ENABLE TRIGGER t; -step s1d: COMMIT; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s2c: INSERT INTO a VALUES (0); -ERROR: duplicate key value violates unique constraint "a_pkey" -step s2d: COMMIT; - -starting permutation: s1a s1b s2a s1c s2b s1d s2c s2d -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 -(1 row) - -step s1d: COMMIT; -step s2c: INSERT INTO a VALUES (0); -ERROR: duplicate key value violates unique constraint "a_pkey" -step s2d: COMMIT; - -starting permutation: s1a s1b s2a s1c s2b s2c s1d s2d -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 -(1 row) - -step s2c: INSERT INTO a VALUES (0); -step s1d: COMMIT; -step s2c: <... completed> -ERROR: duplicate key value violates unique constraint "a_pkey" -step s2d: COMMIT; - -starting permutation: s1a s1b s2a s2b s1c s1d s2c s2d -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 -(1 row) - -step s1c: ALTER TABLE a ENABLE TRIGGER t; -step s1d: COMMIT; -step s2c: INSERT INTO a VALUES (0); -ERROR: duplicate key value violates unique constraint "a_pkey" -step s2d: COMMIT; - -starting permutation: s1a s1b s2a s2b s1c s2c s1d s2d -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 -(1 row) - -step s1c: ALTER TABLE a ENABLE TRIGGER t; -step s2c: INSERT INTO a VALUES (0); -step s1d: COMMIT; -step s2c: <... completed> -ERROR: duplicate key value violates unique constraint "a_pkey" -step s2d: COMMIT; - -starting permutation: s1a s1b s2a s2b s2c s1c s1d s2d -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 -(1 row) - -step s2c: INSERT INTO a VALUES (0); -step s1c: ALTER TABLE a ENABLE TRIGGER t; -step s1d: COMMIT; -step s2c: <... completed> -ERROR: duplicate key value violates unique constraint "a_pkey" -step s2d: COMMIT; - -starting permutation: s1a s2a s1b s1c s1d s2b s2c s2d -step s1a: BEGIN; -step s2a: BEGIN; -step s1b: ALTER TABLE a DISABLE TRIGGER t; -step s1c: ALTER TABLE a ENABLE TRIGGER t; -step s1d: COMMIT; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s2c: INSERT INTO a VALUES (0); -ERROR: duplicate key value violates unique constraint "a_pkey" -step s2d: COMMIT; - -starting permutation: s1a s2a s1b s1c s2b s1d s2c s2d -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 -(1 row) - -step s1d: COMMIT; -step s2c: INSERT INTO a VALUES (0); -ERROR: duplicate key value violates unique constraint "a_pkey" -step s2d: COMMIT; - -starting permutation: s1a s2a s1b s1c s2b s2c s1d s2d -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 -(1 row) - -step s2c: INSERT INTO a VALUES (0); -step s1d: COMMIT; -step s2c: <... completed> -ERROR: duplicate key value violates unique constraint "a_pkey" -step s2d: COMMIT; - -starting permutation: s1a s2a s1b s2b s1c s1d s2c s2d -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 -(1 row) - -step s1c: ALTER TABLE a ENABLE TRIGGER t; -step s1d: COMMIT; -step s2c: INSERT INTO a VALUES (0); -ERROR: duplicate key value violates unique constraint "a_pkey" -step s2d: COMMIT; - -starting permutation: s1a s2a s1b s2b s1c s2c s1d s2d -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 -(1 row) - -step s1c: ALTER TABLE a ENABLE TRIGGER t; -step s2c: INSERT INTO a VALUES (0); -step s1d: COMMIT; -step s2c: <... completed> -ERROR: duplicate key value violates unique constraint "a_pkey" -step s2d: COMMIT; - -starting permutation: s1a s2a s1b s2b s2c s1c s1d s2d -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 -(1 row) - -step s2c: INSERT INTO a VALUES (0); -step s1c: ALTER TABLE a ENABLE TRIGGER t; -step s1d: COMMIT; -step s2c: <... completed> -ERROR: duplicate key value violates unique constraint "a_pkey" -step s2d: COMMIT; - -starting permutation: s1a s2a s2b s1b s1c s1d s2c s2d -step s1a: BEGIN; -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s1b: ALTER TABLE a DISABLE TRIGGER t; -step s1c: ALTER TABLE a ENABLE TRIGGER t; -step s1d: COMMIT; -step s2c: INSERT INTO a VALUES (0); -ERROR: duplicate key value violates unique constraint "a_pkey" -step s2d: COMMIT; - -starting permutation: s1a s2a s2b s1b s1c s2c s1d s2d -step s1a: BEGIN; -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s1b: ALTER TABLE a DISABLE TRIGGER t; -step s1c: ALTER TABLE a ENABLE TRIGGER t; -step s2c: INSERT INTO a VALUES (0); -step s1d: COMMIT; -step s2c: <... completed> -ERROR: duplicate key value violates unique constraint "a_pkey" -step s2d: COMMIT; - -starting permutation: s1a s2a s2b s1b s2c s1c s1d s2d -step s1a: BEGIN; -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s1b: ALTER TABLE a DISABLE TRIGGER t; -step s2c: INSERT INTO a VALUES (0); -step s1c: ALTER TABLE a ENABLE TRIGGER t; -step s1d: COMMIT; -step s2c: <... completed> -ERROR: duplicate key value violates unique constraint "a_pkey" -step s2d: COMMIT; - -starting permutation: s1a s2a s2b s2c s1b s1c s1d s2d -step s1a: BEGIN; -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s2c: INSERT INTO a VALUES (0); -ERROR: duplicate key value violates unique constraint "a_pkey" -step s1b: ALTER TABLE a DISABLE TRIGGER t; -step s1c: ALTER TABLE a ENABLE TRIGGER t; -step s1d: COMMIT; -step s2d: COMMIT; - -starting permutation: s1a s2a s2b s2c s1b s1c s2d s1d -step s1a: BEGIN; -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s2c: INSERT INTO a VALUES (0); -ERROR: duplicate key value violates unique constraint "a_pkey" -step s1b: ALTER TABLE a DISABLE TRIGGER t; -step s1c: ALTER TABLE a ENABLE TRIGGER t; -step s2d: COMMIT; -step s1d: COMMIT; - -starting permutation: s1a s2a s2b s2c s1b s2d s1c s1d -step s1a: BEGIN; -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s2c: INSERT INTO a VALUES (0); -ERROR: duplicate key value violates unique constraint "a_pkey" -step s1b: ALTER TABLE a DISABLE TRIGGER t; -step s2d: COMMIT; -step s1c: ALTER TABLE a ENABLE TRIGGER t; -step s1d: COMMIT; - -starting permutation: s1a s2a s2b s2c s2d s1b s1c s1d -step s1a: BEGIN; -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s2c: INSERT INTO a VALUES (0); -ERROR: duplicate key value violates unique constraint "a_pkey" -step s2d: COMMIT; -step s1b: ALTER TABLE a DISABLE TRIGGER t; -step s1c: ALTER TABLE a ENABLE TRIGGER t; -step s1d: COMMIT; - -starting permutation: s2a s1a s1b s1c s1d s2b s2c s2d -step s2a: BEGIN; -step s1a: BEGIN; -step s1b: ALTER TABLE a DISABLE TRIGGER t; -step s1c: ALTER TABLE a ENABLE TRIGGER t; -step s1d: COMMIT; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s2c: INSERT INTO a VALUES (0); -ERROR: duplicate key value violates unique constraint "a_pkey" -step s2d: COMMIT; - -starting permutation: s2a s1a s1b s1c s2b s1d s2c s2d -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 -(1 row) - -step s1d: COMMIT; -step s2c: INSERT INTO a VALUES (0); -ERROR: duplicate key value violates unique constraint "a_pkey" -step s2d: COMMIT; - -starting permutation: s2a s1a s1b s1c s2b s2c s1d s2d -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 -(1 row) - -step s2c: INSERT INTO a VALUES (0); -step s1d: COMMIT; -step s2c: <... completed> -ERROR: duplicate key value violates unique constraint "a_pkey" -step s2d: COMMIT; - -starting permutation: s2a s1a s1b s2b s1c s1d s2c s2d -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 -(1 row) - -step s1c: ALTER TABLE a ENABLE TRIGGER t; -step s1d: COMMIT; -step s2c: INSERT INTO a VALUES (0); -ERROR: duplicate key value violates unique constraint "a_pkey" -step s2d: COMMIT; - -starting permutation: s2a s1a s1b s2b s1c s2c s1d s2d -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 -(1 row) - -step s1c: ALTER TABLE a ENABLE TRIGGER t; -step s2c: INSERT INTO a VALUES (0); -step s1d: COMMIT; -step s2c: <... completed> -ERROR: duplicate key value violates unique constraint "a_pkey" -step s2d: COMMIT; - -starting permutation: s2a s1a s1b s2b s2c s1c s1d s2d -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 -(1 row) - -step s2c: INSERT INTO a VALUES (0); -step s1c: ALTER TABLE a ENABLE TRIGGER t; -step s1d: COMMIT; -step s2c: <... completed> -ERROR: duplicate key value violates unique constraint "a_pkey" -step s2d: COMMIT; - -starting permutation: s2a s1a s2b s1b s1c s1d s2c s2d -step s2a: BEGIN; -step s1a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s1b: ALTER TABLE a DISABLE TRIGGER t; -step s1c: ALTER TABLE a ENABLE TRIGGER t; -step s1d: COMMIT; -step s2c: INSERT INTO a VALUES (0); -ERROR: duplicate key value violates unique constraint "a_pkey" -step s2d: COMMIT; - -starting permutation: s2a s1a s2b s1b s1c s2c s1d s2d -step s2a: BEGIN; -step s1a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s1b: ALTER TABLE a DISABLE TRIGGER t; -step s1c: ALTER TABLE a ENABLE TRIGGER t; -step s2c: INSERT INTO a VALUES (0); -step s1d: COMMIT; -step s2c: <... completed> -ERROR: duplicate key value violates unique constraint "a_pkey" -step s2d: COMMIT; - -starting permutation: s2a s1a s2b s1b s2c s1c s1d s2d -step s2a: BEGIN; -step s1a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s1b: ALTER TABLE a DISABLE TRIGGER t; -step s2c: INSERT INTO a VALUES (0); -step s1c: ALTER TABLE a ENABLE TRIGGER t; -step s1d: COMMIT; -step s2c: <... completed> -ERROR: duplicate key value violates unique constraint "a_pkey" -step s2d: COMMIT; - -starting permutation: s2a s1a s2b s2c s1b s1c s1d s2d -step s2a: BEGIN; -step s1a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s2c: INSERT INTO a VALUES (0); -ERROR: duplicate key value violates unique constraint "a_pkey" -step s1b: ALTER TABLE a DISABLE TRIGGER t; -step s1c: ALTER TABLE a ENABLE TRIGGER t; -step s1d: COMMIT; -step s2d: COMMIT; - -starting permutation: s2a s1a s2b s2c s1b s1c s2d s1d -step s2a: BEGIN; -step s1a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s2c: INSERT INTO a VALUES (0); -ERROR: duplicate key value violates unique constraint "a_pkey" -step s1b: ALTER TABLE a DISABLE TRIGGER t; -step s1c: ALTER TABLE a ENABLE TRIGGER t; -step s2d: COMMIT; -step s1d: COMMIT; - -starting permutation: s2a s1a s2b s2c s1b s2d s1c s1d -step s2a: BEGIN; -step s1a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s2c: INSERT INTO a VALUES (0); -ERROR: duplicate key value violates unique constraint "a_pkey" -step s1b: ALTER TABLE a DISABLE TRIGGER t; -step s2d: COMMIT; -step s1c: ALTER TABLE a ENABLE TRIGGER t; -step s1d: COMMIT; - -starting permutation: s2a s1a s2b s2c s2d s1b s1c s1d -step s2a: BEGIN; -step s1a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s2c: INSERT INTO a VALUES (0); -ERROR: duplicate key value violates unique constraint "a_pkey" -step s2d: COMMIT; -step s1b: ALTER TABLE a DISABLE TRIGGER t; -step s1c: ALTER TABLE a ENABLE TRIGGER t; -step s1d: COMMIT; - -starting permutation: s2a s2b s1a s1b s1c s1d s2c s2d -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s1a: BEGIN; -step s1b: ALTER TABLE a DISABLE TRIGGER t; -step s1c: ALTER TABLE a ENABLE TRIGGER t; -step s1d: COMMIT; -step s2c: INSERT INTO a VALUES (0); -ERROR: duplicate key value violates unique constraint "a_pkey" -step s2d: COMMIT; - -starting permutation: s2a s2b s1a s1b s1c s2c s1d s2d -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -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); -step s1d: COMMIT; -step s2c: <... completed> -ERROR: duplicate key value violates unique constraint "a_pkey" -step s2d: COMMIT; - -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; -i -- -1 -(1 row) - -step s1a: BEGIN; -step s1b: ALTER TABLE a DISABLE TRIGGER t; -step s2c: INSERT INTO a VALUES (0); -step s1c: ALTER TABLE a ENABLE TRIGGER t; -step s1d: COMMIT; -step s2c: <... completed> -ERROR: duplicate key value violates unique constraint "a_pkey" -step s2d: COMMIT; - -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; -i -- -1 -(1 row) - -step s1a: BEGIN; -step s2c: INSERT INTO a VALUES (0); -ERROR: duplicate key value violates unique constraint "a_pkey" -step s1b: ALTER TABLE a DISABLE TRIGGER t; -step s1c: ALTER TABLE a ENABLE TRIGGER t; -step s1d: COMMIT; -step s2d: COMMIT; - -starting permutation: s2a s2b s1a s2c s1b s1c s2d s1d -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s1a: BEGIN; -step s2c: INSERT INTO a VALUES (0); -ERROR: duplicate key value violates unique constraint "a_pkey" -step s1b: ALTER TABLE a DISABLE TRIGGER t; -step s1c: ALTER TABLE a ENABLE TRIGGER t; -step s2d: COMMIT; -step s1d: COMMIT; - -starting permutation: s2a s2b s1a s2c s1b s2d s1c s1d -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s1a: BEGIN; -step s2c: INSERT INTO a VALUES (0); -ERROR: duplicate key value violates unique constraint "a_pkey" -step s1b: ALTER TABLE a DISABLE TRIGGER t; -step s2d: COMMIT; -step s1c: ALTER TABLE a ENABLE TRIGGER t; -step s1d: COMMIT; - -starting permutation: s2a s2b s1a s2c s2d s1b s1c s1d -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s1a: BEGIN; -step s2c: INSERT INTO a VALUES (0); -ERROR: duplicate key value violates unique constraint "a_pkey" -step s2d: COMMIT; -step s1b: ALTER TABLE a DISABLE TRIGGER t; -step s1c: ALTER TABLE a ENABLE TRIGGER t; -step s1d: COMMIT; - -starting permutation: s2a s2b s2c s1a s1b s1c s1d s2d -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s2c: INSERT INTO a VALUES (0); -ERROR: duplicate key value violates unique constraint "a_pkey" -step s1a: BEGIN; -step s1b: ALTER TABLE a DISABLE TRIGGER t; -step s1c: ALTER TABLE a ENABLE TRIGGER t; -step s1d: COMMIT; -step s2d: COMMIT; - -starting permutation: s2a s2b s2c s1a s1b s1c s2d s1d -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s2c: INSERT INTO a VALUES (0); -ERROR: duplicate key value violates unique constraint "a_pkey" -step s1a: BEGIN; -step s1b: ALTER TABLE a DISABLE TRIGGER t; -step s1c: ALTER TABLE a ENABLE TRIGGER t; -step s2d: COMMIT; -step s1d: COMMIT; - -starting permutation: s2a s2b s2c s1a s1b s2d s1c s1d -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s2c: INSERT INTO a VALUES (0); -ERROR: duplicate key value violates unique constraint "a_pkey" -step s1a: BEGIN; -step s1b: ALTER TABLE a DISABLE TRIGGER t; -step s2d: COMMIT; -step s1c: ALTER TABLE a ENABLE TRIGGER t; -step s1d: COMMIT; - -starting permutation: s2a s2b s2c s1a s2d s1b s1c s1d -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s2c: INSERT INTO a VALUES (0); -ERROR: duplicate key value violates unique constraint "a_pkey" -step s1a: BEGIN; -step s2d: COMMIT; -step s1b: ALTER TABLE a DISABLE TRIGGER t; -step s1c: ALTER TABLE a ENABLE TRIGGER t; -step s1d: COMMIT; - -starting permutation: s2a s2b s2c s2d s1a s1b s1c s1d -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 LIMIT 1 FOR UPDATE; -i -- -1 -(1 row) - -step s2c: INSERT INTO a VALUES (0); -ERROR: duplicate key value violates unique constraint "a_pkey" -step s2d: COMMIT; -step s1a: BEGIN; -step s1b: ALTER TABLE a DISABLE TRIGGER t; -step s1c: ALTER TABLE a ENABLE TRIGGER t; -step s1d: COMMIT; +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/alter-table-4.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/alter-table-4.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/alter-table-4.out 2025-08-23 05:04:11.936982902 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/alter-table-4.out 2025-08-23 05:09:25.819436966 +0000 @@ -1,71 +1,3 @@ Parsed test spec with 2 sessions - -starting permutation: s1b s1delc1 s2sel s1c s2sel -step s1b: BEGIN; -step s1delc1: ALTER TABLE c1 NO INHERIT p; -step s2sel: SELECT SUM(a) FROM p; -step s1c: COMMIT; -step s2sel: <... completed> -sum ---- - 11 -(1 row) - -step s2sel: SELECT SUM(a) FROM p; -sum ---- - 1 -(1 row) - - -starting permutation: s1b s1delc1 s1addc2 s2sel s1c s2sel -step s1b: BEGIN; -step s1delc1: ALTER TABLE c1 NO INHERIT p; -step s1addc2: ALTER TABLE c2 INHERIT p; -step s2sel: SELECT SUM(a) FROM p; -step s1c: COMMIT; -step s2sel: <... completed> -sum ---- - 11 -(1 row) - -step s2sel: SELECT SUM(a) FROM p; -sum ---- -101 -(1 row) - - -starting permutation: s1b s1dropc1 s2sel s1c s2sel -step s1b: BEGIN; -step s1dropc1: DROP TABLE c1; -step s2sel: SELECT SUM(a) FROM p; -step s1c: COMMIT; -step s2sel: <... completed> -sum ---- - 1 -(1 row) - -step s2sel: SELECT SUM(a) FROM p; -sum ---- - 1 -(1 row) - - -starting permutation: s1b s1delc1 s1modc1a s2sel s1c s2sel -step s1b: BEGIN; -step s1delc1: ALTER TABLE c1 NO INHERIT p; -step s1modc1a: ALTER TABLE c1 ALTER COLUMN a TYPE float; -step s2sel: SELECT SUM(a) FROM p; -step s1c: COMMIT; -step s2sel: <... completed> -ERROR: attribute "a" of relation "c1" does not match parent's type -step s2sel: SELECT SUM(a) FROM p; -sum ---- - 1 -(1 row) - +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/create-trigger.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/create-trigger.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/create-trigger.out 2025-08-23 05:04:11.936982902 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/create-trigger.out 2025-08-23 05:09:25.835436929 +0000 @@ -1,361 +1,3 @@ Parsed test spec with 2 sessions - -starting permutation: s1a s1b s1c s2a s2b s2c s2d -step s1a: BEGIN; -step s1b: CREATE TRIGGER t AFTER UPDATE ON a EXECUTE PROCEDURE f(); -step s1c: COMMIT; -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 FOR UPDATE; -i -- -1 -(1 row) - -step s2c: UPDATE a SET i = 4 WHERE i = 3; -step s2d: COMMIT; - -starting permutation: s1a s1b s2a s1c s2b s2c s2d -step s1a: BEGIN; -step s1b: CREATE TRIGGER t AFTER UPDATE ON a EXECUTE PROCEDURE f(); -step s2a: BEGIN; -step s1c: COMMIT; -step s2b: SELECT * FROM a WHERE i = 1 FOR UPDATE; -i -- -1 -(1 row) - -step s2c: UPDATE a SET i = 4 WHERE i = 3; -step s2d: COMMIT; - -starting permutation: s1a s1b s2a s2b s1c s2c s2d -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 -(1 row) - -step s1c: COMMIT; -step s2c: UPDATE a SET i = 4 WHERE i = 3; -step s2d: COMMIT; - -starting permutation: s1a s1b s2a s2b s2c s1c s2d -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 -(1 row) - -step s2c: UPDATE a SET i = 4 WHERE i = 3; -step s1c: COMMIT; -step s2c: <... completed> -step s2d: COMMIT; - -starting permutation: s1a s2a s1b s1c s2b s2c s2d -step s1a: BEGIN; -step s2a: BEGIN; -step s1b: CREATE TRIGGER t AFTER UPDATE ON a EXECUTE PROCEDURE f(); -step s1c: COMMIT; -step s2b: SELECT * FROM a WHERE i = 1 FOR UPDATE; -i -- -1 -(1 row) - -step s2c: UPDATE a SET i = 4 WHERE i = 3; -step s2d: COMMIT; - -starting permutation: s1a s2a s1b s2b s1c s2c s2d -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 -(1 row) - -step s1c: COMMIT; -step s2c: UPDATE a SET i = 4 WHERE i = 3; -step s2d: COMMIT; - -starting permutation: s1a s2a s1b s2b s2c s1c s2d -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 -(1 row) - -step s2c: UPDATE a SET i = 4 WHERE i = 3; -step s1c: COMMIT; -step s2c: <... completed> -step s2d: COMMIT; - -starting permutation: s1a s2a s2b s1b s1c s2c s2d -step s1a: BEGIN; -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 FOR UPDATE; -i -- -1 -(1 row) - -step s1b: CREATE TRIGGER t AFTER UPDATE ON a EXECUTE PROCEDURE f(); -step s1c: COMMIT; -step s2c: UPDATE a SET i = 4 WHERE i = 3; -step s2d: COMMIT; - -starting permutation: s1a s2a s2b s1b s2c s1c s2d -step s1a: BEGIN; -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 FOR UPDATE; -i -- -1 -(1 row) - -step s1b: CREATE TRIGGER t AFTER UPDATE ON a EXECUTE PROCEDURE f(); -step s2c: UPDATE a SET i = 4 WHERE i = 3; -step s1c: COMMIT; -step s2c: <... completed> -step s2d: COMMIT; - -starting permutation: s1a s2a s2b s2c s1b s2d s1c -step s1a: BEGIN; -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 FOR UPDATE; -i -- -1 -(1 row) - -step s2c: UPDATE a SET i = 4 WHERE i = 3; -step s1b: CREATE TRIGGER t AFTER UPDATE ON a EXECUTE PROCEDURE f(); -step s2d: COMMIT; -step s1b: <... completed> -step s1c: COMMIT; - -starting permutation: s1a s2a s2b s2c s2d s1b s1c -step s1a: BEGIN; -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 FOR UPDATE; -i -- -1 -(1 row) - -step s2c: UPDATE a SET i = 4 WHERE i = 3; -step s2d: COMMIT; -step s1b: CREATE TRIGGER t AFTER UPDATE ON a EXECUTE PROCEDURE f(); -step s1c: COMMIT; - -starting permutation: s2a s1a s1b s1c s2b s2c s2d -step s2a: BEGIN; -step s1a: BEGIN; -step s1b: CREATE TRIGGER t AFTER UPDATE ON a EXECUTE PROCEDURE f(); -step s1c: COMMIT; -step s2b: SELECT * FROM a WHERE i = 1 FOR UPDATE; -i -- -1 -(1 row) - -step s2c: UPDATE a SET i = 4 WHERE i = 3; -step s2d: COMMIT; - -starting permutation: s2a s1a s1b s2b s1c s2c s2d -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 -(1 row) - -step s1c: COMMIT; -step s2c: UPDATE a SET i = 4 WHERE i = 3; -step s2d: COMMIT; - -starting permutation: s2a s1a s1b s2b s2c s1c s2d -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 -(1 row) - -step s2c: UPDATE a SET i = 4 WHERE i = 3; -step s1c: COMMIT; -step s2c: <... completed> -step s2d: COMMIT; - -starting permutation: s2a s1a s2b s1b s1c s2c s2d -step s2a: BEGIN; -step s1a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 FOR UPDATE; -i -- -1 -(1 row) - -step s1b: CREATE TRIGGER t AFTER UPDATE ON a EXECUTE PROCEDURE f(); -step s1c: COMMIT; -step s2c: UPDATE a SET i = 4 WHERE i = 3; -step s2d: COMMIT; - -starting permutation: s2a s1a s2b s1b s2c s1c s2d -step s2a: BEGIN; -step s1a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 FOR UPDATE; -i -- -1 -(1 row) - -step s1b: CREATE TRIGGER t AFTER UPDATE ON a EXECUTE PROCEDURE f(); -step s2c: UPDATE a SET i = 4 WHERE i = 3; -step s1c: COMMIT; -step s2c: <... completed> -step s2d: COMMIT; - -starting permutation: s2a s1a s2b s2c s1b s2d s1c -step s2a: BEGIN; -step s1a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 FOR UPDATE; -i -- -1 -(1 row) - -step s2c: UPDATE a SET i = 4 WHERE i = 3; -step s1b: CREATE TRIGGER t AFTER UPDATE ON a EXECUTE PROCEDURE f(); -step s2d: COMMIT; -step s1b: <... completed> -step s1c: COMMIT; - -starting permutation: s2a s1a s2b s2c s2d s1b s1c -step s2a: BEGIN; -step s1a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 FOR UPDATE; -i -- -1 -(1 row) - -step s2c: UPDATE a SET i = 4 WHERE i = 3; -step s2d: COMMIT; -step s1b: CREATE TRIGGER t AFTER UPDATE ON a EXECUTE PROCEDURE f(); -step s1c: COMMIT; - -starting permutation: s2a s2b s1a s1b s1c s2c s2d -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 FOR UPDATE; -i -- -1 -(1 row) - -step s1a: BEGIN; -step s1b: CREATE TRIGGER t AFTER UPDATE ON a EXECUTE PROCEDURE f(); -step s1c: COMMIT; -step s2c: UPDATE a SET i = 4 WHERE i = 3; -step s2d: COMMIT; - -starting permutation: s2a s2b s1a s1b s2c s1c s2d -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 FOR UPDATE; -i -- -1 -(1 row) - -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; -step s1c: COMMIT; -step s2c: <... completed> -step s2d: COMMIT; - -starting permutation: s2a s2b s1a s2c s1b s2d s1c -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 FOR UPDATE; -i -- -1 -(1 row) - -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(); -step s2d: COMMIT; -step s1b: <... completed> -step s1c: COMMIT; - -starting permutation: s2a s2b s1a s2c s2d s1b s1c -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 FOR UPDATE; -i -- -1 -(1 row) - -step s1a: BEGIN; -step s2c: UPDATE a SET i = 4 WHERE i = 3; -step s2d: COMMIT; -step s1b: CREATE TRIGGER t AFTER UPDATE ON a EXECUTE PROCEDURE f(); -step s1c: COMMIT; - -starting permutation: s2a s2b s2c s1a s1b s2d s1c -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 FOR UPDATE; -i -- -1 -(1 row) - -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(); -step s2d: COMMIT; -step s1b: <... completed> -step s1c: COMMIT; - -starting permutation: s2a s2b s2c s1a s2d s1b s1c -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 FOR UPDATE; -i -- -1 -(1 row) - -step s2c: UPDATE a SET i = 4 WHERE i = 3; -step s1a: BEGIN; -step s2d: COMMIT; -step s1b: CREATE TRIGGER t AFTER UPDATE ON a EXECUTE PROCEDURE f(); -step s1c: COMMIT; - -starting permutation: s2a s2b s2c s2d s1a s1b s1c -step s2a: BEGIN; -step s2b: SELECT * FROM a WHERE i = 1 FOR UPDATE; -i -- -1 -(1 row) - -step s2c: UPDATE a SET i = 4 WHERE i = 3; -step s2d: COMMIT; -step s1a: BEGIN; -step s1b: CREATE TRIGGER t AFTER UPDATE ON a EXECUTE PROCEDURE f(); -step s1c: COMMIT; +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/sequence-ddl.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/sequence-ddl.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/sequence-ddl.out 2025-08-23 05:04:11.956957407 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/sequence-ddl.out 2025-08-23 05:09:25.939436680 +0000 @@ -1,91 +1,3 @@ Parsed test spec with 2 sessions - -starting permutation: s1alter s1commit s2nv -step s1alter: ALTER SEQUENCE seq1 MAXVALUE 10; -step s1commit: COMMIT; -step s2nv: SELECT nextval('seq1') FROM generate_series(1, 15); -ERROR: nextval: reached maximum value of sequence "seq1" (10) - -starting permutation: s1alter s2nv s1commit -step s1alter: ALTER SEQUENCE seq1 MAXVALUE 10; -step s2nv: SELECT nextval('seq1') FROM generate_series(1, 15); -step s1commit: COMMIT; -step s2nv: <... completed> -ERROR: nextval: reached maximum value of sequence "seq1" (10) - -starting permutation: s1restart s2nv s1commit -step s1restart: ALTER SEQUENCE seq1 RESTART WITH 5; -step s2nv: SELECT nextval('seq1') FROM generate_series(1, 15); -step s1commit: COMMIT; -step s2nv: <... completed> -nextval -------- - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18 - 19 -(15 rows) - - -starting permutation: s1restart s2nv s1commit -step s1restart: ALTER SEQUENCE seq1 RESTART WITH 5; -step s2nv: SELECT nextval('seq1') FROM generate_series(1, 15); -step s1commit: COMMIT; -step s2nv: <... completed> -nextval -------- - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18 - 19 -(15 rows) - - -starting permutation: s2begin s2nv s1alter2 s2commit s1commit -step s2begin: BEGIN; -step s2nv: SELECT nextval('seq1') FROM generate_series(1, 15); -nextval -------- - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 - 15 -(15 rows) - -step s1alter2: ALTER SEQUENCE seq1 MAXVALUE 20; -step s2commit: COMMIT; -step s1alter2: <... completed> -step s1commit: COMMIT; +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/async-notify.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/async-notify.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/async-notify.out 2025-08-23 05:04:11.936982902 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/async-notify.out 2025-08-23 05:09:26.107436275 +0000 @@ -1,127 +1,3 @@ Parsed test spec with 3 sessions - -starting permutation: listenc notify1 notify2 notify3 notifyf -step listenc: LISTEN c1; LISTEN c2; -step notify1: NOTIFY c1; -notifier: NOTIFY "c1" with payload "" from notifier -step notify2: NOTIFY c2, 'payload'; -notifier: NOTIFY "c2" with payload "payload" from notifier -step notify3: NOTIFY c3, 'payload3'; -step notifyf: SELECT pg_notify('c2', NULL); -pg_notify ---------- - -(1 row) - -notifier: NOTIFY "c2" with payload "" from notifier - -starting permutation: listenc notifyd1 notifyd2 notifys1 -step listenc: LISTEN c1; LISTEN c2; -step notifyd1: NOTIFY c2, 'payload'; NOTIFY c1; NOTIFY "c2", 'payload'; -notifier: NOTIFY "c2" with payload "payload" from notifier -notifier: NOTIFY "c1" with payload "" from notifier -step notifyd2: NOTIFY c1; NOTIFY c1; NOTIFY c1, 'p1'; NOTIFY c1, 'p2'; -notifier: NOTIFY "c1" with payload "" from notifier -notifier: NOTIFY "c1" with payload "p1" from notifier -notifier: NOTIFY "c1" with payload "p2" from notifier -step notifys1: - BEGIN; - NOTIFY c1, 'payload'; NOTIFY "c2", 'payload'; - NOTIFY c1, 'payload'; NOTIFY "c2", 'payload'; - SAVEPOINT s1; - NOTIFY c1, 'payload'; NOTIFY "c2", 'payload'; - NOTIFY c1, 'payloads'; NOTIFY "c2", 'payloads'; - NOTIFY c1, 'payload'; NOTIFY "c2", 'payload'; - NOTIFY c1, 'payloads'; NOTIFY "c2", 'payloads'; - RELEASE SAVEPOINT s1; - SAVEPOINT s2; - NOTIFY c1, 'rpayload'; NOTIFY "c2", 'rpayload'; - NOTIFY c1, 'rpayloads'; NOTIFY "c2", 'rpayloads'; - NOTIFY c1, 'rpayload'; NOTIFY "c2", 'rpayload'; - NOTIFY c1, 'rpayloads'; NOTIFY "c2", 'rpayloads'; - ROLLBACK TO SAVEPOINT s2; - COMMIT; - -notifier: NOTIFY "c1" with payload "payload" from notifier -notifier: NOTIFY "c2" with payload "payload" from notifier -notifier: NOTIFY "c1" with payload "payloads" from notifier -notifier: NOTIFY "c2" with payload "payloads" from notifier - -starting permutation: llisten notify1 notify2 notify3 notifyf lcheck -step llisten: LISTEN c1; LISTEN c2; -step notify1: NOTIFY c1; -step notify2: NOTIFY c2, 'payload'; -step notify3: NOTIFY c3, 'payload3'; -step notifyf: SELECT pg_notify('c2', NULL); -pg_notify ---------- - -(1 row) - -step lcheck: SELECT 1 AS x; -x -- -1 -(1 row) - -listener: NOTIFY "c1" with payload "" from notifier -listener: NOTIFY "c2" with payload "payload" from notifier -listener: NOTIFY "c2" with payload "" from notifier - -starting permutation: listenc llisten notify1 notify2 notify3 notifyf lcheck -step listenc: LISTEN c1; LISTEN c2; -step llisten: LISTEN c1; LISTEN c2; -step notify1: NOTIFY c1; -notifier: NOTIFY "c1" with payload "" from notifier -step notify2: NOTIFY c2, 'payload'; -notifier: NOTIFY "c2" with payload "payload" from notifier -step notify3: NOTIFY c3, 'payload3'; -step notifyf: SELECT pg_notify('c2', NULL); -pg_notify ---------- - -(1 row) - -notifier: NOTIFY "c2" with payload "" from notifier -step lcheck: SELECT 1 AS x; -x -- -1 -(1 row) - -listener: NOTIFY "c1" with payload "" from notifier -listener: NOTIFY "c2" with payload "payload" from notifier -listener: NOTIFY "c2" with payload "" from notifier - -starting permutation: l2listen l2begin notify1 lbegins llisten lcommit l2commit l2stop -step l2listen: LISTEN c1; -step l2begin: BEGIN; -step notify1: NOTIFY c1; -step lbegins: BEGIN ISOLATION LEVEL SERIALIZABLE; -step llisten: LISTEN c1; LISTEN c2; -step lcommit: COMMIT; -step l2commit: COMMIT; -listener2: NOTIFY "c1" with payload "" from notifier -step l2stop: UNLISTEN *; - -starting permutation: llisten lbegin usage bignotify usage -step llisten: LISTEN c1; LISTEN c2; -step lbegin: BEGIN; -step usage: SELECT pg_notification_queue_usage() > 0 AS nonzero; -nonzero -------- -f -(1 row) - -step bignotify: SELECT count(pg_notify('c1', s::text)) FROM generate_series(1, 1000) s; -count ------ - 1000 -(1 row) - -step usage: SELECT pg_notification_queue_usage() > 0 AS nonzero; -nonzero -------- -t -(1 row) - +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/vacuum-no-cleanup-lock.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/vacuum-no-cleanup-lock.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/vacuum-no-cleanup-lock.out 2025-08-23 05:04:11.960952309 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/vacuum-no-cleanup-lock.out 2025-08-23 05:09:26.323435752 +0000 @@ -1,189 +1,3 @@ Parsed test spec with 4 sessions - -starting permutation: vacuumer_pg_class_stats dml_insert vacuumer_nonaggressive_vacuum vacuumer_pg_class_stats -step vacuumer_pg_class_stats: - SELECT relpages, reltuples FROM pg_class WHERE oid = 'smalltbl'::regclass; - -relpages|reltuples ---------+--------- - 1| 20 -(1 row) - -step dml_insert: - INSERT INTO smalltbl SELECT max(id) + 1 FROM smalltbl; - -step vacuumer_nonaggressive_vacuum: - VACUUM smalltbl; - -step vacuumer_pg_class_stats: - SELECT relpages, reltuples FROM pg_class WHERE oid = 'smalltbl'::regclass; - -relpages|reltuples ---------+--------- - 1| 21 -(1 row) - - -starting permutation: vacuumer_pg_class_stats dml_insert pinholder_cursor vacuumer_nonaggressive_vacuum vacuumer_pg_class_stats pinholder_commit -step vacuumer_pg_class_stats: - SELECT relpages, reltuples FROM pg_class WHERE oid = 'smalltbl'::regclass; - -relpages|reltuples ---------+--------- - 1| 20 -(1 row) - -step dml_insert: - INSERT INTO smalltbl SELECT max(id) + 1 FROM smalltbl; - -step pinholder_cursor: - BEGIN; - DECLARE c1 CURSOR FOR SELECT 1 AS dummy FROM smalltbl; - FETCH NEXT FROM c1; - -dummy ------ - 1 -(1 row) - -step vacuumer_nonaggressive_vacuum: - VACUUM smalltbl; - -step vacuumer_pg_class_stats: - SELECT relpages, reltuples FROM pg_class WHERE oid = 'smalltbl'::regclass; - -relpages|reltuples ---------+--------- - 1| 21 -(1 row) - -step pinholder_commit: - COMMIT; - - -starting permutation: vacuumer_pg_class_stats pinholder_cursor dml_insert dml_delete dml_insert vacuumer_nonaggressive_vacuum vacuumer_pg_class_stats pinholder_commit -step vacuumer_pg_class_stats: - SELECT relpages, reltuples FROM pg_class WHERE oid = 'smalltbl'::regclass; - -relpages|reltuples ---------+--------- - 1| 20 -(1 row) - -step pinholder_cursor: - BEGIN; - DECLARE c1 CURSOR FOR SELECT 1 AS dummy FROM smalltbl; - FETCH NEXT FROM c1; - -dummy ------ - 1 -(1 row) - -step dml_insert: - INSERT INTO smalltbl SELECT max(id) + 1 FROM smalltbl; - -step dml_delete: - DELETE FROM smalltbl WHERE id = (SELECT min(id) FROM smalltbl); - -step dml_insert: - INSERT INTO smalltbl SELECT max(id) + 1 FROM smalltbl; - -step vacuumer_nonaggressive_vacuum: - VACUUM smalltbl; - -step vacuumer_pg_class_stats: - SELECT relpages, reltuples FROM pg_class WHERE oid = 'smalltbl'::regclass; - -relpages|reltuples ---------+--------- - 1| 21 -(1 row) - -step pinholder_commit: - COMMIT; - - -starting permutation: vacuumer_pg_class_stats dml_insert dml_delete pinholder_cursor dml_insert vacuumer_nonaggressive_vacuum vacuumer_pg_class_stats pinholder_commit -step vacuumer_pg_class_stats: - SELECT relpages, reltuples FROM pg_class WHERE oid = 'smalltbl'::regclass; - -relpages|reltuples ---------+--------- - 1| 20 -(1 row) - -step dml_insert: - INSERT INTO smalltbl SELECT max(id) + 1 FROM smalltbl; - -step dml_delete: - DELETE FROM smalltbl WHERE id = (SELECT min(id) FROM smalltbl); - -step pinholder_cursor: - BEGIN; - DECLARE c1 CURSOR FOR SELECT 1 AS dummy FROM smalltbl; - FETCH NEXT FROM c1; - -dummy ------ - 1 -(1 row) - -step dml_insert: - INSERT INTO smalltbl SELECT max(id) + 1 FROM smalltbl; - -step vacuumer_nonaggressive_vacuum: - VACUUM smalltbl; - -step vacuumer_pg_class_stats: - SELECT relpages, reltuples FROM pg_class WHERE oid = 'smalltbl'::regclass; - -relpages|reltuples ---------+--------- - 1| 21 -(1 row) - -step pinholder_commit: - COMMIT; - - -starting permutation: dml_begin dml_other_begin dml_key_share dml_other_key_share vacuumer_nonaggressive_vacuum pinholder_cursor dml_other_update dml_commit dml_other_commit vacuumer_nonaggressive_vacuum pinholder_commit vacuumer_nonaggressive_vacuum -step dml_begin: BEGIN; -step dml_other_begin: BEGIN; -step dml_key_share: SELECT id FROM smalltbl WHERE id = 3 FOR KEY SHARE; -id --- - 3 -(1 row) - -step dml_other_key_share: SELECT id FROM smalltbl WHERE id = 3 FOR KEY SHARE; -id --- - 3 -(1 row) - -step vacuumer_nonaggressive_vacuum: - VACUUM smalltbl; - -step pinholder_cursor: - BEGIN; - DECLARE c1 CURSOR FOR SELECT 1 AS dummy FROM smalltbl; - FETCH NEXT FROM c1; - -dummy ------ - 1 -(1 row) - -step dml_other_update: UPDATE smalltbl SET t = 'u' WHERE id = 3; -step dml_commit: COMMIT; -step dml_other_commit: COMMIT; -step vacuumer_nonaggressive_vacuum: - VACUUM smalltbl; - -step pinholder_commit: - COMMIT; - -step vacuumer_nonaggressive_vacuum: - VACUUM smalltbl; - +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/timeouts.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/timeouts.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/timeouts.out 2025-08-23 05:04:11.960952309 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/timeouts.out 2025-08-23 05:09:26.535435240 +0000 @@ -1,81 +1,3 @@ Parsed test spec with 2 sessions - -starting permutation: rdtbl sto locktbl -step rdtbl: SELECT * FROM accounts; -accountid|balance ----------+------- -checking | 600 -savings | 600 -(2 rows) - -step sto: SET statement_timeout = '10ms'; -step locktbl: LOCK TABLE accounts; -step locktbl: <... completed> -ERROR: canceling statement due to statement timeout - -starting permutation: rdtbl lto locktbl -step rdtbl: SELECT * FROM accounts; -accountid|balance ----------+------- -checking | 600 -savings | 600 -(2 rows) - -step lto: SET lock_timeout = '10ms'; -step locktbl: LOCK TABLE accounts; -step locktbl: <... completed> -ERROR: canceling statement due to lock timeout - -starting permutation: rdtbl lsto locktbl -step rdtbl: SELECT * FROM accounts; -accountid|balance ----------+------- -checking | 600 -savings | 600 -(2 rows) - -step lsto: SET lock_timeout = '10ms'; SET statement_timeout = '10s'; -step locktbl: LOCK TABLE accounts; -step locktbl: <... completed> -ERROR: canceling statement due to lock timeout - -starting permutation: rdtbl slto locktbl -step rdtbl: SELECT * FROM accounts; -accountid|balance ----------+------- -checking | 600 -savings | 600 -(2 rows) - -step slto: SET lock_timeout = '10s'; SET statement_timeout = '10ms'; -step locktbl: LOCK TABLE accounts; -step locktbl: <... completed> -ERROR: canceling statement due to statement timeout - -starting permutation: wrtbl sto update -step wrtbl: UPDATE accounts SET balance = balance + 100; -step sto: SET statement_timeout = '10ms'; -step update: DELETE FROM accounts WHERE accountid = 'checking'; -step update: <... completed> -ERROR: canceling statement due to statement timeout - -starting permutation: wrtbl lto update -step wrtbl: UPDATE accounts SET balance = balance + 100; -step lto: SET lock_timeout = '10ms'; -step update: DELETE FROM accounts WHERE accountid = 'checking'; -step update: <... completed> -ERROR: canceling statement due to lock timeout - -starting permutation: wrtbl lsto update -step wrtbl: UPDATE accounts SET balance = balance + 100; -step lsto: SET lock_timeout = '10ms'; SET statement_timeout = '10s'; -step update: DELETE FROM accounts WHERE accountid = 'checking'; -step update: <... completed> -ERROR: canceling statement due to lock timeout - -starting permutation: wrtbl slto update -step wrtbl: UPDATE accounts SET balance = balance + 100; -step slto: SET lock_timeout = '10s'; SET statement_timeout = '10ms'; -step update: DELETE FROM accounts WHERE accountid = 'checking'; -step update: <... completed> -ERROR: canceling statement due to statement timeout +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/vacuum-concurrent-drop.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/vacuum-concurrent-drop.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/vacuum-concurrent-drop.out 2025-08-23 05:04:11.960952309 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/vacuum-concurrent-drop.out 2025-08-23 05:09:26.699434843 +0000 @@ -1,76 +1,3 @@ Parsed test spec with 2 sessions - -starting permutation: lock vac_specified drop_and_commit -step lock: - BEGIN; - LOCK part1 IN SHARE MODE; - -step vac_specified: VACUUM part1, part2; -step drop_and_commit: - DROP TABLE part2; - COMMIT; - -s2: WARNING: skipping vacuum of "part2" --- relation no longer exists -step vac_specified: <... completed> - -starting permutation: lock vac_all_parts drop_and_commit -step lock: - BEGIN; - LOCK part1 IN SHARE MODE; - -step vac_all_parts: VACUUM parted; -step drop_and_commit: - DROP TABLE part2; - COMMIT; - -step vac_all_parts: <... completed> - -starting permutation: lock analyze_specified drop_and_commit -step lock: - BEGIN; - LOCK part1 IN SHARE MODE; - -step analyze_specified: ANALYZE part1, part2; -step drop_and_commit: - DROP TABLE part2; - COMMIT; - -s2: WARNING: skipping analyze of "part2" --- relation no longer exists -step analyze_specified: <... completed> - -starting permutation: lock analyze_all_parts drop_and_commit -step lock: - BEGIN; - LOCK part1 IN SHARE MODE; - -step analyze_all_parts: ANALYZE parted; -step drop_and_commit: - DROP TABLE part2; - COMMIT; - -step analyze_all_parts: <... completed> - -starting permutation: lock vac_analyze_specified drop_and_commit -step lock: - BEGIN; - LOCK part1 IN SHARE MODE; - -step vac_analyze_specified: VACUUM ANALYZE part1, part2; -step drop_and_commit: - DROP TABLE part2; - COMMIT; - -s2: WARNING: skipping vacuum of "part2" --- relation no longer exists -step vac_analyze_specified: <... completed> - -starting permutation: lock vac_analyze_all_parts drop_and_commit -step lock: - BEGIN; - LOCK part1 IN SHARE MODE; - -step vac_analyze_all_parts: VACUUM ANALYZE parted; -step drop_and_commit: - DROP TABLE part2; - COMMIT; - -step vac_analyze_all_parts: <... completed> +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/vacuum-conflict.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/vacuum-conflict.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/vacuum-conflict.out 2025-08-23 05:04:11.960952309 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/vacuum-conflict.out 2025-08-23 05:09:26.875434416 +0000 @@ -1,149 +1,3 @@ Parsed test spec with 2 sessions - -starting permutation: s1_begin s1_lock s2_auth s2_vacuum s1_commit s2_reset -step s1_begin: BEGIN; -step s1_lock: LOCK vacuum_tab IN SHARE UPDATE EXCLUSIVE MODE; -step s2_auth: SET ROLE regress_vacuum_conflict; -s2: WARNING: permission denied to vacuum "vacuum_tab", skipping it -step s2_vacuum: VACUUM vacuum_tab; -step s1_commit: COMMIT; -step s2_reset: RESET ROLE; - -starting permutation: s1_begin s2_auth s2_vacuum s1_lock s1_commit s2_reset -step s1_begin: BEGIN; -step s2_auth: SET ROLE regress_vacuum_conflict; -s2: WARNING: permission denied to vacuum "vacuum_tab", skipping it -step s2_vacuum: VACUUM vacuum_tab; -step s1_lock: LOCK vacuum_tab IN SHARE UPDATE EXCLUSIVE MODE; -step s1_commit: COMMIT; -step s2_reset: RESET ROLE; - -starting permutation: s1_begin s2_auth s1_lock s2_vacuum s1_commit s2_reset -step s1_begin: BEGIN; -step s2_auth: SET ROLE regress_vacuum_conflict; -step s1_lock: LOCK vacuum_tab IN SHARE UPDATE EXCLUSIVE MODE; -s2: WARNING: permission denied to vacuum "vacuum_tab", skipping it -step s2_vacuum: VACUUM vacuum_tab; -step s1_commit: COMMIT; -step s2_reset: RESET ROLE; - -starting permutation: s2_auth s2_vacuum s1_begin s1_lock s1_commit s2_reset -step s2_auth: SET ROLE regress_vacuum_conflict; -s2: WARNING: permission denied to vacuum "vacuum_tab", skipping it -step s2_vacuum: VACUUM vacuum_tab; -step s1_begin: BEGIN; -step s1_lock: LOCK vacuum_tab IN SHARE UPDATE EXCLUSIVE MODE; -step s1_commit: COMMIT; -step s2_reset: RESET ROLE; - -starting permutation: s1_begin s1_lock s2_auth s2_analyze s1_commit s2_reset -step s1_begin: BEGIN; -step s1_lock: LOCK vacuum_tab IN SHARE UPDATE EXCLUSIVE MODE; -step s2_auth: SET ROLE regress_vacuum_conflict; -s2: WARNING: permission denied to analyze "vacuum_tab", skipping it -step s2_analyze: ANALYZE vacuum_tab; -step s1_commit: COMMIT; -step s2_reset: RESET ROLE; - -starting permutation: s1_begin s2_auth s2_analyze s1_lock s1_commit s2_reset -step s1_begin: BEGIN; -step s2_auth: SET ROLE regress_vacuum_conflict; -s2: WARNING: permission denied to analyze "vacuum_tab", skipping it -step s2_analyze: ANALYZE vacuum_tab; -step s1_lock: LOCK vacuum_tab IN SHARE UPDATE EXCLUSIVE MODE; -step s1_commit: COMMIT; -step s2_reset: RESET ROLE; - -starting permutation: s1_begin s2_auth s1_lock s2_analyze s1_commit s2_reset -step s1_begin: BEGIN; -step s2_auth: SET ROLE regress_vacuum_conflict; -step s1_lock: LOCK vacuum_tab IN SHARE UPDATE EXCLUSIVE MODE; -s2: WARNING: permission denied to analyze "vacuum_tab", skipping it -step s2_analyze: ANALYZE vacuum_tab; -step s1_commit: COMMIT; -step s2_reset: RESET ROLE; - -starting permutation: s2_auth s2_analyze s1_begin s1_lock s1_commit s2_reset -step s2_auth: SET ROLE regress_vacuum_conflict; -s2: WARNING: permission denied to analyze "vacuum_tab", skipping it -step s2_analyze: ANALYZE vacuum_tab; -step s1_begin: BEGIN; -step s1_lock: LOCK vacuum_tab IN SHARE UPDATE EXCLUSIVE MODE; -step s1_commit: COMMIT; -step s2_reset: RESET ROLE; - -starting permutation: s1_begin s2_grant s1_lock s2_auth s2_vacuum s1_commit s2_reset -step s1_begin: BEGIN; -step s2_grant: ALTER TABLE vacuum_tab OWNER TO regress_vacuum_conflict; -step s1_lock: LOCK vacuum_tab IN SHARE UPDATE EXCLUSIVE MODE; -step s2_auth: SET ROLE regress_vacuum_conflict; -step s2_vacuum: VACUUM vacuum_tab; -step s1_commit: COMMIT; -step s2_vacuum: <... completed> -step s2_reset: RESET ROLE; - -starting permutation: s1_begin s2_grant s2_auth s2_vacuum s1_lock s1_commit s2_reset -step s1_begin: BEGIN; -step s2_grant: ALTER TABLE vacuum_tab OWNER TO regress_vacuum_conflict; -step s2_auth: SET ROLE regress_vacuum_conflict; -step s2_vacuum: VACUUM vacuum_tab; -step s1_lock: LOCK vacuum_tab IN SHARE UPDATE EXCLUSIVE MODE; -step s1_commit: COMMIT; -step s2_reset: RESET ROLE; - -starting permutation: s1_begin s2_grant s2_auth s1_lock s2_vacuum s1_commit s2_reset -step s1_begin: BEGIN; -step s2_grant: ALTER TABLE vacuum_tab OWNER TO regress_vacuum_conflict; -step s2_auth: SET ROLE regress_vacuum_conflict; -step s1_lock: LOCK vacuum_tab IN SHARE UPDATE EXCLUSIVE MODE; -step s2_vacuum: VACUUM vacuum_tab; -step s1_commit: COMMIT; -step s2_vacuum: <... completed> -step s2_reset: RESET ROLE; - -starting permutation: s2_grant s2_auth s2_vacuum s1_begin s1_lock s1_commit s2_reset -step s2_grant: ALTER TABLE vacuum_tab OWNER TO regress_vacuum_conflict; -step s2_auth: SET ROLE regress_vacuum_conflict; -step s2_vacuum: VACUUM vacuum_tab; -step s1_begin: BEGIN; -step s1_lock: LOCK vacuum_tab IN SHARE UPDATE EXCLUSIVE MODE; -step s1_commit: COMMIT; -step s2_reset: RESET ROLE; - -starting permutation: s1_begin s2_grant s1_lock s2_auth s2_analyze s1_commit s2_reset -step s1_begin: BEGIN; -step s2_grant: ALTER TABLE vacuum_tab OWNER TO regress_vacuum_conflict; -step s1_lock: LOCK vacuum_tab IN SHARE UPDATE EXCLUSIVE MODE; -step s2_auth: SET ROLE regress_vacuum_conflict; -step s2_analyze: ANALYZE vacuum_tab; -step s1_commit: COMMIT; -step s2_analyze: <... completed> -step s2_reset: RESET ROLE; - -starting permutation: s1_begin s2_grant s2_auth s2_analyze s1_lock s1_commit s2_reset -step s1_begin: BEGIN; -step s2_grant: ALTER TABLE vacuum_tab OWNER TO regress_vacuum_conflict; -step s2_auth: SET ROLE regress_vacuum_conflict; -step s2_analyze: ANALYZE vacuum_tab; -step s1_lock: LOCK vacuum_tab IN SHARE UPDATE EXCLUSIVE MODE; -step s1_commit: COMMIT; -step s2_reset: RESET ROLE; - -starting permutation: s1_begin s2_grant s2_auth s1_lock s2_analyze s1_commit s2_reset -step s1_begin: BEGIN; -step s2_grant: ALTER TABLE vacuum_tab OWNER TO regress_vacuum_conflict; -step s2_auth: SET ROLE regress_vacuum_conflict; -step s1_lock: LOCK vacuum_tab IN SHARE UPDATE EXCLUSIVE MODE; -step s2_analyze: ANALYZE vacuum_tab; -step s1_commit: COMMIT; -step s2_analyze: <... completed> -step s2_reset: RESET ROLE; - -starting permutation: s2_grant s2_auth s2_analyze s1_begin s1_lock s1_commit s2_reset -step s2_grant: ALTER TABLE vacuum_tab OWNER TO regress_vacuum_conflict; -step s2_auth: SET ROLE regress_vacuum_conflict; -step s2_analyze: ANALYZE vacuum_tab; -step s1_begin: BEGIN; -step s1_lock: LOCK vacuum_tab IN SHARE UPDATE EXCLUSIVE MODE; -step s1_commit: COMMIT; -step s2_reset: RESET ROLE; +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/vacuum-skip-locked.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/vacuum-skip-locked.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/vacuum-skip-locked.out 2025-08-23 05:04:11.960952309 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/vacuum-skip-locked.out 2025-08-23 05:09:27.003434108 +0000 @@ -1,171 +1,3 @@ Parsed test spec with 2 sessions - -starting permutation: lock_share vac_specified commit -step lock_share: - BEGIN; - LOCK part1 IN SHARE MODE; - -s2: WARNING: skipping vacuum of "part1" --- lock not available -step vac_specified: VACUUM (SKIP_LOCKED) part1, part2; -step commit: - COMMIT; - - -starting permutation: lock_share vac_all_parts commit -step lock_share: - BEGIN; - LOCK part1 IN SHARE MODE; - -step vac_all_parts: VACUUM (SKIP_LOCKED) parted; -step commit: - COMMIT; - - -starting permutation: lock_share analyze_specified commit -step lock_share: - BEGIN; - LOCK part1 IN SHARE MODE; - -s2: WARNING: skipping analyze of "part1" --- lock not available -step analyze_specified: ANALYZE (SKIP_LOCKED) part1, part2; -step commit: - COMMIT; - - -starting permutation: lock_share analyze_all_parts commit -step lock_share: - BEGIN; - LOCK part1 IN SHARE MODE; - -step analyze_all_parts: ANALYZE (SKIP_LOCKED) parted; -step commit: - COMMIT; - - -starting permutation: lock_share vac_analyze_specified commit -step lock_share: - BEGIN; - LOCK part1 IN SHARE MODE; - -s2: WARNING: skipping vacuum of "part1" --- lock not available -step vac_analyze_specified: VACUUM (ANALYZE, SKIP_LOCKED) part1, part2; -step commit: - COMMIT; - - -starting permutation: lock_share vac_analyze_all_parts commit -step lock_share: - BEGIN; - LOCK part1 IN SHARE MODE; - -step vac_analyze_all_parts: VACUUM (ANALYZE, SKIP_LOCKED) parted; -step commit: - COMMIT; - - -starting permutation: lock_share vac_full_specified commit -step lock_share: - BEGIN; - LOCK part1 IN SHARE MODE; - -s2: WARNING: skipping vacuum of "part1" --- lock not available -step vac_full_specified: VACUUM (SKIP_LOCKED, FULL) part1, part2; -step commit: - COMMIT; - - -starting permutation: lock_share vac_full_all_parts commit -step lock_share: - BEGIN; - LOCK part1 IN SHARE MODE; - -step vac_full_all_parts: VACUUM (SKIP_LOCKED, FULL) parted; -step commit: - COMMIT; - - -starting permutation: lock_access_exclusive vac_specified commit -step lock_access_exclusive: - BEGIN; - LOCK part1 IN ACCESS EXCLUSIVE MODE; - -s2: WARNING: skipping vacuum of "part1" --- lock not available -step vac_specified: VACUUM (SKIP_LOCKED) part1, part2; -step commit: - COMMIT; - - -starting permutation: lock_access_exclusive vac_all_parts commit -step lock_access_exclusive: - BEGIN; - LOCK part1 IN ACCESS EXCLUSIVE MODE; - -step vac_all_parts: VACUUM (SKIP_LOCKED) parted; -step commit: - COMMIT; - - -starting permutation: lock_access_exclusive analyze_specified commit -step lock_access_exclusive: - BEGIN; - LOCK part1 IN ACCESS EXCLUSIVE MODE; - -s2: WARNING: skipping analyze of "part1" --- lock not available -step analyze_specified: ANALYZE (SKIP_LOCKED) part1, part2; -step commit: - COMMIT; - - -starting permutation: lock_access_exclusive analyze_all_parts commit -step lock_access_exclusive: - BEGIN; - LOCK part1 IN ACCESS EXCLUSIVE MODE; - -step analyze_all_parts: ANALYZE (SKIP_LOCKED) parted; -step commit: - COMMIT; - -step analyze_all_parts: <... completed> - -starting permutation: lock_access_exclusive vac_analyze_specified commit -step lock_access_exclusive: - BEGIN; - LOCK part1 IN ACCESS EXCLUSIVE MODE; - -s2: WARNING: skipping vacuum of "part1" --- lock not available -step vac_analyze_specified: VACUUM (ANALYZE, SKIP_LOCKED) part1, part2; -step commit: - COMMIT; - - -starting permutation: lock_access_exclusive vac_analyze_all_parts commit -step lock_access_exclusive: - BEGIN; - LOCK part1 IN ACCESS EXCLUSIVE MODE; - -step vac_analyze_all_parts: VACUUM (ANALYZE, SKIP_LOCKED) parted; -step commit: - COMMIT; - -step vac_analyze_all_parts: <... completed> - -starting permutation: lock_access_exclusive vac_full_specified commit -step lock_access_exclusive: - BEGIN; - LOCK part1 IN ACCESS EXCLUSIVE MODE; - -s2: WARNING: skipping vacuum of "part1" --- lock not available -step vac_full_specified: VACUUM (SKIP_LOCKED, FULL) part1, part2; -step commit: - COMMIT; - - -starting permutation: lock_access_exclusive vac_full_all_parts commit -step lock_access_exclusive: - BEGIN; - LOCK part1 IN ACCESS EXCLUSIVE MODE; - -step vac_full_all_parts: VACUUM (SKIP_LOCKED, FULL) parted; -step commit: - COMMIT; - +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/stats.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/stats.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/stats.out 2025-08-23 05:04:11.956957407 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/stats.out 2025-08-23 05:09:27.139433775 +0000 @@ -1,3735 +1,3 @@ Parsed test spec with 2 sessions - -starting permutation: s1_track_funcs_none s1_func_stats s1_func_call s1_func_call s1_ff s1_func_stats -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_track_funcs_none: SET track_functions = 'none'; -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| | | -(1 row) - -step s1_func_call: SELECT test_stat_func(); -test_stat_func --------------- - -(1 row) - -step s1_func_call: SELECT test_stat_func(); -test_stat_func --------------- - -(1 row) - -step s1_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| | | -(1 row) - - -starting permutation: s1_track_funcs_all s1_func_stats s1_func_call s1_func_call s1_ff s1_func_stats -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_track_funcs_all: SET track_functions = 'all'; -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| | | -(1 row) - -step s1_func_call: SELECT test_stat_func(); -test_stat_func --------------- - -(1 row) - -step s1_func_call: SELECT test_stat_func(); -test_stat_func --------------- - -(1 row) - -step s1_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| 2|t |t -(1 row) - - -starting permutation: s1_track_funcs_all s2_track_funcs_all s1_func_stats s2_func_stats s1_func_call s2_func_call s1_func_call s2_func_call s2_func_call s1_ff s2_ff s1_func_stats s2_func_stats -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_track_funcs_all: SET track_functions = 'all'; -step s2_track_funcs_all: SET track_functions = 'all'; -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| | | -(1 row) - -step s2_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| | | -(1 row) - -step s1_func_call: SELECT test_stat_func(); -test_stat_func --------------- - -(1 row) - -step s2_func_call: SELECT test_stat_func() -test_stat_func --------------- - -(1 row) - -step s1_func_call: SELECT test_stat_func(); -test_stat_func --------------- - -(1 row) - -step s2_func_call: SELECT test_stat_func() -test_stat_func --------------- - -(1 row) - -step s2_func_call: SELECT test_stat_func() -test_stat_func --------------- - -(1 row) - -step s1_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s2_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| 5|t |t -(1 row) - -step s2_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| 5|t |t -(1 row) - - -starting permutation: s1_track_funcs_all s2_track_funcs_all s1_func_stats s2_func_stats s1_func_call s1_ff s2_func_call s2_func_call s2_ff s1_func_stats s2_func_stats -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_track_funcs_all: SET track_functions = 'all'; -step s2_track_funcs_all: SET track_functions = 'all'; -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| | | -(1 row) - -step s2_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| | | -(1 row) - -step s1_func_call: SELECT test_stat_func(); -test_stat_func --------------- - -(1 row) - -step s1_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s2_func_call: SELECT test_stat_func() -test_stat_func --------------- - -(1 row) - -step s2_func_call: SELECT test_stat_func() -test_stat_func --------------- - -(1 row) - -step s2_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| 3|t |t -(1 row) - -step s2_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| 3|t |t -(1 row) - - -starting permutation: s1_track_funcs_all s2_track_funcs_all s1_func_stats s2_func_stats s1_begin s1_func_call s1_func_call s1_commit s1_ff s1_func_stats s2_func_stats -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_track_funcs_all: SET track_functions = 'all'; -step s2_track_funcs_all: SET track_functions = 'all'; -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| | | -(1 row) - -step s2_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| | | -(1 row) - -step s1_begin: BEGIN; -step s1_func_call: SELECT test_stat_func(); -test_stat_func --------------- - -(1 row) - -step s1_func_call: SELECT test_stat_func(); -test_stat_func --------------- - -(1 row) - -step s1_commit: COMMIT; -step s1_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| 2|t |t -(1 row) - -step s2_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| 2|t |t -(1 row) - - -starting permutation: s1_track_funcs_all s2_track_funcs_all s1_func_stats s2_func_stats s1_begin s1_func_call s2_func_call s1_func_drop s2_func_call s2_ff s2_func_stats s1_commit s1_ff s1_func_stats s2_func_stats -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_track_funcs_all: SET track_functions = 'all'; -step s2_track_funcs_all: SET track_functions = 'all'; -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| | | -(1 row) - -step s2_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| | | -(1 row) - -step s1_begin: BEGIN; -step s1_func_call: SELECT test_stat_func(); -test_stat_func --------------- - -(1 row) - -step s2_func_call: SELECT test_stat_func() -test_stat_func --------------- - -(1 row) - -step s1_func_drop: DROP FUNCTION test_stat_func(); -step s2_func_call: SELECT test_stat_func() -test_stat_func --------------- - -(1 row) - -step s2_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s2_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| 2|t |t -(1 row) - -step s1_commit: COMMIT; -step s1_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| | | -(1 row) - -step s2_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| | | -(1 row) - - -starting permutation: s1_track_funcs_all s2_track_funcs_all s1_func_stats s2_func_stats s1_begin s1_func_call s2_func_call s1_func_drop s2_func_call s2_ff s2_func_stats s1_rollback s1_ff s1_func_stats s2_func_stats -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_track_funcs_all: SET track_functions = 'all'; -step s2_track_funcs_all: SET track_functions = 'all'; -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| | | -(1 row) - -step s2_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| | | -(1 row) - -step s1_begin: BEGIN; -step s1_func_call: SELECT test_stat_func(); -test_stat_func --------------- - -(1 row) - -step s2_func_call: SELECT test_stat_func() -test_stat_func --------------- - -(1 row) - -step s1_func_drop: DROP FUNCTION test_stat_func(); -step s2_func_call: SELECT test_stat_func() -test_stat_func --------------- - -(1 row) - -step s2_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s2_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| 2|t |t -(1 row) - -step s1_rollback: ROLLBACK; -step s1_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| 3|t |t -(1 row) - -step s2_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| 3|t |t -(1 row) - - -starting permutation: s1_track_funcs_all s2_track_funcs_all s2_func_call s2_ff s2_begin s2_func_call_ifexists s1_func_drop s1_func_stats s2_commit s2_ff s1_func_stats s2_func_stats -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_track_funcs_all: SET track_functions = 'all'; -step s2_track_funcs_all: SET track_functions = 'all'; -step s2_func_call: SELECT test_stat_func() -test_stat_func --------------- - -(1 row) - -step s2_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s2_begin: BEGIN; -step s2_func_call_ifexists: SELECT test_stat_func_ifexists(); -test_stat_func_ifexists ------------------------ - -(1 row) - -step s1_func_drop: DROP FUNCTION test_stat_func(); -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| | | -(1 row) - -step s2_commit: COMMIT; -step s2_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| | | -(1 row) - -step s2_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| | | -(1 row) - - -starting permutation: s1_track_funcs_all s2_track_funcs_all s2_begin s2_func_call_ifexists s1_func_drop s1_func_stats s2_commit s2_ff s1_func_stats s2_func_stats -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_track_funcs_all: SET track_functions = 'all'; -step s2_track_funcs_all: SET track_functions = 'all'; -step s2_begin: BEGIN; -step s2_func_call_ifexists: SELECT test_stat_func_ifexists(); -test_stat_func_ifexists ------------------------ - -(1 row) - -step s1_func_drop: DROP FUNCTION test_stat_func(); -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| | | -(1 row) - -step s2_commit: COMMIT; -step s2_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| | | -(1 row) - -step s2_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| | | -(1 row) - - -starting permutation: s1_track_funcs_all s2_track_funcs_all s1_func_call s2_begin s2_func_call_ifexists s1_func_drop s2_func_call_ifexists s2_commit s2_ff s1_func_stats s2_func_stats -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_track_funcs_all: SET track_functions = 'all'; -step s2_track_funcs_all: SET track_functions = 'all'; -step s1_func_call: SELECT test_stat_func(); -test_stat_func --------------- - -(1 row) - -step s2_begin: BEGIN; -step s2_func_call_ifexists: SELECT test_stat_func_ifexists(); -test_stat_func_ifexists ------------------------ - -(1 row) - -step s1_func_drop: DROP FUNCTION test_stat_func(); -step s2_func_call_ifexists: SELECT test_stat_func_ifexists(); -test_stat_func_ifexists ------------------------ - -(1 row) - -step s2_commit: COMMIT; -step s2_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| | | -(1 row) - -step s2_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| | | -(1 row) - - -starting permutation: s1_track_funcs_all s2_track_funcs_none s1_func_call s2_begin s2_func_call_ifexists s1_ff s1_func_stats s1_func_drop s2_track_funcs_none s1_func_stats s2_func_call_ifexists s2_commit s2_ff s1_func_stats s2_func_stats -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_track_funcs_all: SET track_functions = 'all'; -step s2_track_funcs_none: SET track_functions = 'none'; -step s1_func_call: SELECT test_stat_func(); -test_stat_func --------------- - -(1 row) - -step s2_begin: BEGIN; -step s2_func_call_ifexists: SELECT test_stat_func_ifexists(); -test_stat_func_ifexists ------------------------ - -(1 row) - -step s1_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| 1|t |t -(1 row) - -step s1_func_drop: DROP FUNCTION test_stat_func(); -step s2_track_funcs_none: SET track_functions = 'none'; -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| | | -(1 row) - -step s2_func_call_ifexists: SELECT test_stat_func_ifexists(); -test_stat_func_ifexists ------------------------ - -(1 row) - -step s2_commit: COMMIT; -step s2_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| | | -(1 row) - -step s2_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| | | -(1 row) - - -starting permutation: s1_track_funcs_all s2_track_funcs_none s1_func_call s2_begin s2_func_call_ifexists s1_ff s1_func_stats s1_func_drop s2_track_funcs_all s1_func_stats s2_func_call_ifexists s2_commit s2_ff s1_func_stats s2_func_stats -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_track_funcs_all: SET track_functions = 'all'; -step s2_track_funcs_none: SET track_functions = 'none'; -step s1_func_call: SELECT test_stat_func(); -test_stat_func --------------- - -(1 row) - -step s2_begin: BEGIN; -step s2_func_call_ifexists: SELECT test_stat_func_ifexists(); -test_stat_func_ifexists ------------------------ - -(1 row) - -step s1_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| 1|t |t -(1 row) - -step s1_func_drop: DROP FUNCTION test_stat_func(); -step s2_track_funcs_all: SET track_functions = 'all'; -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| | | -(1 row) - -step s2_func_call_ifexists: SELECT test_stat_func_ifexists(); -test_stat_func_ifexists ------------------------ - -(1 row) - -step s2_commit: COMMIT; -step s2_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| | | -(1 row) - -step s2_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| | | -(1 row) - - -starting permutation: s1_track_funcs_all s2_track_funcs_all s1_func_call s2_func_call s2_func_call2 s1_ff s2_ff s1_func_stats s2_func_call s2_func_call2 s2_ff s1_func_stats s1_func_stats2 s1_func_stats s1_func_stats_reset s1_func_stats s1_func_stats2 s1_func_stats -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_track_funcs_all: SET track_functions = 'all'; -step s2_track_funcs_all: SET track_functions = 'all'; -step s1_func_call: SELECT test_stat_func(); -test_stat_func --------------- - -(1 row) - -step s2_func_call: SELECT test_stat_func() -test_stat_func --------------- - -(1 row) - -step s2_func_call2: SELECT test_stat_func2() -test_stat_func2 ---------------- - -(1 row) - -step s1_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s2_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| 2|t |t -(1 row) - -step s2_func_call: SELECT test_stat_func() -test_stat_func --------------- - -(1 row) - -step s2_func_call2: SELECT test_stat_func2() -test_stat_func2 ---------------- - -(1 row) - -step s2_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| 3|t |t -(1 row) - -step s1_func_stats2: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func2' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ----------------+--------------------------+----------------+--------------- -test_stat_func2| 2|t |t -(1 row) - -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| 3|t |t -(1 row) - -step s1_func_stats_reset: SELECT pg_stat_reset_single_function_counters('test_stat_func'::regproc); -pg_stat_reset_single_function_counters --------------------------------------- - -(1 row) - -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| 0|f |f -(1 row) - -step s1_func_stats2: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func2' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ----------------+--------------------------+----------------+--------------- -test_stat_func2| 2|t |t -(1 row) - -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| 0|f |f -(1 row) - - -starting permutation: s1_func_stats_nonexistent s1_func_stats_reset_nonexistent s1_func_stats_nonexistent -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_func_stats_nonexistent: - SELECT pg_stat_get_function_calls(12000); - -pg_stat_get_function_calls --------------------------- - -(1 row) - -step s1_func_stats_reset_nonexistent: SELECT pg_stat_reset_single_function_counters(12000); -pg_stat_reset_single_function_counters --------------------------------------- - -(1 row) - -step s1_func_stats_nonexistent: - SELECT pg_stat_get_function_calls(12000); - -pg_stat_get_function_calls --------------------------- - -(1 row) - - -starting permutation: s1_track_funcs_all s2_track_funcs_all s1_func_call s2_func_call s2_func_call2 s1_ff s2_ff s1_func_stats s1_func_stats2 s1_func_stats s1_reset s1_func_stats s1_func_stats2 s1_func_stats -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_track_funcs_all: SET track_functions = 'all'; -step s2_track_funcs_all: SET track_functions = 'all'; -step s1_func_call: SELECT test_stat_func(); -test_stat_func --------------- - -(1 row) - -step s2_func_call: SELECT test_stat_func() -test_stat_func --------------- - -(1 row) - -step s2_func_call2: SELECT test_stat_func2() -test_stat_func2 ---------------- - -(1 row) - -step s1_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s2_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| 2|t |t -(1 row) - -step s1_func_stats2: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func2' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ----------------+--------------------------+----------------+--------------- -test_stat_func2| 1|t |t -(1 row) - -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| 2|t |t -(1 row) - -step s1_reset: SELECT pg_stat_reset(); -pg_stat_reset -------------- - -(1 row) - -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| 0|f |f -(1 row) - -step s1_func_stats2: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func2' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ----------------+--------------------------+----------------+--------------- -test_stat_func2| 0|f |f -(1 row) - -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| 0|f |f -(1 row) - - -starting permutation: s1_track_funcs_all s1_fetch_consistency_none s1_func_call s1_ff s1_func_stats -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_track_funcs_all: SET track_functions = 'all'; -step s1_fetch_consistency_none: SET stats_fetch_consistency = 'none'; -step s1_func_call: SELECT test_stat_func(); -test_stat_func --------------- - -(1 row) - -step s1_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| 1|t |t -(1 row) - - -starting permutation: s1_track_funcs_all s1_fetch_consistency_cache s1_func_call s1_ff s1_func_stats -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_track_funcs_all: SET track_functions = 'all'; -step s1_fetch_consistency_cache: SET stats_fetch_consistency = 'cache'; -step s1_func_call: SELECT test_stat_func(); -test_stat_func --------------- - -(1 row) - -step s1_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| 1|t |t -(1 row) - - -starting permutation: s1_track_funcs_all s1_fetch_consistency_snapshot s1_func_call s1_ff s1_func_stats -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_track_funcs_all: SET track_functions = 'all'; -step s1_fetch_consistency_snapshot: SET stats_fetch_consistency = 'snapshot'; -step s1_func_call: SELECT test_stat_func(); -test_stat_func --------------- - -(1 row) - -step s1_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| 1|t |t -(1 row) - - -starting permutation: s1_track_funcs_all s2_track_funcs_all s1_fetch_consistency_none s2_func_call s2_ff s1_begin s1_func_stats s2_func_call s2_ff s1_func_stats s1_commit -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_track_funcs_all: SET track_functions = 'all'; -step s2_track_funcs_all: SET track_functions = 'all'; -step s1_fetch_consistency_none: SET stats_fetch_consistency = 'none'; -step s2_func_call: SELECT test_stat_func() -test_stat_func --------------- - -(1 row) - -step s2_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_begin: BEGIN; -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| 1|t |t -(1 row) - -step s2_func_call: SELECT test_stat_func() -test_stat_func --------------- - -(1 row) - -step s2_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| 2|t |t -(1 row) - -step s1_commit: COMMIT; - -starting permutation: s1_track_funcs_all s2_track_funcs_all s1_fetch_consistency_cache s2_func_call s2_func_call2 s2_ff s1_begin s1_func_stats s2_func_call s2_func_call2 s2_ff s1_func_stats s1_func_stats2 s1_commit -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_track_funcs_all: SET track_functions = 'all'; -step s2_track_funcs_all: SET track_functions = 'all'; -step s1_fetch_consistency_cache: SET stats_fetch_consistency = 'cache'; -step s2_func_call: SELECT test_stat_func() -test_stat_func --------------- - -(1 row) - -step s2_func_call2: SELECT test_stat_func2() -test_stat_func2 ---------------- - -(1 row) - -step s2_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_begin: BEGIN; -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| 1|t |t -(1 row) - -step s2_func_call: SELECT test_stat_func() -test_stat_func --------------- - -(1 row) - -step s2_func_call2: SELECT test_stat_func2() -test_stat_func2 ---------------- - -(1 row) - -step s2_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| 1|t |t -(1 row) - -step s1_func_stats2: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func2' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ----------------+--------------------------+----------------+--------------- -test_stat_func2| 2|t |t -(1 row) - -step s1_commit: COMMIT; - -starting permutation: s1_track_funcs_all s2_track_funcs_all s1_fetch_consistency_snapshot s2_func_call s2_func_call2 s2_ff s1_begin s1_func_stats s2_func_call s2_func_call2 s2_ff s1_func_stats s1_func_stats2 s1_commit -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_track_funcs_all: SET track_functions = 'all'; -step s2_track_funcs_all: SET track_functions = 'all'; -step s1_fetch_consistency_snapshot: SET stats_fetch_consistency = 'snapshot'; -step s2_func_call: SELECT test_stat_func() -test_stat_func --------------- - -(1 row) - -step s2_func_call2: SELECT test_stat_func2() -test_stat_func2 ---------------- - -(1 row) - -step s2_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_begin: BEGIN; -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| 1|t |t -(1 row) - -step s2_func_call: SELECT test_stat_func() -test_stat_func --------------- - -(1 row) - -step s2_func_call2: SELECT test_stat_func2() -test_stat_func2 ---------------- - -(1 row) - -step s2_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| 1|t |t -(1 row) - -step s1_func_stats2: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func2' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ----------------+--------------------------+----------------+--------------- -test_stat_func2| 1|t |t -(1 row) - -step s1_commit: COMMIT; - -starting permutation: s1_fetch_consistency_none s1_begin s1_func_stats_nonexistent s1_func_stats_nonexistent s1_commit -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_fetch_consistency_none: SET stats_fetch_consistency = 'none'; -step s1_begin: BEGIN; -step s1_func_stats_nonexistent: - SELECT pg_stat_get_function_calls(12000); - -pg_stat_get_function_calls --------------------------- - -(1 row) - -step s1_func_stats_nonexistent: - SELECT pg_stat_get_function_calls(12000); - -pg_stat_get_function_calls --------------------------- - -(1 row) - -step s1_commit: COMMIT; - -starting permutation: s1_fetch_consistency_cache s1_begin s1_func_stats_nonexistent s1_func_stats_nonexistent s1_commit -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_fetch_consistency_cache: SET stats_fetch_consistency = 'cache'; -step s1_begin: BEGIN; -step s1_func_stats_nonexistent: - SELECT pg_stat_get_function_calls(12000); - -pg_stat_get_function_calls --------------------------- - -(1 row) - -step s1_func_stats_nonexistent: - SELECT pg_stat_get_function_calls(12000); - -pg_stat_get_function_calls --------------------------- - -(1 row) - -step s1_commit: COMMIT; - -starting permutation: s1_fetch_consistency_snapshot s1_begin s1_func_stats_nonexistent s1_func_stats_nonexistent s1_commit -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_fetch_consistency_snapshot: SET stats_fetch_consistency = 'snapshot'; -step s1_begin: BEGIN; -step s1_func_stats_nonexistent: - SELECT pg_stat_get_function_calls(12000); - -pg_stat_get_function_calls --------------------------- - -(1 row) - -step s1_func_stats_nonexistent: - SELECT pg_stat_get_function_calls(12000); - -pg_stat_get_function_calls --------------------------- - -(1 row) - -step s1_commit: COMMIT; - -starting permutation: s1_track_funcs_all s2_track_funcs_all s1_begin s1_func_call s2_func_call s1_func_drop s2_func_call s2_ff s1_prepare_a s2_func_call s2_ff s1_func_call s1_ff s1_func_stats s1_commit_prepared_a s1_func_stats -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_track_funcs_all: SET track_functions = 'all'; -step s2_track_funcs_all: SET track_functions = 'all'; -step s1_begin: BEGIN; -step s1_func_call: SELECT test_stat_func(); -test_stat_func --------------- - -(1 row) - -step s2_func_call: SELECT test_stat_func() -test_stat_func --------------- - -(1 row) - -step s1_func_drop: DROP FUNCTION test_stat_func(); -step s2_func_call: SELECT test_stat_func() -test_stat_func --------------- - -(1 row) - -step s2_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_prepare_a: PREPARE TRANSACTION 'a'; -step s2_func_call: SELECT test_stat_func() -test_stat_func --------------- - -(1 row) - -step s2_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_func_call: SELECT test_stat_func(); -test_stat_func --------------- - -(1 row) - -step s1_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| 5|t |t -(1 row) - -step s1_commit_prepared_a: COMMIT PREPARED 'a'; -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| | | -(1 row) - - -starting permutation: s1_track_funcs_all s2_track_funcs_all s1_begin s1_func_call s2_func_call s1_func_drop s2_func_call s2_ff s1_prepare_a s2_func_call s2_ff s1_func_call s1_ff s1_func_stats s1_rollback_prepared_a s1_func_stats -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_track_funcs_all: SET track_functions = 'all'; -step s2_track_funcs_all: SET track_functions = 'all'; -step s1_begin: BEGIN; -step s1_func_call: SELECT test_stat_func(); -test_stat_func --------------- - -(1 row) - -step s2_func_call: SELECT test_stat_func() -test_stat_func --------------- - -(1 row) - -step s1_func_drop: DROP FUNCTION test_stat_func(); -step s2_func_call: SELECT test_stat_func() -test_stat_func --------------- - -(1 row) - -step s2_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_prepare_a: PREPARE TRANSACTION 'a'; -step s2_func_call: SELECT test_stat_func() -test_stat_func --------------- - -(1 row) - -step s2_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_func_call: SELECT test_stat_func(); -test_stat_func --------------- - -(1 row) - -step s1_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| 5|t |t -(1 row) - -step s1_rollback_prepared_a: ROLLBACK PREPARED 'a'; -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| 5|t |t -(1 row) - - -starting permutation: s1_track_funcs_all s2_track_funcs_all s1_begin s1_func_call s2_func_call s1_func_drop s2_func_call s2_ff s1_prepare_a s2_func_call s2_ff s1_func_call s1_ff s1_func_stats s2_commit_prepared_a s1_func_stats -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_track_funcs_all: SET track_functions = 'all'; -step s2_track_funcs_all: SET track_functions = 'all'; -step s1_begin: BEGIN; -step s1_func_call: SELECT test_stat_func(); -test_stat_func --------------- - -(1 row) - -step s2_func_call: SELECT test_stat_func() -test_stat_func --------------- - -(1 row) - -step s1_func_drop: DROP FUNCTION test_stat_func(); -step s2_func_call: SELECT test_stat_func() -test_stat_func --------------- - -(1 row) - -step s2_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_prepare_a: PREPARE TRANSACTION 'a'; -step s2_func_call: SELECT test_stat_func() -test_stat_func --------------- - -(1 row) - -step s2_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_func_call: SELECT test_stat_func(); -test_stat_func --------------- - -(1 row) - -step s1_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| 5|t |t -(1 row) - -step s2_commit_prepared_a: COMMIT PREPARED 'a'; -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| | | -(1 row) - - -starting permutation: s1_track_funcs_all s2_track_funcs_all s1_begin s1_func_call s2_func_call s1_func_drop s2_func_call s2_ff s1_prepare_a s2_func_call s2_ff s1_func_call s1_ff s1_func_stats s2_rollback_prepared_a s1_func_stats -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_track_funcs_all: SET track_functions = 'all'; -step s2_track_funcs_all: SET track_functions = 'all'; -step s1_begin: BEGIN; -step s1_func_call: SELECT test_stat_func(); -test_stat_func --------------- - -(1 row) - -step s2_func_call: SELECT test_stat_func() -test_stat_func --------------- - -(1 row) - -step s1_func_drop: DROP FUNCTION test_stat_func(); -step s2_func_call: SELECT test_stat_func() -test_stat_func --------------- - -(1 row) - -step s2_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_prepare_a: PREPARE TRANSACTION 'a'; -step s2_func_call: SELECT test_stat_func() -test_stat_func --------------- - -(1 row) - -step s2_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_func_call: SELECT test_stat_func(); -test_stat_func --------------- - -(1 row) - -step s1_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| 5|t |t -(1 row) - -step s2_rollback_prepared_a: ROLLBACK PREPARED 'a'; -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| 5|t |t -(1 row) - - -starting permutation: s1_table_select s1_table_insert s2_table_select s2_table_update_k1 s1_ff s2_table_update_k1 s1_table_drop s2_ff s1_table_stats -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_table_select: SELECT * FROM test_stat_tab ORDER BY key, value; -key|value ----+----- -k0 | 1 -(1 row) - -step s1_table_insert: INSERT INTO test_stat_tab(key, value) VALUES('k1', 1), ('k2', 1), ('k3', 1); -step s2_table_select: SELECT * FROM test_stat_tab ORDER BY key, value; -key|value ----+----- -k0 | 1 -k1 | 1 -k2 | 1 -k3 | 1 -(4 rows) - -step s2_table_update_k1: UPDATE test_stat_tab SET value = value + 1 WHERE key = 'k1'; -step s1_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s2_table_update_k1: UPDATE test_stat_tab SET value = value + 1 WHERE key = 'k1'; -step s1_table_drop: DROP TABLE test_stat_tab; -step s2_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_table_stats: - SELECT - pg_stat_get_numscans(tso.oid) AS seq_scan, - pg_stat_get_tuples_returned(tso.oid) AS seq_tup_read, - pg_stat_get_tuples_inserted(tso.oid) AS n_tup_ins, - pg_stat_get_tuples_updated(tso.oid) AS n_tup_upd, - pg_stat_get_tuples_deleted(tso.oid) AS n_tup_del, - pg_stat_get_live_tuples(tso.oid) AS n_live_tup, - pg_stat_get_dead_tuples(tso.oid) AS n_dead_tup, - pg_stat_get_vacuum_count(tso.oid) AS vacuum_count - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_tab' - -seq_scan|seq_tup_read|n_tup_ins|n_tup_upd|n_tup_del|n_live_tup|n_dead_tup|vacuum_count ---------+------------+---------+---------+---------+----------+----------+------------ - 0| 0| 0| 0| 0| 0| 0| 0 -(1 row) - - -starting permutation: s1_table_select s1_table_insert s2_table_select s2_table_update_k1 s2_table_update_k1 s1_table_drop s1_table_stats -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_table_select: SELECT * FROM test_stat_tab ORDER BY key, value; -key|value ----+----- -k0 | 1 -(1 row) - -step s1_table_insert: INSERT INTO test_stat_tab(key, value) VALUES('k1', 1), ('k2', 1), ('k3', 1); -step s2_table_select: SELECT * FROM test_stat_tab ORDER BY key, value; -key|value ----+----- -k0 | 1 -k1 | 1 -k2 | 1 -k3 | 1 -(4 rows) - -step s2_table_update_k1: UPDATE test_stat_tab SET value = value + 1 WHERE key = 'k1'; -step s2_table_update_k1: UPDATE test_stat_tab SET value = value + 1 WHERE key = 'k1'; -step s1_table_drop: DROP TABLE test_stat_tab; -step s1_table_stats: - SELECT - pg_stat_get_numscans(tso.oid) AS seq_scan, - pg_stat_get_tuples_returned(tso.oid) AS seq_tup_read, - pg_stat_get_tuples_inserted(tso.oid) AS n_tup_ins, - pg_stat_get_tuples_updated(tso.oid) AS n_tup_upd, - pg_stat_get_tuples_deleted(tso.oid) AS n_tup_del, - pg_stat_get_live_tuples(tso.oid) AS n_live_tup, - pg_stat_get_dead_tuples(tso.oid) AS n_dead_tup, - pg_stat_get_vacuum_count(tso.oid) AS vacuum_count - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_tab' - -seq_scan|seq_tup_read|n_tup_ins|n_tup_upd|n_tup_del|n_live_tup|n_dead_tup|vacuum_count ---------+------------+---------+---------+---------+----------+----------+------------ - 0| 0| 0| 0| 0| 0| 0| 0 -(1 row) - - -starting permutation: s1_track_counts_off s1_table_stats s1_track_counts_on -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_track_counts_off: SET track_counts = off; -step s1_table_stats: - SELECT - pg_stat_get_numscans(tso.oid) AS seq_scan, - pg_stat_get_tuples_returned(tso.oid) AS seq_tup_read, - pg_stat_get_tuples_inserted(tso.oid) AS n_tup_ins, - pg_stat_get_tuples_updated(tso.oid) AS n_tup_upd, - pg_stat_get_tuples_deleted(tso.oid) AS n_tup_del, - pg_stat_get_live_tuples(tso.oid) AS n_live_tup, - pg_stat_get_dead_tuples(tso.oid) AS n_dead_tup, - pg_stat_get_vacuum_count(tso.oid) AS vacuum_count - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_tab' - -seq_scan|seq_tup_read|n_tup_ins|n_tup_upd|n_tup_del|n_live_tup|n_dead_tup|vacuum_count ---------+------------+---------+---------+---------+----------+----------+------------ - 0| 0| 1| 0| 0| 1| 0| 0 -(1 row) - -step s1_track_counts_on: SET track_counts = on; - -starting permutation: s1_table_select s1_track_counts_off s1_ff s1_table_stats s1_track_counts_on -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_table_select: SELECT * FROM test_stat_tab ORDER BY key, value; -key|value ----+----- -k0 | 1 -(1 row) - -step s1_track_counts_off: SET track_counts = off; -step s1_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_table_stats: - SELECT - pg_stat_get_numscans(tso.oid) AS seq_scan, - pg_stat_get_tuples_returned(tso.oid) AS seq_tup_read, - pg_stat_get_tuples_inserted(tso.oid) AS n_tup_ins, - pg_stat_get_tuples_updated(tso.oid) AS n_tup_upd, - pg_stat_get_tuples_deleted(tso.oid) AS n_tup_del, - pg_stat_get_live_tuples(tso.oid) AS n_live_tup, - pg_stat_get_dead_tuples(tso.oid) AS n_dead_tup, - pg_stat_get_vacuum_count(tso.oid) AS vacuum_count - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_tab' - -seq_scan|seq_tup_read|n_tup_ins|n_tup_upd|n_tup_del|n_live_tup|n_dead_tup|vacuum_count ---------+------------+---------+---------+---------+----------+----------+------------ - 1| 1| 1| 0| 0| 1| 0| 0 -(1 row) - -step s1_track_counts_on: SET track_counts = on; - -starting permutation: s1_table_select s1_ff s1_track_counts_off s1_table_stats s1_track_counts_on -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_table_select: SELECT * FROM test_stat_tab ORDER BY key, value; -key|value ----+----- -k0 | 1 -(1 row) - -step s1_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_track_counts_off: SET track_counts = off; -step s1_table_stats: - SELECT - pg_stat_get_numscans(tso.oid) AS seq_scan, - pg_stat_get_tuples_returned(tso.oid) AS seq_tup_read, - pg_stat_get_tuples_inserted(tso.oid) AS n_tup_ins, - pg_stat_get_tuples_updated(tso.oid) AS n_tup_upd, - pg_stat_get_tuples_deleted(tso.oid) AS n_tup_del, - pg_stat_get_live_tuples(tso.oid) AS n_live_tup, - pg_stat_get_dead_tuples(tso.oid) AS n_dead_tup, - pg_stat_get_vacuum_count(tso.oid) AS vacuum_count - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_tab' - -seq_scan|seq_tup_read|n_tup_ins|n_tup_upd|n_tup_del|n_live_tup|n_dead_tup|vacuum_count ---------+------------+---------+---------+---------+----------+----------+------------ - 1| 1| 1| 0| 0| 1| 0| 0 -(1 row) - -step s1_track_counts_on: SET track_counts = on; - -starting permutation: s1_track_counts_off s1_table_select s1_table_insert_k1 s1_table_update_k1 s2_table_select s1_track_counts_on s1_ff s2_ff s1_table_stats s1_table_select s1_table_update_k1 s1_ff s1_table_stats -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_track_counts_off: SET track_counts = off; -step s1_table_select: SELECT * FROM test_stat_tab ORDER BY key, value; -key|value ----+----- -k0 | 1 -(1 row) - -step s1_table_insert_k1: INSERT INTO test_stat_tab(key, value) VALUES('k1', 1); -step s1_table_update_k1: UPDATE test_stat_tab SET value = value + 1 WHERE key = 'k1'; -step s2_table_select: SELECT * FROM test_stat_tab ORDER BY key, value; -key|value ----+----- -k0 | 1 -k1 | 2 -(2 rows) - -step s1_track_counts_on: SET track_counts = on; -step s1_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s2_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_table_stats: - SELECT - pg_stat_get_numscans(tso.oid) AS seq_scan, - pg_stat_get_tuples_returned(tso.oid) AS seq_tup_read, - pg_stat_get_tuples_inserted(tso.oid) AS n_tup_ins, - pg_stat_get_tuples_updated(tso.oid) AS n_tup_upd, - pg_stat_get_tuples_deleted(tso.oid) AS n_tup_del, - pg_stat_get_live_tuples(tso.oid) AS n_live_tup, - pg_stat_get_dead_tuples(tso.oid) AS n_dead_tup, - pg_stat_get_vacuum_count(tso.oid) AS vacuum_count - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_tab' - -seq_scan|seq_tup_read|n_tup_ins|n_tup_upd|n_tup_del|n_live_tup|n_dead_tup|vacuum_count ---------+------------+---------+---------+---------+----------+----------+------------ - 1| 2| 1| 0| 0| 1| 0| 0 -(1 row) - -step s1_table_select: SELECT * FROM test_stat_tab ORDER BY key, value; -key|value ----+----- -k0 | 1 -k1 | 2 -(2 rows) - -step s1_table_update_k1: UPDATE test_stat_tab SET value = value + 1 WHERE key = 'k1'; -step s1_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_table_stats: - SELECT - pg_stat_get_numscans(tso.oid) AS seq_scan, - pg_stat_get_tuples_returned(tso.oid) AS seq_tup_read, - pg_stat_get_tuples_inserted(tso.oid) AS n_tup_ins, - pg_stat_get_tuples_updated(tso.oid) AS n_tup_upd, - pg_stat_get_tuples_deleted(tso.oid) AS n_tup_del, - pg_stat_get_live_tuples(tso.oid) AS n_live_tup, - pg_stat_get_dead_tuples(tso.oid) AS n_dead_tup, - pg_stat_get_vacuum_count(tso.oid) AS vacuum_count - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_tab' - -seq_scan|seq_tup_read|n_tup_ins|n_tup_upd|n_tup_del|n_live_tup|n_dead_tup|vacuum_count ---------+------------+---------+---------+---------+----------+----------+------------ - 3| 6| 1| 1| 0| 1| 1| 0 -(1 row) - - -starting permutation: s1_table_select s1_table_insert_k1 s1_table_delete_k1 s1_track_counts_off s1_table_select s1_table_insert_k1 s1_table_update_k1 s2_table_select s1_track_counts_on s1_ff s2_ff s1_table_stats s1_table_select s1_table_update_k1 s1_ff s1_table_stats -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_table_select: SELECT * FROM test_stat_tab ORDER BY key, value; -key|value ----+----- -k0 | 1 -(1 row) - -step s1_table_insert_k1: INSERT INTO test_stat_tab(key, value) VALUES('k1', 1); -step s1_table_delete_k1: DELETE FROM test_stat_tab WHERE key = 'k1'; -step s1_track_counts_off: SET track_counts = off; -step s1_table_select: SELECT * FROM test_stat_tab ORDER BY key, value; -key|value ----+----- -k0 | 1 -(1 row) - -step s1_table_insert_k1: INSERT INTO test_stat_tab(key, value) VALUES('k1', 1); -step s1_table_update_k1: UPDATE test_stat_tab SET value = value + 1 WHERE key = 'k1'; -step s2_table_select: SELECT * FROM test_stat_tab ORDER BY key, value; -key|value ----+----- -k0 | 1 -k1 | 2 -(2 rows) - -step s1_track_counts_on: SET track_counts = on; -step s1_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s2_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_table_stats: - SELECT - pg_stat_get_numscans(tso.oid) AS seq_scan, - pg_stat_get_tuples_returned(tso.oid) AS seq_tup_read, - pg_stat_get_tuples_inserted(tso.oid) AS n_tup_ins, - pg_stat_get_tuples_updated(tso.oid) AS n_tup_upd, - pg_stat_get_tuples_deleted(tso.oid) AS n_tup_del, - pg_stat_get_live_tuples(tso.oid) AS n_live_tup, - pg_stat_get_dead_tuples(tso.oid) AS n_dead_tup, - pg_stat_get_vacuum_count(tso.oid) AS vacuum_count - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_tab' - -seq_scan|seq_tup_read|n_tup_ins|n_tup_upd|n_tup_del|n_live_tup|n_dead_tup|vacuum_count ---------+------------+---------+---------+---------+----------+----------+------------ - 3| 5| 2| 0| 1| 1| 1| 0 -(1 row) - -step s1_table_select: SELECT * FROM test_stat_tab ORDER BY key, value; -key|value ----+----- -k0 | 1 -k1 | 2 -(2 rows) - -step s1_table_update_k1: UPDATE test_stat_tab SET value = value + 1 WHERE key = 'k1'; -step s1_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_table_stats: - SELECT - pg_stat_get_numscans(tso.oid) AS seq_scan, - pg_stat_get_tuples_returned(tso.oid) AS seq_tup_read, - pg_stat_get_tuples_inserted(tso.oid) AS n_tup_ins, - pg_stat_get_tuples_updated(tso.oid) AS n_tup_upd, - pg_stat_get_tuples_deleted(tso.oid) AS n_tup_del, - pg_stat_get_live_tuples(tso.oid) AS n_live_tup, - pg_stat_get_dead_tuples(tso.oid) AS n_dead_tup, - pg_stat_get_vacuum_count(tso.oid) AS vacuum_count - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_tab' - -seq_scan|seq_tup_read|n_tup_ins|n_tup_upd|n_tup_del|n_live_tup|n_dead_tup|vacuum_count ---------+------------+---------+---------+---------+----------+----------+------------ - 5| 9| 2| 1| 1| 1| 2| 0 -(1 row) - - -starting permutation: s1_begin s1_table_insert s1_table_update_k1 s1_table_update_k1 s1_table_update_k2 s1_table_update_k2 s1_table_update_k2 s1_table_delete_k1 s1_table_select s1_prepare_a s1_table_select s1_commit_prepared_a s1_table_select s1_ff s1_table_stats -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_begin: BEGIN; -step s1_table_insert: INSERT INTO test_stat_tab(key, value) VALUES('k1', 1), ('k2', 1), ('k3', 1); -step s1_table_update_k1: UPDATE test_stat_tab SET value = value + 1 WHERE key = 'k1'; -step s1_table_update_k1: UPDATE test_stat_tab SET value = value + 1 WHERE key = 'k1'; -step s1_table_update_k2: UPDATE test_stat_tab SET value = value + 1 WHERE key = 'k2'; -step s1_table_update_k2: UPDATE test_stat_tab SET value = value + 1 WHERE key = 'k2'; -step s1_table_update_k2: UPDATE test_stat_tab SET value = value + 1 WHERE key = 'k2'; -step s1_table_delete_k1: DELETE FROM test_stat_tab WHERE key = 'k1'; -step s1_table_select: SELECT * FROM test_stat_tab ORDER BY key, value; -key|value ----+----- -k0 | 1 -k2 | 4 -k3 | 1 -(3 rows) - -step s1_prepare_a: PREPARE TRANSACTION 'a'; -step s1_table_select: SELECT * FROM test_stat_tab ORDER BY key, value; -key|value ----+----- -k0 | 1 -(1 row) - -step s1_commit_prepared_a: COMMIT PREPARED 'a'; -step s1_table_select: SELECT * FROM test_stat_tab ORDER BY key, value; -key|value ----+----- -k0 | 1 -k2 | 4 -k3 | 1 -(3 rows) - -step s1_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_table_stats: - SELECT - pg_stat_get_numscans(tso.oid) AS seq_scan, - pg_stat_get_tuples_returned(tso.oid) AS seq_tup_read, - pg_stat_get_tuples_inserted(tso.oid) AS n_tup_ins, - pg_stat_get_tuples_updated(tso.oid) AS n_tup_upd, - pg_stat_get_tuples_deleted(tso.oid) AS n_tup_del, - pg_stat_get_live_tuples(tso.oid) AS n_live_tup, - pg_stat_get_dead_tuples(tso.oid) AS n_dead_tup, - pg_stat_get_vacuum_count(tso.oid) AS vacuum_count - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_tab' - -seq_scan|seq_tup_read|n_tup_ins|n_tup_upd|n_tup_del|n_live_tup|n_dead_tup|vacuum_count ---------+------------+---------+---------+---------+----------+----------+------------ - 9| 31| 4| 5| 1| 3| 6| 0 -(1 row) - - -starting permutation: s1_begin s1_table_insert s1_table_update_k1 s1_table_update_k1 s1_table_update_k2 s1_table_update_k2 s1_table_update_k2 s1_table_delete_k1 s1_table_select s1_prepare_a s1_table_select s2_commit_prepared_a s1_table_select s1_ff s2_ff s1_table_stats -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_begin: BEGIN; -step s1_table_insert: INSERT INTO test_stat_tab(key, value) VALUES('k1', 1), ('k2', 1), ('k3', 1); -step s1_table_update_k1: UPDATE test_stat_tab SET value = value + 1 WHERE key = 'k1'; -step s1_table_update_k1: UPDATE test_stat_tab SET value = value + 1 WHERE key = 'k1'; -step s1_table_update_k2: UPDATE test_stat_tab SET value = value + 1 WHERE key = 'k2'; -step s1_table_update_k2: UPDATE test_stat_tab SET value = value + 1 WHERE key = 'k2'; -step s1_table_update_k2: UPDATE test_stat_tab SET value = value + 1 WHERE key = 'k2'; -step s1_table_delete_k1: DELETE FROM test_stat_tab WHERE key = 'k1'; -step s1_table_select: SELECT * FROM test_stat_tab ORDER BY key, value; -key|value ----+----- -k0 | 1 -k2 | 4 -k3 | 1 -(3 rows) - -step s1_prepare_a: PREPARE TRANSACTION 'a'; -step s1_table_select: SELECT * FROM test_stat_tab ORDER BY key, value; -key|value ----+----- -k0 | 1 -(1 row) - -step s2_commit_prepared_a: COMMIT PREPARED 'a'; -step s1_table_select: SELECT * FROM test_stat_tab ORDER BY key, value; -key|value ----+----- -k0 | 1 -k2 | 4 -k3 | 1 -(3 rows) - -step s1_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s2_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_table_stats: - SELECT - pg_stat_get_numscans(tso.oid) AS seq_scan, - pg_stat_get_tuples_returned(tso.oid) AS seq_tup_read, - pg_stat_get_tuples_inserted(tso.oid) AS n_tup_ins, - pg_stat_get_tuples_updated(tso.oid) AS n_tup_upd, - pg_stat_get_tuples_deleted(tso.oid) AS n_tup_del, - pg_stat_get_live_tuples(tso.oid) AS n_live_tup, - pg_stat_get_dead_tuples(tso.oid) AS n_dead_tup, - pg_stat_get_vacuum_count(tso.oid) AS vacuum_count - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_tab' - -seq_scan|seq_tup_read|n_tup_ins|n_tup_upd|n_tup_del|n_live_tup|n_dead_tup|vacuum_count ---------+------------+---------+---------+---------+----------+----------+------------ - 9| 31| 4| 5| 1| 3| 6| 0 -(1 row) - - -starting permutation: s1_begin s1_table_insert s1_table_update_k1 s1_table_update_k1 s1_table_update_k2 s1_table_update_k2 s1_table_update_k2 s1_table_delete_k1 s1_table_select s1_prepare_a s1_table_select s1_rollback_prepared_a s1_table_select s1_ff s1_table_stats -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_begin: BEGIN; -step s1_table_insert: INSERT INTO test_stat_tab(key, value) VALUES('k1', 1), ('k2', 1), ('k3', 1); -step s1_table_update_k1: UPDATE test_stat_tab SET value = value + 1 WHERE key = 'k1'; -step s1_table_update_k1: UPDATE test_stat_tab SET value = value + 1 WHERE key = 'k1'; -step s1_table_update_k2: UPDATE test_stat_tab SET value = value + 1 WHERE key = 'k2'; -step s1_table_update_k2: UPDATE test_stat_tab SET value = value + 1 WHERE key = 'k2'; -step s1_table_update_k2: UPDATE test_stat_tab SET value = value + 1 WHERE key = 'k2'; -step s1_table_delete_k1: DELETE FROM test_stat_tab WHERE key = 'k1'; -step s1_table_select: SELECT * FROM test_stat_tab ORDER BY key, value; -key|value ----+----- -k0 | 1 -k2 | 4 -k3 | 1 -(3 rows) - -step s1_prepare_a: PREPARE TRANSACTION 'a'; -step s1_table_select: SELECT * FROM test_stat_tab ORDER BY key, value; -key|value ----+----- -k0 | 1 -(1 row) - -step s1_rollback_prepared_a: ROLLBACK PREPARED 'a'; -step s1_table_select: SELECT * FROM test_stat_tab ORDER BY key, value; -key|value ----+----- -k0 | 1 -(1 row) - -step s1_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_table_stats: - SELECT - pg_stat_get_numscans(tso.oid) AS seq_scan, - pg_stat_get_tuples_returned(tso.oid) AS seq_tup_read, - pg_stat_get_tuples_inserted(tso.oid) AS n_tup_ins, - pg_stat_get_tuples_updated(tso.oid) AS n_tup_upd, - pg_stat_get_tuples_deleted(tso.oid) AS n_tup_del, - pg_stat_get_live_tuples(tso.oid) AS n_live_tup, - pg_stat_get_dead_tuples(tso.oid) AS n_dead_tup, - pg_stat_get_vacuum_count(tso.oid) AS vacuum_count - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_tab' - -seq_scan|seq_tup_read|n_tup_ins|n_tup_upd|n_tup_del|n_live_tup|n_dead_tup|vacuum_count ---------+------------+---------+---------+---------+----------+----------+------------ - 9| 29| 4| 5| 1| 1| 8| 0 -(1 row) - - -starting permutation: s1_begin s1_table_insert s1_table_update_k1 s1_table_update_k1 s1_table_update_k2 s1_table_update_k2 s1_table_update_k2 s1_table_delete_k1 s1_table_select s1_prepare_a s1_table_select s2_rollback_prepared_a s1_table_select s1_ff s2_ff s1_table_stats -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_begin: BEGIN; -step s1_table_insert: INSERT INTO test_stat_tab(key, value) VALUES('k1', 1), ('k2', 1), ('k3', 1); -step s1_table_update_k1: UPDATE test_stat_tab SET value = value + 1 WHERE key = 'k1'; -step s1_table_update_k1: UPDATE test_stat_tab SET value = value + 1 WHERE key = 'k1'; -step s1_table_update_k2: UPDATE test_stat_tab SET value = value + 1 WHERE key = 'k2'; -step s1_table_update_k2: UPDATE test_stat_tab SET value = value + 1 WHERE key = 'k2'; -step s1_table_update_k2: UPDATE test_stat_tab SET value = value + 1 WHERE key = 'k2'; -step s1_table_delete_k1: DELETE FROM test_stat_tab WHERE key = 'k1'; -step s1_table_select: SELECT * FROM test_stat_tab ORDER BY key, value; -key|value ----+----- -k0 | 1 -k2 | 4 -k3 | 1 -(3 rows) - -step s1_prepare_a: PREPARE TRANSACTION 'a'; -step s1_table_select: SELECT * FROM test_stat_tab ORDER BY key, value; -key|value ----+----- -k0 | 1 -(1 row) - -step s2_rollback_prepared_a: ROLLBACK PREPARED 'a'; -step s1_table_select: SELECT * FROM test_stat_tab ORDER BY key, value; -key|value ----+----- -k0 | 1 -(1 row) - -step s1_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s2_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_table_stats: - SELECT - pg_stat_get_numscans(tso.oid) AS seq_scan, - pg_stat_get_tuples_returned(tso.oid) AS seq_tup_read, - pg_stat_get_tuples_inserted(tso.oid) AS n_tup_ins, - pg_stat_get_tuples_updated(tso.oid) AS n_tup_upd, - pg_stat_get_tuples_deleted(tso.oid) AS n_tup_del, - pg_stat_get_live_tuples(tso.oid) AS n_live_tup, - pg_stat_get_dead_tuples(tso.oid) AS n_dead_tup, - pg_stat_get_vacuum_count(tso.oid) AS vacuum_count - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_tab' - -seq_scan|seq_tup_read|n_tup_ins|n_tup_upd|n_tup_del|n_live_tup|n_dead_tup|vacuum_count ---------+------------+---------+---------+---------+----------+----------+------------ - 9| 29| 4| 5| 1| 1| 8| 0 -(1 row) - - -starting permutation: s1_table_insert s1_begin s1_table_update_k1 s1_table_update_k1 s1_table_truncate s1_table_insert_k1 s1_table_update_k1 s1_prepare_a s1_commit_prepared_a s1_ff s1_table_stats -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_table_insert: INSERT INTO test_stat_tab(key, value) VALUES('k1', 1), ('k2', 1), ('k3', 1); -step s1_begin: BEGIN; -step s1_table_update_k1: UPDATE test_stat_tab SET value = value + 1 WHERE key = 'k1'; -step s1_table_update_k1: UPDATE test_stat_tab SET value = value + 1 WHERE key = 'k1'; -step s1_table_truncate: TRUNCATE test_stat_tab; -step s1_table_insert_k1: INSERT INTO test_stat_tab(key, value) VALUES('k1', 1); -step s1_table_update_k1: UPDATE test_stat_tab SET value = value + 1 WHERE key = 'k1'; -step s1_prepare_a: PREPARE TRANSACTION 'a'; -step s1_commit_prepared_a: COMMIT PREPARED 'a'; -step s1_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_table_stats: - SELECT - pg_stat_get_numscans(tso.oid) AS seq_scan, - pg_stat_get_tuples_returned(tso.oid) AS seq_tup_read, - pg_stat_get_tuples_inserted(tso.oid) AS n_tup_ins, - pg_stat_get_tuples_updated(tso.oid) AS n_tup_upd, - pg_stat_get_tuples_deleted(tso.oid) AS n_tup_del, - pg_stat_get_live_tuples(tso.oid) AS n_live_tup, - pg_stat_get_dead_tuples(tso.oid) AS n_dead_tup, - pg_stat_get_vacuum_count(tso.oid) AS vacuum_count - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_tab' - -seq_scan|seq_tup_read|n_tup_ins|n_tup_upd|n_tup_del|n_live_tup|n_dead_tup|vacuum_count ---------+------------+---------+---------+---------+----------+----------+------------ - 3| 9| 5| 1| 0| 1| 1| 0 -(1 row) - - -starting permutation: s1_table_insert s1_begin s1_table_update_k1 s1_table_update_k1 s1_table_truncate s1_table_insert_k1 s1_table_update_k1 s1_prepare_a s1_ff s2_commit_prepared_a s2_ff s1_table_stats -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_table_insert: INSERT INTO test_stat_tab(key, value) VALUES('k1', 1), ('k2', 1), ('k3', 1); -step s1_begin: BEGIN; -step s1_table_update_k1: UPDATE test_stat_tab SET value = value + 1 WHERE key = 'k1'; -step s1_table_update_k1: UPDATE test_stat_tab SET value = value + 1 WHERE key = 'k1'; -step s1_table_truncate: TRUNCATE test_stat_tab; -step s1_table_insert_k1: INSERT INTO test_stat_tab(key, value) VALUES('k1', 1); -step s1_table_update_k1: UPDATE test_stat_tab SET value = value + 1 WHERE key = 'k1'; -step s1_prepare_a: PREPARE TRANSACTION 'a'; -step s1_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s2_commit_prepared_a: COMMIT PREPARED 'a'; -step s2_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_table_stats: - SELECT - pg_stat_get_numscans(tso.oid) AS seq_scan, - pg_stat_get_tuples_returned(tso.oid) AS seq_tup_read, - pg_stat_get_tuples_inserted(tso.oid) AS n_tup_ins, - pg_stat_get_tuples_updated(tso.oid) AS n_tup_upd, - pg_stat_get_tuples_deleted(tso.oid) AS n_tup_del, - pg_stat_get_live_tuples(tso.oid) AS n_live_tup, - pg_stat_get_dead_tuples(tso.oid) AS n_dead_tup, - pg_stat_get_vacuum_count(tso.oid) AS vacuum_count - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_tab' - -seq_scan|seq_tup_read|n_tup_ins|n_tup_upd|n_tup_del|n_live_tup|n_dead_tup|vacuum_count ---------+------------+---------+---------+---------+----------+----------+------------ - 3| 9| 5| 1| 0| 1| 1| 0 -(1 row) - - -starting permutation: s1_table_insert s1_begin s1_table_update_k1 s1_table_update_k1 s1_table_truncate s1_table_insert_k1 s1_table_update_k1 s1_prepare_a s1_rollback_prepared_a s1_ff s1_table_stats -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_table_insert: INSERT INTO test_stat_tab(key, value) VALUES('k1', 1), ('k2', 1), ('k3', 1); -step s1_begin: BEGIN; -step s1_table_update_k1: UPDATE test_stat_tab SET value = value + 1 WHERE key = 'k1'; -step s1_table_update_k1: UPDATE test_stat_tab SET value = value + 1 WHERE key = 'k1'; -step s1_table_truncate: TRUNCATE test_stat_tab; -step s1_table_insert_k1: INSERT INTO test_stat_tab(key, value) VALUES('k1', 1); -step s1_table_update_k1: UPDATE test_stat_tab SET value = value + 1 WHERE key = 'k1'; -step s1_prepare_a: PREPARE TRANSACTION 'a'; -step s1_rollback_prepared_a: ROLLBACK PREPARED 'a'; -step s1_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_table_stats: - SELECT - pg_stat_get_numscans(tso.oid) AS seq_scan, - pg_stat_get_tuples_returned(tso.oid) AS seq_tup_read, - pg_stat_get_tuples_inserted(tso.oid) AS n_tup_ins, - pg_stat_get_tuples_updated(tso.oid) AS n_tup_upd, - pg_stat_get_tuples_deleted(tso.oid) AS n_tup_del, - pg_stat_get_live_tuples(tso.oid) AS n_live_tup, - pg_stat_get_dead_tuples(tso.oid) AS n_dead_tup, - pg_stat_get_vacuum_count(tso.oid) AS vacuum_count - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_tab' - -seq_scan|seq_tup_read|n_tup_ins|n_tup_upd|n_tup_del|n_live_tup|n_dead_tup|vacuum_count ---------+------------+---------+---------+---------+----------+----------+------------ - 3| 9| 4| 2| 0| 4| 2| 0 -(1 row) - - -starting permutation: s1_table_insert s1_begin s1_table_update_k1 s1_table_update_k1 s1_table_truncate s1_table_insert_k1 s1_table_update_k1 s1_prepare_a s2_rollback_prepared_a s1_ff s2_ff s1_table_stats -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_table_insert: INSERT INTO test_stat_tab(key, value) VALUES('k1', 1), ('k2', 1), ('k3', 1); -step s1_begin: BEGIN; -step s1_table_update_k1: UPDATE test_stat_tab SET value = value + 1 WHERE key = 'k1'; -step s1_table_update_k1: UPDATE test_stat_tab SET value = value + 1 WHERE key = 'k1'; -step s1_table_truncate: TRUNCATE test_stat_tab; -step s1_table_insert_k1: INSERT INTO test_stat_tab(key, value) VALUES('k1', 1); -step s1_table_update_k1: UPDATE test_stat_tab SET value = value + 1 WHERE key = 'k1'; -step s1_prepare_a: PREPARE TRANSACTION 'a'; -step s2_rollback_prepared_a: ROLLBACK PREPARED 'a'; -step s1_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s2_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_table_stats: - SELECT - pg_stat_get_numscans(tso.oid) AS seq_scan, - pg_stat_get_tuples_returned(tso.oid) AS seq_tup_read, - pg_stat_get_tuples_inserted(tso.oid) AS n_tup_ins, - pg_stat_get_tuples_updated(tso.oid) AS n_tup_upd, - pg_stat_get_tuples_deleted(tso.oid) AS n_tup_del, - pg_stat_get_live_tuples(tso.oid) AS n_live_tup, - pg_stat_get_dead_tuples(tso.oid) AS n_dead_tup, - pg_stat_get_vacuum_count(tso.oid) AS vacuum_count - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_tab' - -seq_scan|seq_tup_read|n_tup_ins|n_tup_upd|n_tup_del|n_live_tup|n_dead_tup|vacuum_count ---------+------------+---------+---------+---------+----------+----------+------------ - 3| 9| 4| 2| 0| 4| 2| 0 -(1 row) - - -starting permutation: s1_table_insert s1_table_update_k1 s1_begin s1_table_delete_k1 s1_table_insert_k1 s1_table_update_k1 s1_table_update_k1 s1_table_drop s1_prepare_a s1_rollback_prepared_a s1_ff s1_table_stats -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_table_insert: INSERT INTO test_stat_tab(key, value) VALUES('k1', 1), ('k2', 1), ('k3', 1); -step s1_table_update_k1: UPDATE test_stat_tab SET value = value + 1 WHERE key = 'k1'; -step s1_begin: BEGIN; -step s1_table_delete_k1: DELETE FROM test_stat_tab WHERE key = 'k1'; -step s1_table_insert_k1: INSERT INTO test_stat_tab(key, value) VALUES('k1', 1); -step s1_table_update_k1: UPDATE test_stat_tab SET value = value + 1 WHERE key = 'k1'; -step s1_table_update_k1: UPDATE test_stat_tab SET value = value + 1 WHERE key = 'k1'; -step s1_table_drop: DROP TABLE test_stat_tab; -step s1_prepare_a: PREPARE TRANSACTION 'a'; -step s1_rollback_prepared_a: ROLLBACK PREPARED 'a'; -step s1_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_table_stats: - SELECT - pg_stat_get_numscans(tso.oid) AS seq_scan, - pg_stat_get_tuples_returned(tso.oid) AS seq_tup_read, - pg_stat_get_tuples_inserted(tso.oid) AS n_tup_ins, - pg_stat_get_tuples_updated(tso.oid) AS n_tup_upd, - pg_stat_get_tuples_deleted(tso.oid) AS n_tup_del, - pg_stat_get_live_tuples(tso.oid) AS n_live_tup, - pg_stat_get_dead_tuples(tso.oid) AS n_dead_tup, - pg_stat_get_vacuum_count(tso.oid) AS vacuum_count - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_tab' - -seq_scan|seq_tup_read|n_tup_ins|n_tup_upd|n_tup_del|n_live_tup|n_dead_tup|vacuum_count ---------+------------+---------+---------+---------+----------+----------+------------ - 4| 16| 5| 3| 1| 4| 4| 0 -(1 row) - - -starting permutation: s1_table_insert s1_table_update_k1 s1_begin s1_table_delete_k1 s1_table_insert_k1 s1_table_update_k1 s1_table_update_k1 s1_table_drop s1_prepare_a s2_rollback_prepared_a s1_ff s2_ff s1_table_stats -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_table_insert: INSERT INTO test_stat_tab(key, value) VALUES('k1', 1), ('k2', 1), ('k3', 1); -step s1_table_update_k1: UPDATE test_stat_tab SET value = value + 1 WHERE key = 'k1'; -step s1_begin: BEGIN; -step s1_table_delete_k1: DELETE FROM test_stat_tab WHERE key = 'k1'; -step s1_table_insert_k1: INSERT INTO test_stat_tab(key, value) VALUES('k1', 1); -step s1_table_update_k1: UPDATE test_stat_tab SET value = value + 1 WHERE key = 'k1'; -step s1_table_update_k1: UPDATE test_stat_tab SET value = value + 1 WHERE key = 'k1'; -step s1_table_drop: DROP TABLE test_stat_tab; -step s1_prepare_a: PREPARE TRANSACTION 'a'; -step s2_rollback_prepared_a: ROLLBACK PREPARED 'a'; -step s1_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s2_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_table_stats: - SELECT - pg_stat_get_numscans(tso.oid) AS seq_scan, - pg_stat_get_tuples_returned(tso.oid) AS seq_tup_read, - pg_stat_get_tuples_inserted(tso.oid) AS n_tup_ins, - pg_stat_get_tuples_updated(tso.oid) AS n_tup_upd, - pg_stat_get_tuples_deleted(tso.oid) AS n_tup_del, - pg_stat_get_live_tuples(tso.oid) AS n_live_tup, - pg_stat_get_dead_tuples(tso.oid) AS n_dead_tup, - pg_stat_get_vacuum_count(tso.oid) AS vacuum_count - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_tab' - -seq_scan|seq_tup_read|n_tup_ins|n_tup_upd|n_tup_del|n_live_tup|n_dead_tup|vacuum_count ---------+------------+---------+---------+---------+----------+----------+------------ - 4| 16| 5| 3| 1| 4| 4| 0 -(1 row) - - -starting permutation: s1_slru_save_stats s1_listen s1_begin s1_big_notify s1_ff s1_slru_check_stats s1_commit s1_slru_check_stats -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_slru_save_stats: - INSERT INTO test_slru_stats VALUES('notify', 'blks_zeroed', - (SELECT blks_zeroed FROM pg_stat_slru WHERE name = 'notify')); - -step s1_listen: LISTEN stats_test_nothing; -step s1_begin: BEGIN; -step s1_big_notify: SELECT pg_notify('stats_test_use', - repeat(i::text, current_setting('block_size')::int / 2)) FROM generate_series(1, 3) g(i); - -pg_notify ---------- - - - -(3 rows) - -step s1_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_slru_check_stats: - SELECT current.blks_zeroed > before.value - FROM test_slru_stats before - INNER JOIN pg_stat_slru current - ON before.slru = current.name - WHERE before.stat = 'blks_zeroed'; - -?column? --------- -f -(1 row) - -step s1_commit: COMMIT; -step s1_slru_check_stats: - SELECT current.blks_zeroed > before.value - FROM test_slru_stats before - INNER JOIN pg_stat_slru current - ON before.slru = current.name - WHERE before.stat = 'blks_zeroed'; - -?column? --------- -t -(1 row) - - -starting permutation: s1_slru_save_stats s1_listen s2_big_notify s2_ff s1_slru_check_stats -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_slru_save_stats: - INSERT INTO test_slru_stats VALUES('notify', 'blks_zeroed', - (SELECT blks_zeroed FROM pg_stat_slru WHERE name = 'notify')); - -step s1_listen: LISTEN stats_test_nothing; -step s2_big_notify: SELECT pg_notify('stats_test_use', - repeat(i::text, current_setting('block_size')::int / 2)) FROM generate_series(1, 3) g(i); - -pg_notify ---------- - - - -(3 rows) - -step s2_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_slru_check_stats: - SELECT current.blks_zeroed > before.value - FROM test_slru_stats before - INNER JOIN pg_stat_slru current - ON before.slru = current.name - WHERE before.stat = 'blks_zeroed'; - -?column? --------- -t -(1 row) - - -starting permutation: s1_slru_save_stats s1_listen s2_begin s2_big_notify s2_ff s1_slru_check_stats s2_commit -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_slru_save_stats: - INSERT INTO test_slru_stats VALUES('notify', 'blks_zeroed', - (SELECT blks_zeroed FROM pg_stat_slru WHERE name = 'notify')); - -step s1_listen: LISTEN stats_test_nothing; -step s2_begin: BEGIN; -step s2_big_notify: SELECT pg_notify('stats_test_use', - repeat(i::text, current_setting('block_size')::int / 2)) FROM generate_series(1, 3) g(i); - -pg_notify ---------- - - - -(3 rows) - -step s2_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_slru_check_stats: - SELECT current.blks_zeroed > before.value - FROM test_slru_stats before - INNER JOIN pg_stat_slru current - ON before.slru = current.name - WHERE before.stat = 'blks_zeroed'; - -?column? --------- -f -(1 row) - -step s2_commit: COMMIT; - -starting permutation: s1_fetch_consistency_none s1_slru_save_stats s1_listen s1_begin s1_slru_check_stats s2_big_notify s2_ff s1_slru_check_stats s1_commit s1_slru_check_stats -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_fetch_consistency_none: SET stats_fetch_consistency = 'none'; -step s1_slru_save_stats: - INSERT INTO test_slru_stats VALUES('notify', 'blks_zeroed', - (SELECT blks_zeroed FROM pg_stat_slru WHERE name = 'notify')); - -step s1_listen: LISTEN stats_test_nothing; -step s1_begin: BEGIN; -step s1_slru_check_stats: - SELECT current.blks_zeroed > before.value - FROM test_slru_stats before - INNER JOIN pg_stat_slru current - ON before.slru = current.name - WHERE before.stat = 'blks_zeroed'; - -?column? --------- -f -(1 row) - -step s2_big_notify: SELECT pg_notify('stats_test_use', - repeat(i::text, current_setting('block_size')::int / 2)) FROM generate_series(1, 3) g(i); - -pg_notify ---------- - - - -(3 rows) - -step s2_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_slru_check_stats: - SELECT current.blks_zeroed > before.value - FROM test_slru_stats before - INNER JOIN pg_stat_slru current - ON before.slru = current.name - WHERE before.stat = 'blks_zeroed'; - -?column? --------- -t -(1 row) - -step s1_commit: COMMIT; -step s1_slru_check_stats: - SELECT current.blks_zeroed > before.value - FROM test_slru_stats before - INNER JOIN pg_stat_slru current - ON before.slru = current.name - WHERE before.stat = 'blks_zeroed'; - -?column? --------- -t -(1 row) - - -starting permutation: s1_fetch_consistency_cache s1_slru_save_stats s1_listen s1_begin s1_slru_check_stats s2_big_notify s2_ff s1_slru_check_stats s1_commit s1_slru_check_stats -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_fetch_consistency_cache: SET stats_fetch_consistency = 'cache'; -step s1_slru_save_stats: - INSERT INTO test_slru_stats VALUES('notify', 'blks_zeroed', - (SELECT blks_zeroed FROM pg_stat_slru WHERE name = 'notify')); - -step s1_listen: LISTEN stats_test_nothing; -step s1_begin: BEGIN; -step s1_slru_check_stats: - SELECT current.blks_zeroed > before.value - FROM test_slru_stats before - INNER JOIN pg_stat_slru current - ON before.slru = current.name - WHERE before.stat = 'blks_zeroed'; - -?column? --------- -f -(1 row) - -step s2_big_notify: SELECT pg_notify('stats_test_use', - repeat(i::text, current_setting('block_size')::int / 2)) FROM generate_series(1, 3) g(i); - -pg_notify ---------- - - - -(3 rows) - -step s2_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_slru_check_stats: - SELECT current.blks_zeroed > before.value - FROM test_slru_stats before - INNER JOIN pg_stat_slru current - ON before.slru = current.name - WHERE before.stat = 'blks_zeroed'; - -?column? --------- -f -(1 row) - -step s1_commit: COMMIT; -step s1_slru_check_stats: - SELECT current.blks_zeroed > before.value - FROM test_slru_stats before - INNER JOIN pg_stat_slru current - ON before.slru = current.name - WHERE before.stat = 'blks_zeroed'; - -?column? --------- -t -(1 row) - - -starting permutation: s1_fetch_consistency_snapshot s1_slru_save_stats s1_listen s1_begin s1_slru_check_stats s2_big_notify s2_ff s1_slru_check_stats s1_commit s1_slru_check_stats -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_fetch_consistency_snapshot: SET stats_fetch_consistency = 'snapshot'; -step s1_slru_save_stats: - INSERT INTO test_slru_stats VALUES('notify', 'blks_zeroed', - (SELECT blks_zeroed FROM pg_stat_slru WHERE name = 'notify')); - -step s1_listen: LISTEN stats_test_nothing; -step s1_begin: BEGIN; -step s1_slru_check_stats: - SELECT current.blks_zeroed > before.value - FROM test_slru_stats before - INNER JOIN pg_stat_slru current - ON before.slru = current.name - WHERE before.stat = 'blks_zeroed'; - -?column? --------- -f -(1 row) - -step s2_big_notify: SELECT pg_notify('stats_test_use', - repeat(i::text, current_setting('block_size')::int / 2)) FROM generate_series(1, 3) g(i); - -pg_notify ---------- - - - -(3 rows) - -step s2_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_slru_check_stats: - SELECT current.blks_zeroed > before.value - FROM test_slru_stats before - INNER JOIN pg_stat_slru current - ON before.slru = current.name - WHERE before.stat = 'blks_zeroed'; - -?column? --------- -f -(1 row) - -step s1_commit: COMMIT; -step s1_slru_check_stats: - SELECT current.blks_zeroed > before.value - FROM test_slru_stats before - INNER JOIN pg_stat_slru current - ON before.slru = current.name - WHERE before.stat = 'blks_zeroed'; - -?column? --------- -t -(1 row) - - -starting permutation: s1_fetch_consistency_none s1_slru_save_stats s1_listen s1_begin s1_slru_check_stats s2_big_notify s2_ff s1_slru_check_stats s1_clear_snapshot s1_slru_check_stats s1_commit -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_fetch_consistency_none: SET stats_fetch_consistency = 'none'; -step s1_slru_save_stats: - INSERT INTO test_slru_stats VALUES('notify', 'blks_zeroed', - (SELECT blks_zeroed FROM pg_stat_slru WHERE name = 'notify')); - -step s1_listen: LISTEN stats_test_nothing; -step s1_begin: BEGIN; -step s1_slru_check_stats: - SELECT current.blks_zeroed > before.value - FROM test_slru_stats before - INNER JOIN pg_stat_slru current - ON before.slru = current.name - WHERE before.stat = 'blks_zeroed'; - -?column? --------- -f -(1 row) - -step s2_big_notify: SELECT pg_notify('stats_test_use', - repeat(i::text, current_setting('block_size')::int / 2)) FROM generate_series(1, 3) g(i); - -pg_notify ---------- - - - -(3 rows) - -step s2_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_slru_check_stats: - SELECT current.blks_zeroed > before.value - FROM test_slru_stats before - INNER JOIN pg_stat_slru current - ON before.slru = current.name - WHERE before.stat = 'blks_zeroed'; - -?column? --------- -t -(1 row) - -step s1_clear_snapshot: SELECT pg_stat_clear_snapshot(); -pg_stat_clear_snapshot ----------------------- - -(1 row) - -step s1_slru_check_stats: - SELECT current.blks_zeroed > before.value - FROM test_slru_stats before - INNER JOIN pg_stat_slru current - ON before.slru = current.name - WHERE before.stat = 'blks_zeroed'; - -?column? --------- -t -(1 row) - -step s1_commit: COMMIT; - -starting permutation: s1_fetch_consistency_cache s1_slru_save_stats s1_listen s1_begin s1_slru_check_stats s2_big_notify s2_ff s1_slru_check_stats s1_clear_snapshot s1_slru_check_stats s1_commit -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_fetch_consistency_cache: SET stats_fetch_consistency = 'cache'; -step s1_slru_save_stats: - INSERT INTO test_slru_stats VALUES('notify', 'blks_zeroed', - (SELECT blks_zeroed FROM pg_stat_slru WHERE name = 'notify')); - -step s1_listen: LISTEN stats_test_nothing; -step s1_begin: BEGIN; -step s1_slru_check_stats: - SELECT current.blks_zeroed > before.value - FROM test_slru_stats before - INNER JOIN pg_stat_slru current - ON before.slru = current.name - WHERE before.stat = 'blks_zeroed'; - -?column? --------- -f -(1 row) - -step s2_big_notify: SELECT pg_notify('stats_test_use', - repeat(i::text, current_setting('block_size')::int / 2)) FROM generate_series(1, 3) g(i); - -pg_notify ---------- - - - -(3 rows) - -step s2_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_slru_check_stats: - SELECT current.blks_zeroed > before.value - FROM test_slru_stats before - INNER JOIN pg_stat_slru current - ON before.slru = current.name - WHERE before.stat = 'blks_zeroed'; - -?column? --------- -f -(1 row) - -step s1_clear_snapshot: SELECT pg_stat_clear_snapshot(); -pg_stat_clear_snapshot ----------------------- - -(1 row) - -step s1_slru_check_stats: - SELECT current.blks_zeroed > before.value - FROM test_slru_stats before - INNER JOIN pg_stat_slru current - ON before.slru = current.name - WHERE before.stat = 'blks_zeroed'; - -?column? --------- -t -(1 row) - -step s1_commit: COMMIT; - -starting permutation: s1_fetch_consistency_snapshot s1_slru_save_stats s1_listen s1_begin s1_slru_check_stats s2_big_notify s2_ff s1_slru_check_stats s1_clear_snapshot s1_slru_check_stats s1_commit -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_fetch_consistency_snapshot: SET stats_fetch_consistency = 'snapshot'; -step s1_slru_save_stats: - INSERT INTO test_slru_stats VALUES('notify', 'blks_zeroed', - (SELECT blks_zeroed FROM pg_stat_slru WHERE name = 'notify')); - -step s1_listen: LISTEN stats_test_nothing; -step s1_begin: BEGIN; -step s1_slru_check_stats: - SELECT current.blks_zeroed > before.value - FROM test_slru_stats before - INNER JOIN pg_stat_slru current - ON before.slru = current.name - WHERE before.stat = 'blks_zeroed'; - -?column? --------- -f -(1 row) - -step s2_big_notify: SELECT pg_notify('stats_test_use', - repeat(i::text, current_setting('block_size')::int / 2)) FROM generate_series(1, 3) g(i); - -pg_notify ---------- - - - -(3 rows) - -step s2_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_slru_check_stats: - SELECT current.blks_zeroed > before.value - FROM test_slru_stats before - INNER JOIN pg_stat_slru current - ON before.slru = current.name - WHERE before.stat = 'blks_zeroed'; - -?column? --------- -f -(1 row) - -step s1_clear_snapshot: SELECT pg_stat_clear_snapshot(); -pg_stat_clear_snapshot ----------------------- - -(1 row) - -step s1_slru_check_stats: - SELECT current.blks_zeroed > before.value - FROM test_slru_stats before - INNER JOIN pg_stat_slru current - ON before.slru = current.name - WHERE before.stat = 'blks_zeroed'; - -?column? --------- -t -(1 row) - -step s1_commit: COMMIT; - -starting permutation: s1_fetch_consistency_snapshot s1_slru_save_stats s1_listen s1_begin s1_func_stats s2_big_notify s2_ff s1_slru_check_stats s1_commit -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_fetch_consistency_snapshot: SET stats_fetch_consistency = 'snapshot'; -step s1_slru_save_stats: - INSERT INTO test_slru_stats VALUES('notify', 'blks_zeroed', - (SELECT blks_zeroed FROM pg_stat_slru WHERE name = 'notify')); - -step s1_listen: LISTEN stats_test_nothing; -step s1_begin: BEGIN; -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| | | -(1 row) - -step s2_big_notify: SELECT pg_notify('stats_test_use', - repeat(i::text, current_setting('block_size')::int / 2)) FROM generate_series(1, 3) g(i); - -pg_notify ---------- - - - -(3 rows) - -step s2_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_slru_check_stats: - SELECT current.blks_zeroed > before.value - FROM test_slru_stats before - INNER JOIN pg_stat_slru current - ON before.slru = current.name - WHERE before.stat = 'blks_zeroed'; - -?column? --------- -f -(1 row) - -step s1_commit: COMMIT; - -starting permutation: s1_fetch_consistency_snapshot s1_slru_save_stats s1_listen s1_begin s2_big_notify s2_ff s1_slru_check_stats s2_func_call s2_ff s1_func_stats s1_clear_snapshot s1_func_stats s1_commit -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_fetch_consistency_snapshot: SET stats_fetch_consistency = 'snapshot'; -step s1_slru_save_stats: - INSERT INTO test_slru_stats VALUES('notify', 'blks_zeroed', - (SELECT blks_zeroed FROM pg_stat_slru WHERE name = 'notify')); - -step s1_listen: LISTEN stats_test_nothing; -step s1_begin: BEGIN; -step s2_big_notify: SELECT pg_notify('stats_test_use', - repeat(i::text, current_setting('block_size')::int / 2)) FROM generate_series(1, 3) g(i); - -pg_notify ---------- - - - -(3 rows) - -step s2_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_slru_check_stats: - SELECT current.blks_zeroed > before.value - FROM test_slru_stats before - INNER JOIN pg_stat_slru current - ON before.slru = current.name - WHERE before.stat = 'blks_zeroed'; - -?column? --------- -t -(1 row) - -step s2_func_call: SELECT test_stat_func() -test_stat_func --------------- - -(1 row) - -step s2_ff: SELECT pg_stat_force_next_flush(); -pg_stat_force_next_flush ------------------------- - -(1 row) - -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| | | -(1 row) - -step s1_clear_snapshot: SELECT pg_stat_clear_snapshot(); -pg_stat_clear_snapshot ----------------------- - -(1 row) - -step s1_func_stats: - SELECT - tso.name, - pg_stat_get_function_calls(tso.oid), - pg_stat_get_function_total_time(tso.oid) > 0 total_above_zero, - pg_stat_get_function_self_time(tso.oid) > 0 self_above_zero - FROM test_stat_oid AS tso - WHERE tso.name = 'test_stat_func' - -name |pg_stat_get_function_calls|total_above_zero|self_above_zero ---------------+--------------------------+----------------+--------------- -test_stat_func| 1|t |t -(1 row) - -step s1_commit: COMMIT; +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/horizons.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/horizons.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/horizons.out 2025-08-23 05:04:11.940977803 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/horizons.out 2025-08-23 05:09:27.319433336 +0000 @@ -1,335 +1,3 @@ Parsed test spec with 2 sessions - -starting permutation: pruner_create_perm ll_start pruner_query_plan pruner_query pruner_query pruner_delete pruner_query pruner_query ll_commit pruner_drop -step pruner_create_perm: - CREATE TABLE horizons_tst (data int unique) WITH (autovacuum_enabled = off); - INSERT INTO horizons_tst(data) VALUES(1),(2); - -step ll_start: - BEGIN TRANSACTION ISOLATION LEVEL REPEATABLE READ; - SELECT 1; - -?column? --------- - 1 -(1 row) - -step pruner_query_plan: - EXPLAIN (COSTS OFF) SELECT * FROM horizons_tst ORDER BY data; - -QUERY PLAN ------------------------------------------------------------ -Index Only Scan using horizons_tst_data_key on horizons_tst -(1 row) - -step pruner_query: - SELECT explain_json($$ - EXPLAIN (FORMAT json, BUFFERS, ANALYZE) - SELECT * FROM horizons_tst ORDER BY data;$$)->0->'Plan'->'Heap Fetches'; - -?column? --------- - 2 -(1 row) - -step pruner_query: - SELECT explain_json($$ - EXPLAIN (FORMAT json, BUFFERS, ANALYZE) - SELECT * FROM horizons_tst ORDER BY data;$$)->0->'Plan'->'Heap Fetches'; - -?column? --------- - 2 -(1 row) - -step pruner_delete: - DELETE FROM horizons_tst; - -step pruner_query: - SELECT explain_json($$ - EXPLAIN (FORMAT json, BUFFERS, ANALYZE) - SELECT * FROM horizons_tst ORDER BY data;$$)->0->'Plan'->'Heap Fetches'; - -?column? --------- - 2 -(1 row) - -step pruner_query: - SELECT explain_json($$ - EXPLAIN (FORMAT json, BUFFERS, ANALYZE) - SELECT * FROM horizons_tst ORDER BY data;$$)->0->'Plan'->'Heap Fetches'; - -?column? --------- - 2 -(1 row) - -step ll_commit: COMMIT; -step pruner_drop: - DROP TABLE horizons_tst; - - -starting permutation: pruner_create_temp ll_start pruner_query_plan pruner_query pruner_query pruner_delete pruner_query pruner_query ll_commit pruner_drop -step pruner_create_temp: - CREATE TEMPORARY TABLE horizons_tst (data int unique) WITH (autovacuum_enabled = off); - INSERT INTO horizons_tst(data) VALUES(1),(2); - -step ll_start: - BEGIN TRANSACTION ISOLATION LEVEL REPEATABLE READ; - SELECT 1; - -?column? --------- - 1 -(1 row) - -step pruner_query_plan: - EXPLAIN (COSTS OFF) SELECT * FROM horizons_tst ORDER BY data; - -QUERY PLAN ------------------------------------------------------------ -Index Only Scan using horizons_tst_data_key on horizons_tst -(1 row) - -step pruner_query: - SELECT explain_json($$ - EXPLAIN (FORMAT json, BUFFERS, ANALYZE) - SELECT * FROM horizons_tst ORDER BY data;$$)->0->'Plan'->'Heap Fetches'; - -?column? --------- - 2 -(1 row) - -step pruner_query: - SELECT explain_json($$ - EXPLAIN (FORMAT json, BUFFERS, ANALYZE) - SELECT * FROM horizons_tst ORDER BY data;$$)->0->'Plan'->'Heap Fetches'; - -?column? --------- - 2 -(1 row) - -step pruner_delete: - DELETE FROM horizons_tst; - -step pruner_query: - SELECT explain_json($$ - EXPLAIN (FORMAT json, BUFFERS, ANALYZE) - SELECT * FROM horizons_tst ORDER BY data;$$)->0->'Plan'->'Heap Fetches'; - -?column? --------- - 2 -(1 row) - -step pruner_query: - SELECT explain_json($$ - EXPLAIN (FORMAT json, BUFFERS, ANALYZE) - SELECT * FROM horizons_tst ORDER BY data;$$)->0->'Plan'->'Heap Fetches'; - -?column? --------- - 0 -(1 row) - -step ll_commit: COMMIT; -step pruner_drop: - DROP TABLE horizons_tst; - - -starting permutation: pruner_create_temp ll_start pruner_query pruner_query pruner_begin pruner_delete pruner_query pruner_query ll_commit pruner_commit pruner_drop -step pruner_create_temp: - CREATE TEMPORARY TABLE horizons_tst (data int unique) WITH (autovacuum_enabled = off); - INSERT INTO horizons_tst(data) VALUES(1),(2); - -step ll_start: - BEGIN TRANSACTION ISOLATION LEVEL REPEATABLE READ; - SELECT 1; - -?column? --------- - 1 -(1 row) - -step pruner_query: - SELECT explain_json($$ - EXPLAIN (FORMAT json, BUFFERS, ANALYZE) - SELECT * FROM horizons_tst ORDER BY data;$$)->0->'Plan'->'Heap Fetches'; - -?column? --------- - 2 -(1 row) - -step pruner_query: - SELECT explain_json($$ - EXPLAIN (FORMAT json, BUFFERS, ANALYZE) - SELECT * FROM horizons_tst ORDER BY data;$$)->0->'Plan'->'Heap Fetches'; - -?column? --------- - 2 -(1 row) - -step pruner_begin: BEGIN; -step pruner_delete: - DELETE FROM horizons_tst; - -step pruner_query: - SELECT explain_json($$ - EXPLAIN (FORMAT json, BUFFERS, ANALYZE) - SELECT * FROM horizons_tst ORDER BY data;$$)->0->'Plan'->'Heap Fetches'; - -?column? --------- - 2 -(1 row) - -step pruner_query: - SELECT explain_json($$ - EXPLAIN (FORMAT json, BUFFERS, ANALYZE) - SELECT * FROM horizons_tst ORDER BY data;$$)->0->'Plan'->'Heap Fetches'; - -?column? --------- - 2 -(1 row) - -step ll_commit: COMMIT; -step pruner_commit: COMMIT; -step pruner_drop: - DROP TABLE horizons_tst; - - -starting permutation: pruner_create_perm ll_start pruner_query pruner_query pruner_delete pruner_vacuum pruner_query pruner_query ll_commit pruner_drop -step pruner_create_perm: - CREATE TABLE horizons_tst (data int unique) WITH (autovacuum_enabled = off); - INSERT INTO horizons_tst(data) VALUES(1),(2); - -step ll_start: - BEGIN TRANSACTION ISOLATION LEVEL REPEATABLE READ; - SELECT 1; - -?column? --------- - 1 -(1 row) - -step pruner_query: - SELECT explain_json($$ - EXPLAIN (FORMAT json, BUFFERS, ANALYZE) - SELECT * FROM horizons_tst ORDER BY data;$$)->0->'Plan'->'Heap Fetches'; - -?column? --------- - 2 -(1 row) - -step pruner_query: - SELECT explain_json($$ - EXPLAIN (FORMAT json, BUFFERS, ANALYZE) - SELECT * FROM horizons_tst ORDER BY data;$$)->0->'Plan'->'Heap Fetches'; - -?column? --------- - 2 -(1 row) - -step pruner_delete: - DELETE FROM horizons_tst; - -step pruner_vacuum: - VACUUM horizons_tst; - -step pruner_query: - SELECT explain_json($$ - EXPLAIN (FORMAT json, BUFFERS, ANALYZE) - SELECT * FROM horizons_tst ORDER BY data;$$)->0->'Plan'->'Heap Fetches'; - -?column? --------- - 2 -(1 row) - -step pruner_query: - SELECT explain_json($$ - EXPLAIN (FORMAT json, BUFFERS, ANALYZE) - SELECT * FROM horizons_tst ORDER BY data;$$)->0->'Plan'->'Heap Fetches'; - -?column? --------- - 2 -(1 row) - -step ll_commit: COMMIT; -step pruner_drop: - DROP TABLE horizons_tst; - - -starting permutation: pruner_create_temp ll_start pruner_query pruner_query pruner_delete pruner_vacuum pruner_query pruner_query ll_commit pruner_drop -step pruner_create_temp: - CREATE TEMPORARY TABLE horizons_tst (data int unique) WITH (autovacuum_enabled = off); - INSERT INTO horizons_tst(data) VALUES(1),(2); - -step ll_start: - BEGIN TRANSACTION ISOLATION LEVEL REPEATABLE READ; - SELECT 1; - -?column? --------- - 1 -(1 row) - -step pruner_query: - SELECT explain_json($$ - EXPLAIN (FORMAT json, BUFFERS, ANALYZE) - SELECT * FROM horizons_tst ORDER BY data;$$)->0->'Plan'->'Heap Fetches'; - -?column? --------- - 2 -(1 row) - -step pruner_query: - SELECT explain_json($$ - EXPLAIN (FORMAT json, BUFFERS, ANALYZE) - SELECT * FROM horizons_tst ORDER BY data;$$)->0->'Plan'->'Heap Fetches'; - -?column? --------- - 2 -(1 row) - -step pruner_delete: - DELETE FROM horizons_tst; - -step pruner_vacuum: - VACUUM horizons_tst; - -step pruner_query: - SELECT explain_json($$ - EXPLAIN (FORMAT json, BUFFERS, ANALYZE) - SELECT * FROM horizons_tst ORDER BY data;$$)->0->'Plan'->'Heap Fetches'; - -?column? --------- - 0 -(1 row) - -step pruner_query: - SELECT explain_json($$ - EXPLAIN (FORMAT json, BUFFERS, ANALYZE) - SELECT * FROM horizons_tst ORDER BY data;$$)->0->'Plan'->'Heap Fetches'; - -?column? --------- - 0 -(1 row) - -step ll_commit: COMMIT; -step pruner_drop: - DROP TABLE horizons_tst; - +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/predicate-hash.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/predicate-hash.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/predicate-hash.out 2025-08-23 05:04:11.948967606 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/predicate-hash.out 2025-08-23 05:09:27.435433052 +0000 @@ -1,819 +1,3 @@ Parsed test spec with 2 sessions - -starting permutation: rxy1 wx1 c1 rxy2 wy2 c2 -step rxy1: select sum(p) from hash_tbl where p=20; -sum ---- -200 -(1 row) - -step wx1: insert into hash_tbl (id, p) - select g, 30 from generate_series(41, 50) g; -step c1: commit; -step rxy2: select sum(p) from hash_tbl where p=30; -sum ---- -600 -(1 row) - -step wy2: insert into hash_tbl (id, p) - select g, 20 from generate_series(51, 60) g; -step c2: commit; - -starting permutation: rxy2 wy2 c2 rxy1 wx1 c1 -step rxy2: select sum(p) from hash_tbl where p=30; -sum ---- -300 -(1 row) - -step wy2: insert into hash_tbl (id, p) - select g, 20 from generate_series(51, 60) g; -step c2: commit; -step rxy1: select sum(p) from hash_tbl where p=20; -sum ---- -400 -(1 row) - -step wx1: insert into hash_tbl (id, p) - select g, 30 from generate_series(41, 50) g; -step c1: commit; - -starting permutation: rxy3 wx3 c1 rxy4 wy4 c2 -step rxy3: select sum(p) from hash_tbl where p=20; -sum ---- -200 -(1 row) - -step wx3: insert into hash_tbl (id, p) - select g, 50 from generate_series(41, 50) g; -step c1: commit; -step rxy4: select sum(p) from hash_tbl where p=30; -sum ---- -300 -(1 row) - -step wy4: insert into hash_tbl (id, p) - select g, 60 from generate_series(51, 60) g; -step c2: commit; - -starting permutation: rxy4 wy4 c2 rxy3 wx3 c1 -step rxy4: select sum(p) from hash_tbl where p=30; -sum ---- -300 -(1 row) - -step wy4: insert into hash_tbl (id, p) - select g, 60 from generate_series(51, 60) g; -step c2: commit; -step rxy3: select sum(p) from hash_tbl where p=20; -sum ---- -200 -(1 row) - -step wx3: insert into hash_tbl (id, p) - select g, 50 from generate_series(41, 50) g; -step c1: commit; - -starting permutation: rxy1 wx1 rxy2 c1 wy2 c2 -step rxy1: select sum(p) from hash_tbl where p=20; -sum ---- -200 -(1 row) - -step wx1: insert into hash_tbl (id, p) - select g, 30 from generate_series(41, 50) g; -step rxy2: select sum(p) from hash_tbl where p=30; -sum ---- -300 -(1 row) - -step c1: commit; -step wy2: insert into hash_tbl (id, p) - select g, 20 from generate_series(51, 60) g; -ERROR: could not serialize access due to read/write dependencies among transactions -step c2: commit; - -starting permutation: rxy1 wx1 rxy2 wy2 c1 c2 -step rxy1: select sum(p) from hash_tbl where p=20; -sum ---- -200 -(1 row) - -step wx1: insert into hash_tbl (id, p) - select g, 30 from generate_series(41, 50) g; -step rxy2: select sum(p) from hash_tbl where p=30; -sum ---- -300 -(1 row) - -step wy2: insert into hash_tbl (id, p) - select g, 20 from generate_series(51, 60) g; -step c1: commit; -step c2: commit; -ERROR: could not serialize access due to read/write dependencies among transactions - -starting permutation: rxy1 wx1 rxy2 wy2 c2 c1 -step rxy1: select sum(p) from hash_tbl where p=20; -sum ---- -200 -(1 row) - -step wx1: insert into hash_tbl (id, p) - select g, 30 from generate_series(41, 50) g; -step rxy2: select sum(p) from hash_tbl where p=30; -sum ---- -300 -(1 row) - -step wy2: insert into hash_tbl (id, p) - select g, 20 from generate_series(51, 60) g; -step c2: commit; -step c1: commit; -ERROR: could not serialize access due to read/write dependencies among transactions - -starting permutation: rxy1 rxy2 wx1 c1 wy2 c2 -step rxy1: select sum(p) from hash_tbl where p=20; -sum ---- -200 -(1 row) - -step rxy2: select sum(p) from hash_tbl where p=30; -sum ---- -300 -(1 row) - -step wx1: insert into hash_tbl (id, p) - select g, 30 from generate_series(41, 50) g; -step c1: commit; -step wy2: insert into hash_tbl (id, p) - select g, 20 from generate_series(51, 60) g; -ERROR: could not serialize access due to read/write dependencies among transactions -step c2: commit; - -starting permutation: rxy1 rxy2 wx1 wy2 c1 c2 -step rxy1: select sum(p) from hash_tbl where p=20; -sum ---- -200 -(1 row) - -step rxy2: select sum(p) from hash_tbl where p=30; -sum ---- -300 -(1 row) - -step wx1: insert into hash_tbl (id, p) - select g, 30 from generate_series(41, 50) g; -step wy2: insert into hash_tbl (id, p) - select g, 20 from generate_series(51, 60) g; -step c1: commit; -step c2: commit; -ERROR: could not serialize access due to read/write dependencies among transactions - -starting permutation: rxy1 rxy2 wx1 wy2 c2 c1 -step rxy1: select sum(p) from hash_tbl where p=20; -sum ---- -200 -(1 row) - -step rxy2: select sum(p) from hash_tbl where p=30; -sum ---- -300 -(1 row) - -step wx1: insert into hash_tbl (id, p) - select g, 30 from generate_series(41, 50) g; -step wy2: insert into hash_tbl (id, p) - select g, 20 from generate_series(51, 60) g; -step c2: commit; -step c1: commit; -ERROR: could not serialize access due to read/write dependencies among transactions - -starting permutation: rxy1 rxy2 wy2 wx1 c1 c2 -step rxy1: select sum(p) from hash_tbl where p=20; -sum ---- -200 -(1 row) - -step rxy2: select sum(p) from hash_tbl where p=30; -sum ---- -300 -(1 row) - -step wy2: insert into hash_tbl (id, p) - select g, 20 from generate_series(51, 60) g; -step wx1: insert into hash_tbl (id, p) - select g, 30 from generate_series(41, 50) g; -step c1: commit; -step c2: commit; -ERROR: could not serialize access due to read/write dependencies among transactions - -starting permutation: rxy1 rxy2 wy2 wx1 c2 c1 -step rxy1: select sum(p) from hash_tbl where p=20; -sum ---- -200 -(1 row) - -step rxy2: select sum(p) from hash_tbl where p=30; -sum ---- -300 -(1 row) - -step wy2: insert into hash_tbl (id, p) - select g, 20 from generate_series(51, 60) g; -step wx1: insert into hash_tbl (id, p) - select g, 30 from generate_series(41, 50) g; -step c2: commit; -step c1: commit; -ERROR: could not serialize access due to read/write dependencies among transactions - -starting permutation: rxy1 rxy2 wy2 c2 wx1 c1 -step rxy1: select sum(p) from hash_tbl where p=20; -sum ---- -200 -(1 row) - -step rxy2: select sum(p) from hash_tbl where p=30; -sum ---- -300 -(1 row) - -step wy2: insert into hash_tbl (id, p) - select g, 20 from generate_series(51, 60) g; -step c2: commit; -step wx1: insert into hash_tbl (id, p) - select g, 30 from generate_series(41, 50) g; -ERROR: could not serialize access due to read/write dependencies among transactions -step c1: commit; - -starting permutation: rxy2 rxy1 wx1 c1 wy2 c2 -step rxy2: select sum(p) from hash_tbl where p=30; -sum ---- -300 -(1 row) - -step rxy1: select sum(p) from hash_tbl where p=20; -sum ---- -200 -(1 row) - -step wx1: insert into hash_tbl (id, p) - select g, 30 from generate_series(41, 50) g; -step c1: commit; -step wy2: insert into hash_tbl (id, p) - select g, 20 from generate_series(51, 60) g; -ERROR: could not serialize access due to read/write dependencies among transactions -step c2: commit; - -starting permutation: rxy2 rxy1 wx1 wy2 c1 c2 -step rxy2: select sum(p) from hash_tbl where p=30; -sum ---- -300 -(1 row) - -step rxy1: select sum(p) from hash_tbl where p=20; -sum ---- -200 -(1 row) - -step wx1: insert into hash_tbl (id, p) - select g, 30 from generate_series(41, 50) g; -step wy2: insert into hash_tbl (id, p) - select g, 20 from generate_series(51, 60) g; -step c1: commit; -step c2: commit; -ERROR: could not serialize access due to read/write dependencies among transactions - -starting permutation: rxy2 rxy1 wx1 wy2 c2 c1 -step rxy2: select sum(p) from hash_tbl where p=30; -sum ---- -300 -(1 row) - -step rxy1: select sum(p) from hash_tbl where p=20; -sum ---- -200 -(1 row) - -step wx1: insert into hash_tbl (id, p) - select g, 30 from generate_series(41, 50) g; -step wy2: insert into hash_tbl (id, p) - select g, 20 from generate_series(51, 60) g; -step c2: commit; -step c1: commit; -ERROR: could not serialize access due to read/write dependencies among transactions - -starting permutation: rxy2 rxy1 wy2 wx1 c1 c2 -step rxy2: select sum(p) from hash_tbl where p=30; -sum ---- -300 -(1 row) - -step rxy1: select sum(p) from hash_tbl where p=20; -sum ---- -200 -(1 row) - -step wy2: insert into hash_tbl (id, p) - select g, 20 from generate_series(51, 60) g; -step wx1: insert into hash_tbl (id, p) - select g, 30 from generate_series(41, 50) g; -step c1: commit; -step c2: commit; -ERROR: could not serialize access due to read/write dependencies among transactions - -starting permutation: rxy2 rxy1 wy2 wx1 c2 c1 -step rxy2: select sum(p) from hash_tbl where p=30; -sum ---- -300 -(1 row) - -step rxy1: select sum(p) from hash_tbl where p=20; -sum ---- -200 -(1 row) - -step wy2: insert into hash_tbl (id, p) - select g, 20 from generate_series(51, 60) g; -step wx1: insert into hash_tbl (id, p) - select g, 30 from generate_series(41, 50) g; -step c2: commit; -step c1: commit; -ERROR: could not serialize access due to read/write dependencies among transactions - -starting permutation: rxy2 rxy1 wy2 c2 wx1 c1 -step rxy2: select sum(p) from hash_tbl where p=30; -sum ---- -300 -(1 row) - -step rxy1: select sum(p) from hash_tbl where p=20; -sum ---- -200 -(1 row) - -step wy2: insert into hash_tbl (id, p) - select g, 20 from generate_series(51, 60) g; -step c2: commit; -step wx1: insert into hash_tbl (id, p) - select g, 30 from generate_series(41, 50) g; -ERROR: could not serialize access due to read/write dependencies among transactions -step c1: commit; - -starting permutation: rxy2 wy2 rxy1 wx1 c1 c2 -step rxy2: select sum(p) from hash_tbl where p=30; -sum ---- -300 -(1 row) - -step wy2: insert into hash_tbl (id, p) - select g, 20 from generate_series(51, 60) g; -step rxy1: select sum(p) from hash_tbl where p=20; -sum ---- -200 -(1 row) - -step wx1: insert into hash_tbl (id, p) - select g, 30 from generate_series(41, 50) g; -step c1: commit; -step c2: commit; -ERROR: could not serialize access due to read/write dependencies among transactions - -starting permutation: rxy2 wy2 rxy1 wx1 c2 c1 -step rxy2: select sum(p) from hash_tbl where p=30; -sum ---- -300 -(1 row) - -step wy2: insert into hash_tbl (id, p) - select g, 20 from generate_series(51, 60) g; -step rxy1: select sum(p) from hash_tbl where p=20; -sum ---- -200 -(1 row) - -step wx1: insert into hash_tbl (id, p) - select g, 30 from generate_series(41, 50) g; -step c2: commit; -step c1: commit; -ERROR: could not serialize access due to read/write dependencies among transactions - -starting permutation: rxy2 wy2 rxy1 c2 wx1 c1 -step rxy2: select sum(p) from hash_tbl where p=30; -sum ---- -300 -(1 row) - -step wy2: insert into hash_tbl (id, p) - select g, 20 from generate_series(51, 60) g; -step rxy1: select sum(p) from hash_tbl where p=20; -sum ---- -200 -(1 row) - -step c2: commit; -step wx1: insert into hash_tbl (id, p) - select g, 30 from generate_series(41, 50) g; -ERROR: could not serialize access due to read/write dependencies among transactions -step c1: commit; - -starting permutation: rxy3 wx3 rxy4 c1 wy4 c2 -step rxy3: select sum(p) from hash_tbl where p=20; -sum ---- -200 -(1 row) - -step wx3: insert into hash_tbl (id, p) - select g, 50 from generate_series(41, 50) g; -step rxy4: select sum(p) from hash_tbl where p=30; -sum ---- -300 -(1 row) - -step c1: commit; -step wy4: insert into hash_tbl (id, p) - select g, 60 from generate_series(51, 60) g; -step c2: commit; - -starting permutation: rxy3 wx3 rxy4 wy4 c1 c2 -step rxy3: select sum(p) from hash_tbl where p=20; -sum ---- -200 -(1 row) - -step wx3: insert into hash_tbl (id, p) - select g, 50 from generate_series(41, 50) g; -step rxy4: select sum(p) from hash_tbl where p=30; -sum ---- -300 -(1 row) - -step wy4: insert into hash_tbl (id, p) - select g, 60 from generate_series(51, 60) g; -step c1: commit; -step c2: commit; - -starting permutation: rxy3 wx3 rxy4 wy4 c2 c1 -step rxy3: select sum(p) from hash_tbl where p=20; -sum ---- -200 -(1 row) - -step wx3: insert into hash_tbl (id, p) - select g, 50 from generate_series(41, 50) g; -step rxy4: select sum(p) from hash_tbl where p=30; -sum ---- -300 -(1 row) - -step wy4: insert into hash_tbl (id, p) - select g, 60 from generate_series(51, 60) g; -step c2: commit; -step c1: commit; - -starting permutation: rxy3 rxy4 wx3 c1 wy4 c2 -step rxy3: select sum(p) from hash_tbl where p=20; -sum ---- -200 -(1 row) - -step rxy4: select sum(p) from hash_tbl where p=30; -sum ---- -300 -(1 row) - -step wx3: insert into hash_tbl (id, p) - select g, 50 from generate_series(41, 50) g; -step c1: commit; -step wy4: insert into hash_tbl (id, p) - select g, 60 from generate_series(51, 60) g; -step c2: commit; - -starting permutation: rxy3 rxy4 wx3 wy4 c1 c2 -step rxy3: select sum(p) from hash_tbl where p=20; -sum ---- -200 -(1 row) - -step rxy4: select sum(p) from hash_tbl where p=30; -sum ---- -300 -(1 row) - -step wx3: insert into hash_tbl (id, p) - select g, 50 from generate_series(41, 50) g; -step wy4: insert into hash_tbl (id, p) - select g, 60 from generate_series(51, 60) g; -step c1: commit; -step c2: commit; - -starting permutation: rxy3 rxy4 wx3 wy4 c2 c1 -step rxy3: select sum(p) from hash_tbl where p=20; -sum ---- -200 -(1 row) - -step rxy4: select sum(p) from hash_tbl where p=30; -sum ---- -300 -(1 row) - -step wx3: insert into hash_tbl (id, p) - select g, 50 from generate_series(41, 50) g; -step wy4: insert into hash_tbl (id, p) - select g, 60 from generate_series(51, 60) g; -step c2: commit; -step c1: commit; - -starting permutation: rxy3 rxy4 wy4 wx3 c1 c2 -step rxy3: select sum(p) from hash_tbl where p=20; -sum ---- -200 -(1 row) - -step rxy4: select sum(p) from hash_tbl where p=30; -sum ---- -300 -(1 row) - -step wy4: insert into hash_tbl (id, p) - select g, 60 from generate_series(51, 60) g; -step wx3: insert into hash_tbl (id, p) - select g, 50 from generate_series(41, 50) g; -step c1: commit; -step c2: commit; - -starting permutation: rxy3 rxy4 wy4 wx3 c2 c1 -step rxy3: select sum(p) from hash_tbl where p=20; -sum ---- -200 -(1 row) - -step rxy4: select sum(p) from hash_tbl where p=30; -sum ---- -300 -(1 row) - -step wy4: insert into hash_tbl (id, p) - select g, 60 from generate_series(51, 60) g; -step wx3: insert into hash_tbl (id, p) - select g, 50 from generate_series(41, 50) g; -step c2: commit; -step c1: commit; - -starting permutation: rxy3 rxy4 wy4 c2 wx3 c1 -step rxy3: select sum(p) from hash_tbl where p=20; -sum ---- -200 -(1 row) - -step rxy4: select sum(p) from hash_tbl where p=30; -sum ---- -300 -(1 row) - -step wy4: insert into hash_tbl (id, p) - select g, 60 from generate_series(51, 60) g; -step c2: commit; -step wx3: insert into hash_tbl (id, p) - select g, 50 from generate_series(41, 50) g; -step c1: commit; - -starting permutation: rxy4 rxy3 wx3 c1 wy4 c2 -step rxy4: select sum(p) from hash_tbl where p=30; -sum ---- -300 -(1 row) - -step rxy3: select sum(p) from hash_tbl where p=20; -sum ---- -200 -(1 row) - -step wx3: insert into hash_tbl (id, p) - select g, 50 from generate_series(41, 50) g; -step c1: commit; -step wy4: insert into hash_tbl (id, p) - select g, 60 from generate_series(51, 60) g; -step c2: commit; - -starting permutation: rxy4 rxy3 wx3 wy4 c1 c2 -step rxy4: select sum(p) from hash_tbl where p=30; -sum ---- -300 -(1 row) - -step rxy3: select sum(p) from hash_tbl where p=20; -sum ---- -200 -(1 row) - -step wx3: insert into hash_tbl (id, p) - select g, 50 from generate_series(41, 50) g; -step wy4: insert into hash_tbl (id, p) - select g, 60 from generate_series(51, 60) g; -step c1: commit; -step c2: commit; - -starting permutation: rxy4 rxy3 wx3 wy4 c2 c1 -step rxy4: select sum(p) from hash_tbl where p=30; -sum ---- -300 -(1 row) - -step rxy3: select sum(p) from hash_tbl where p=20; -sum ---- -200 -(1 row) - -step wx3: insert into hash_tbl (id, p) - select g, 50 from generate_series(41, 50) g; -step wy4: insert into hash_tbl (id, p) - select g, 60 from generate_series(51, 60) g; -step c2: commit; -step c1: commit; - -starting permutation: rxy4 rxy3 wy4 wx3 c1 c2 -step rxy4: select sum(p) from hash_tbl where p=30; -sum ---- -300 -(1 row) - -step rxy3: select sum(p) from hash_tbl where p=20; -sum ---- -200 -(1 row) - -step wy4: insert into hash_tbl (id, p) - select g, 60 from generate_series(51, 60) g; -step wx3: insert into hash_tbl (id, p) - select g, 50 from generate_series(41, 50) g; -step c1: commit; -step c2: commit; - -starting permutation: rxy4 rxy3 wy4 wx3 c2 c1 -step rxy4: select sum(p) from hash_tbl where p=30; -sum ---- -300 -(1 row) - -step rxy3: select sum(p) from hash_tbl where p=20; -sum ---- -200 -(1 row) - -step wy4: insert into hash_tbl (id, p) - select g, 60 from generate_series(51, 60) g; -step wx3: insert into hash_tbl (id, p) - select g, 50 from generate_series(41, 50) g; -step c2: commit; -step c1: commit; - -starting permutation: rxy4 rxy3 wy4 c2 wx3 c1 -step rxy4: select sum(p) from hash_tbl where p=30; -sum ---- -300 -(1 row) - -step rxy3: select sum(p) from hash_tbl where p=20; -sum ---- -200 -(1 row) - -step wy4: insert into hash_tbl (id, p) - select g, 60 from generate_series(51, 60) g; -step c2: commit; -step wx3: insert into hash_tbl (id, p) - select g, 50 from generate_series(41, 50) g; -step c1: commit; - -starting permutation: rxy4 wy4 rxy3 wx3 c1 c2 -step rxy4: select sum(p) from hash_tbl where p=30; -sum ---- -300 -(1 row) - -step wy4: insert into hash_tbl (id, p) - select g, 60 from generate_series(51, 60) g; -step rxy3: select sum(p) from hash_tbl where p=20; -sum ---- -200 -(1 row) - -step wx3: insert into hash_tbl (id, p) - select g, 50 from generate_series(41, 50) g; -step c1: commit; -step c2: commit; - -starting permutation: rxy4 wy4 rxy3 wx3 c2 c1 -step rxy4: select sum(p) from hash_tbl where p=30; -sum ---- -300 -(1 row) - -step wy4: insert into hash_tbl (id, p) - select g, 60 from generate_series(51, 60) g; -step rxy3: select sum(p) from hash_tbl where p=20; -sum ---- -200 -(1 row) - -step wx3: insert into hash_tbl (id, p) - select g, 50 from generate_series(41, 50) g; -step c2: commit; -step c1: commit; - -starting permutation: rxy4 wy4 rxy3 c2 wx3 c1 -step rxy4: select sum(p) from hash_tbl where p=30; -sum ---- -300 -(1 row) - -step wy4: insert into hash_tbl (id, p) - select g, 60 from generate_series(51, 60) g; -step rxy3: select sum(p) from hash_tbl where p=20; -sum ---- -200 -(1 row) - -step c2: commit; -step wx3: insert into hash_tbl (id, p) - select g, 50 from generate_series(41, 50) g; -step c1: commit; +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/predicate-gist.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/predicate-gist.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/predicate-gist.out 2025-08-23 05:04:11.948967606 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/predicate-gist.out 2025-08-23 05:09:27.567432730 +0000 @@ -1,819 +1,3 @@ Parsed test spec with 2 sessions - -starting permutation: rxy1 wx1 c1 rxy2 wy2 c2 -step rxy1: select sum(p[0]) from gist_point_tbl where p << point(2500, 2500); - sum ------- -311250 -(1 row) - -step wx1: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(15, 20) g; -step c1: commit; -step rxy2: select sum(p[0]) from gist_point_tbl where p >> point(7500,7500); - sum -------- -2233750 -(1 row) - -step wy2: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(1, 5) g; -step c2: commit; - -starting permutation: rxy2 wy2 c2 rxy1 wx1 c1 -step rxy2: select sum(p[0]) from gist_point_tbl where p >> point(7500,7500); - sum -------- -2188750 -(1 row) - -step wy2: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(1, 5) g; -step c2: commit; -step rxy1: select sum(p[0]) from gist_point_tbl where p << point(2500, 2500); - sum ------- -316250 -(1 row) - -step wx1: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(15, 20) g; -step c1: commit; - -starting permutation: rxy3 wx3 c1 rxy4 wy4 c2 -step rxy3: select sum(p[0]) from gist_point_tbl where p >> point(6000,6000); - sum -------- -3202000 -(1 row) - -step wx3: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(12, 18) g; -step c1: commit; -step rxy4: select sum(p[0]) from gist_point_tbl where p << point(1000,1000); - sum ------ -49500 -(1 row) - -step wy4: insert into gist_point_tbl (id, p) - select g, point(g*50, g*50) from generate_series(1, 20) g; -step c2: commit; - -starting permutation: rxy4 wy4 c2 rxy3 wx3 c1 -step rxy4: select sum(p[0]) from gist_point_tbl where p << point(1000,1000); - sum ------ -49500 -(1 row) - -step wy4: insert into gist_point_tbl (id, p) - select g, point(g*50, g*50) from generate_series(1, 20) g; -step c2: commit; -step rxy3: select sum(p[0]) from gist_point_tbl where p >> point(6000,6000); - sum -------- -3202000 -(1 row) - -step wx3: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(12, 18) g; -step c1: commit; - -starting permutation: rxy1 wx1 rxy2 c1 wy2 c2 -step rxy1: select sum(p[0]) from gist_point_tbl where p << point(2500, 2500); - sum ------- -311250 -(1 row) - -step wx1: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(15, 20) g; -step rxy2: select sum(p[0]) from gist_point_tbl where p >> point(7500,7500); - sum -------- -2188750 -(1 row) - -step c1: commit; -step wy2: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(1, 5) g; -ERROR: could not serialize access due to read/write dependencies among transactions -step c2: commit; - -starting permutation: rxy1 wx1 rxy2 wy2 c1 c2 -step rxy1: select sum(p[0]) from gist_point_tbl where p << point(2500, 2500); - sum ------- -311250 -(1 row) - -step wx1: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(15, 20) g; -step rxy2: select sum(p[0]) from gist_point_tbl where p >> point(7500,7500); - sum -------- -2188750 -(1 row) - -step wy2: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(1, 5) g; -step c1: commit; -step c2: commit; -ERROR: could not serialize access due to read/write dependencies among transactions - -starting permutation: rxy1 wx1 rxy2 wy2 c2 c1 -step rxy1: select sum(p[0]) from gist_point_tbl where p << point(2500, 2500); - sum ------- -311250 -(1 row) - -step wx1: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(15, 20) g; -step rxy2: select sum(p[0]) from gist_point_tbl where p >> point(7500,7500); - sum -------- -2188750 -(1 row) - -step wy2: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(1, 5) g; -step c2: commit; -step c1: commit; -ERROR: could not serialize access due to read/write dependencies among transactions - -starting permutation: rxy1 rxy2 wx1 c1 wy2 c2 -step rxy1: select sum(p[0]) from gist_point_tbl where p << point(2500, 2500); - sum ------- -311250 -(1 row) - -step rxy2: select sum(p[0]) from gist_point_tbl where p >> point(7500,7500); - sum -------- -2188750 -(1 row) - -step wx1: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(15, 20) g; -step c1: commit; -step wy2: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(1, 5) g; -ERROR: could not serialize access due to read/write dependencies among transactions -step c2: commit; - -starting permutation: rxy1 rxy2 wx1 wy2 c1 c2 -step rxy1: select sum(p[0]) from gist_point_tbl where p << point(2500, 2500); - sum ------- -311250 -(1 row) - -step rxy2: select sum(p[0]) from gist_point_tbl where p >> point(7500,7500); - sum -------- -2188750 -(1 row) - -step wx1: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(15, 20) g; -step wy2: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(1, 5) g; -step c1: commit; -step c2: commit; -ERROR: could not serialize access due to read/write dependencies among transactions - -starting permutation: rxy1 rxy2 wx1 wy2 c2 c1 -step rxy1: select sum(p[0]) from gist_point_tbl where p << point(2500, 2500); - sum ------- -311250 -(1 row) - -step rxy2: select sum(p[0]) from gist_point_tbl where p >> point(7500,7500); - sum -------- -2188750 -(1 row) - -step wx1: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(15, 20) g; -step wy2: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(1, 5) g; -step c2: commit; -step c1: commit; -ERROR: could not serialize access due to read/write dependencies among transactions - -starting permutation: rxy1 rxy2 wy2 wx1 c1 c2 -step rxy1: select sum(p[0]) from gist_point_tbl where p << point(2500, 2500); - sum ------- -311250 -(1 row) - -step rxy2: select sum(p[0]) from gist_point_tbl where p >> point(7500,7500); - sum -------- -2188750 -(1 row) - -step wy2: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(1, 5) g; -step wx1: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(15, 20) g; -step c1: commit; -step c2: commit; -ERROR: could not serialize access due to read/write dependencies among transactions - -starting permutation: rxy1 rxy2 wy2 wx1 c2 c1 -step rxy1: select sum(p[0]) from gist_point_tbl where p << point(2500, 2500); - sum ------- -311250 -(1 row) - -step rxy2: select sum(p[0]) from gist_point_tbl where p >> point(7500,7500); - sum -------- -2188750 -(1 row) - -step wy2: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(1, 5) g; -step wx1: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(15, 20) g; -step c2: commit; -step c1: commit; -ERROR: could not serialize access due to read/write dependencies among transactions - -starting permutation: rxy1 rxy2 wy2 c2 wx1 c1 -step rxy1: select sum(p[0]) from gist_point_tbl where p << point(2500, 2500); - sum ------- -311250 -(1 row) - -step rxy2: select sum(p[0]) from gist_point_tbl where p >> point(7500,7500); - sum -------- -2188750 -(1 row) - -step wy2: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(1, 5) g; -step c2: commit; -step wx1: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(15, 20) g; -ERROR: could not serialize access due to read/write dependencies among transactions -step c1: commit; - -starting permutation: rxy2 rxy1 wx1 c1 wy2 c2 -step rxy2: select sum(p[0]) from gist_point_tbl where p >> point(7500,7500); - sum -------- -2188750 -(1 row) - -step rxy1: select sum(p[0]) from gist_point_tbl where p << point(2500, 2500); - sum ------- -311250 -(1 row) - -step wx1: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(15, 20) g; -step c1: commit; -step wy2: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(1, 5) g; -ERROR: could not serialize access due to read/write dependencies among transactions -step c2: commit; - -starting permutation: rxy2 rxy1 wx1 wy2 c1 c2 -step rxy2: select sum(p[0]) from gist_point_tbl where p >> point(7500,7500); - sum -------- -2188750 -(1 row) - -step rxy1: select sum(p[0]) from gist_point_tbl where p << point(2500, 2500); - sum ------- -311250 -(1 row) - -step wx1: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(15, 20) g; -step wy2: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(1, 5) g; -step c1: commit; -step c2: commit; -ERROR: could not serialize access due to read/write dependencies among transactions - -starting permutation: rxy2 rxy1 wx1 wy2 c2 c1 -step rxy2: select sum(p[0]) from gist_point_tbl where p >> point(7500,7500); - sum -------- -2188750 -(1 row) - -step rxy1: select sum(p[0]) from gist_point_tbl where p << point(2500, 2500); - sum ------- -311250 -(1 row) - -step wx1: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(15, 20) g; -step wy2: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(1, 5) g; -step c2: commit; -step c1: commit; -ERROR: could not serialize access due to read/write dependencies among transactions - -starting permutation: rxy2 rxy1 wy2 wx1 c1 c2 -step rxy2: select sum(p[0]) from gist_point_tbl where p >> point(7500,7500); - sum -------- -2188750 -(1 row) - -step rxy1: select sum(p[0]) from gist_point_tbl where p << point(2500, 2500); - sum ------- -311250 -(1 row) - -step wy2: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(1, 5) g; -step wx1: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(15, 20) g; -step c1: commit; -step c2: commit; -ERROR: could not serialize access due to read/write dependencies among transactions - -starting permutation: rxy2 rxy1 wy2 wx1 c2 c1 -step rxy2: select sum(p[0]) from gist_point_tbl where p >> point(7500,7500); - sum -------- -2188750 -(1 row) - -step rxy1: select sum(p[0]) from gist_point_tbl where p << point(2500, 2500); - sum ------- -311250 -(1 row) - -step wy2: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(1, 5) g; -step wx1: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(15, 20) g; -step c2: commit; -step c1: commit; -ERROR: could not serialize access due to read/write dependencies among transactions - -starting permutation: rxy2 rxy1 wy2 c2 wx1 c1 -step rxy2: select sum(p[0]) from gist_point_tbl where p >> point(7500,7500); - sum -------- -2188750 -(1 row) - -step rxy1: select sum(p[0]) from gist_point_tbl where p << point(2500, 2500); - sum ------- -311250 -(1 row) - -step wy2: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(1, 5) g; -step c2: commit; -step wx1: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(15, 20) g; -ERROR: could not serialize access due to read/write dependencies among transactions -step c1: commit; - -starting permutation: rxy2 wy2 rxy1 wx1 c1 c2 -step rxy2: select sum(p[0]) from gist_point_tbl where p >> point(7500,7500); - sum -------- -2188750 -(1 row) - -step wy2: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(1, 5) g; -step rxy1: select sum(p[0]) from gist_point_tbl where p << point(2500, 2500); - sum ------- -311250 -(1 row) - -step wx1: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(15, 20) g; -step c1: commit; -step c2: commit; -ERROR: could not serialize access due to read/write dependencies among transactions - -starting permutation: rxy2 wy2 rxy1 wx1 c2 c1 -step rxy2: select sum(p[0]) from gist_point_tbl where p >> point(7500,7500); - sum -------- -2188750 -(1 row) - -step wy2: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(1, 5) g; -step rxy1: select sum(p[0]) from gist_point_tbl where p << point(2500, 2500); - sum ------- -311250 -(1 row) - -step wx1: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(15, 20) g; -step c2: commit; -step c1: commit; -ERROR: could not serialize access due to read/write dependencies among transactions - -starting permutation: rxy2 wy2 rxy1 c2 wx1 c1 -step rxy2: select sum(p[0]) from gist_point_tbl where p >> point(7500,7500); - sum -------- -2188750 -(1 row) - -step wy2: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(1, 5) g; -step rxy1: select sum(p[0]) from gist_point_tbl where p << point(2500, 2500); - sum ------- -311250 -(1 row) - -step c2: commit; -step wx1: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(15, 20) g; -ERROR: could not serialize access due to read/write dependencies among transactions -step c1: commit; - -starting permutation: rxy3 wx3 rxy4 c1 wy4 c2 -step rxy3: select sum(p[0]) from gist_point_tbl where p >> point(6000,6000); - sum -------- -3202000 -(1 row) - -step wx3: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(12, 18) g; -step rxy4: select sum(p[0]) from gist_point_tbl where p << point(1000,1000); - sum ------ -49500 -(1 row) - -step c1: commit; -step wy4: insert into gist_point_tbl (id, p) - select g, point(g*50, g*50) from generate_series(1, 20) g; -step c2: commit; - -starting permutation: rxy3 wx3 rxy4 wy4 c1 c2 -step rxy3: select sum(p[0]) from gist_point_tbl where p >> point(6000,6000); - sum -------- -3202000 -(1 row) - -step wx3: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(12, 18) g; -step rxy4: select sum(p[0]) from gist_point_tbl where p << point(1000,1000); - sum ------ -49500 -(1 row) - -step wy4: insert into gist_point_tbl (id, p) - select g, point(g*50, g*50) from generate_series(1, 20) g; -step c1: commit; -step c2: commit; - -starting permutation: rxy3 wx3 rxy4 wy4 c2 c1 -step rxy3: select sum(p[0]) from gist_point_tbl where p >> point(6000,6000); - sum -------- -3202000 -(1 row) - -step wx3: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(12, 18) g; -step rxy4: select sum(p[0]) from gist_point_tbl where p << point(1000,1000); - sum ------ -49500 -(1 row) - -step wy4: insert into gist_point_tbl (id, p) - select g, point(g*50, g*50) from generate_series(1, 20) g; -step c2: commit; -step c1: commit; - -starting permutation: rxy3 rxy4 wx3 c1 wy4 c2 -step rxy3: select sum(p[0]) from gist_point_tbl where p >> point(6000,6000); - sum -------- -3202000 -(1 row) - -step rxy4: select sum(p[0]) from gist_point_tbl where p << point(1000,1000); - sum ------ -49500 -(1 row) - -step wx3: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(12, 18) g; -step c1: commit; -step wy4: insert into gist_point_tbl (id, p) - select g, point(g*50, g*50) from generate_series(1, 20) g; -step c2: commit; - -starting permutation: rxy3 rxy4 wx3 wy4 c1 c2 -step rxy3: select sum(p[0]) from gist_point_tbl where p >> point(6000,6000); - sum -------- -3202000 -(1 row) - -step rxy4: select sum(p[0]) from gist_point_tbl where p << point(1000,1000); - sum ------ -49500 -(1 row) - -step wx3: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(12, 18) g; -step wy4: insert into gist_point_tbl (id, p) - select g, point(g*50, g*50) from generate_series(1, 20) g; -step c1: commit; -step c2: commit; - -starting permutation: rxy3 rxy4 wx3 wy4 c2 c1 -step rxy3: select sum(p[0]) from gist_point_tbl where p >> point(6000,6000); - sum -------- -3202000 -(1 row) - -step rxy4: select sum(p[0]) from gist_point_tbl where p << point(1000,1000); - sum ------ -49500 -(1 row) - -step wx3: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(12, 18) g; -step wy4: insert into gist_point_tbl (id, p) - select g, point(g*50, g*50) from generate_series(1, 20) g; -step c2: commit; -step c1: commit; - -starting permutation: rxy3 rxy4 wy4 wx3 c1 c2 -step rxy3: select sum(p[0]) from gist_point_tbl where p >> point(6000,6000); - sum -------- -3202000 -(1 row) - -step rxy4: select sum(p[0]) from gist_point_tbl where p << point(1000,1000); - sum ------ -49500 -(1 row) - -step wy4: insert into gist_point_tbl (id, p) - select g, point(g*50, g*50) from generate_series(1, 20) g; -step wx3: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(12, 18) g; -step c1: commit; -step c2: commit; - -starting permutation: rxy3 rxy4 wy4 wx3 c2 c1 -step rxy3: select sum(p[0]) from gist_point_tbl where p >> point(6000,6000); - sum -------- -3202000 -(1 row) - -step rxy4: select sum(p[0]) from gist_point_tbl where p << point(1000,1000); - sum ------ -49500 -(1 row) - -step wy4: insert into gist_point_tbl (id, p) - select g, point(g*50, g*50) from generate_series(1, 20) g; -step wx3: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(12, 18) g; -step c2: commit; -step c1: commit; - -starting permutation: rxy3 rxy4 wy4 c2 wx3 c1 -step rxy3: select sum(p[0]) from gist_point_tbl where p >> point(6000,6000); - sum -------- -3202000 -(1 row) - -step rxy4: select sum(p[0]) from gist_point_tbl where p << point(1000,1000); - sum ------ -49500 -(1 row) - -step wy4: insert into gist_point_tbl (id, p) - select g, point(g*50, g*50) from generate_series(1, 20) g; -step c2: commit; -step wx3: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(12, 18) g; -step c1: commit; - -starting permutation: rxy4 rxy3 wx3 c1 wy4 c2 -step rxy4: select sum(p[0]) from gist_point_tbl where p << point(1000,1000); - sum ------ -49500 -(1 row) - -step rxy3: select sum(p[0]) from gist_point_tbl where p >> point(6000,6000); - sum -------- -3202000 -(1 row) - -step wx3: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(12, 18) g; -step c1: commit; -step wy4: insert into gist_point_tbl (id, p) - select g, point(g*50, g*50) from generate_series(1, 20) g; -step c2: commit; - -starting permutation: rxy4 rxy3 wx3 wy4 c1 c2 -step rxy4: select sum(p[0]) from gist_point_tbl where p << point(1000,1000); - sum ------ -49500 -(1 row) - -step rxy3: select sum(p[0]) from gist_point_tbl where p >> point(6000,6000); - sum -------- -3202000 -(1 row) - -step wx3: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(12, 18) g; -step wy4: insert into gist_point_tbl (id, p) - select g, point(g*50, g*50) from generate_series(1, 20) g; -step c1: commit; -step c2: commit; - -starting permutation: rxy4 rxy3 wx3 wy4 c2 c1 -step rxy4: select sum(p[0]) from gist_point_tbl where p << point(1000,1000); - sum ------ -49500 -(1 row) - -step rxy3: select sum(p[0]) from gist_point_tbl where p >> point(6000,6000); - sum -------- -3202000 -(1 row) - -step wx3: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(12, 18) g; -step wy4: insert into gist_point_tbl (id, p) - select g, point(g*50, g*50) from generate_series(1, 20) g; -step c2: commit; -step c1: commit; - -starting permutation: rxy4 rxy3 wy4 wx3 c1 c2 -step rxy4: select sum(p[0]) from gist_point_tbl where p << point(1000,1000); - sum ------ -49500 -(1 row) - -step rxy3: select sum(p[0]) from gist_point_tbl where p >> point(6000,6000); - sum -------- -3202000 -(1 row) - -step wy4: insert into gist_point_tbl (id, p) - select g, point(g*50, g*50) from generate_series(1, 20) g; -step wx3: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(12, 18) g; -step c1: commit; -step c2: commit; - -starting permutation: rxy4 rxy3 wy4 wx3 c2 c1 -step rxy4: select sum(p[0]) from gist_point_tbl where p << point(1000,1000); - sum ------ -49500 -(1 row) - -step rxy3: select sum(p[0]) from gist_point_tbl where p >> point(6000,6000); - sum -------- -3202000 -(1 row) - -step wy4: insert into gist_point_tbl (id, p) - select g, point(g*50, g*50) from generate_series(1, 20) g; -step wx3: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(12, 18) g; -step c2: commit; -step c1: commit; - -starting permutation: rxy4 rxy3 wy4 c2 wx3 c1 -step rxy4: select sum(p[0]) from gist_point_tbl where p << point(1000,1000); - sum ------ -49500 -(1 row) - -step rxy3: select sum(p[0]) from gist_point_tbl where p >> point(6000,6000); - sum -------- -3202000 -(1 row) - -step wy4: insert into gist_point_tbl (id, p) - select g, point(g*50, g*50) from generate_series(1, 20) g; -step c2: commit; -step wx3: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(12, 18) g; -step c1: commit; - -starting permutation: rxy4 wy4 rxy3 wx3 c1 c2 -step rxy4: select sum(p[0]) from gist_point_tbl where p << point(1000,1000); - sum ------ -49500 -(1 row) - -step wy4: insert into gist_point_tbl (id, p) - select g, point(g*50, g*50) from generate_series(1, 20) g; -step rxy3: select sum(p[0]) from gist_point_tbl where p >> point(6000,6000); - sum -------- -3202000 -(1 row) - -step wx3: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(12, 18) g; -step c1: commit; -step c2: commit; - -starting permutation: rxy4 wy4 rxy3 wx3 c2 c1 -step rxy4: select sum(p[0]) from gist_point_tbl where p << point(1000,1000); - sum ------ -49500 -(1 row) - -step wy4: insert into gist_point_tbl (id, p) - select g, point(g*50, g*50) from generate_series(1, 20) g; -step rxy3: select sum(p[0]) from gist_point_tbl where p >> point(6000,6000); - sum -------- -3202000 -(1 row) - -step wx3: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(12, 18) g; -step c2: commit; -step c1: commit; - -starting permutation: rxy4 wy4 rxy3 c2 wx3 c1 -step rxy4: select sum(p[0]) from gist_point_tbl where p << point(1000,1000); - sum ------ -49500 -(1 row) - -step wy4: insert into gist_point_tbl (id, p) - select g, point(g*50, g*50) from generate_series(1, 20) g; -step rxy3: select sum(p[0]) from gist_point_tbl where p >> point(6000,6000); - sum -------- -3202000 -(1 row) - -step c2: commit; -step wx3: insert into gist_point_tbl (id, p) - select g, point(g*500, g*500) from generate_series(12, 18) g; -step c1: commit; +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/predicate-gin.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/predicate-gin.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/predicate-gin.out 2025-08-23 05:04:11.948967606 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/predicate-gin.out 2025-08-23 05:09:27.691432427 +0000 @@ -1,581 +1,3 @@ Parsed test spec with 3 sessions - -starting permutation: ra1 ro2 wo1 c1 wa2 c2 -step ra1: select * from gin_tbl where p @> array[1] limit 1; -p ---- -{1} -(1 row) - -step ro2: select count(*) from other_tbl; -count ------ - 0 -(1 row) - -step wo1: insert into other_tbl values (1); -step c1: commit; -step wa2: insert into gin_tbl values (array[1]); -ERROR: could not serialize access due to read/write dependencies among transactions -step c2: commit; - -starting permutation: ro2 ra1 wo1 c1 wa2 c2 -step ro2: select count(*) from other_tbl; -count ------ - 0 -(1 row) - -step ra1: select * from gin_tbl where p @> array[1] limit 1; -p ---- -{1} -(1 row) - -step wo1: insert into other_tbl values (1); -step c1: commit; -step wa2: insert into gin_tbl values (array[1]); -ERROR: could not serialize access due to read/write dependencies among transactions -step c2: commit; - -starting permutation: ro2 ra1 wo1 wa2 c1 c2 -step ro2: select count(*) from other_tbl; -count ------ - 0 -(1 row) - -step ra1: select * from gin_tbl where p @> array[1] limit 1; -p ---- -{1} -(1 row) - -step wo1: insert into other_tbl values (1); -step wa2: insert into gin_tbl values (array[1]); -step c1: commit; -step c2: commit; -ERROR: could not serialize access due to read/write dependencies among transactions - -starting permutation: ra1 ro2 wa2 wo1 c1 c2 -step ra1: select * from gin_tbl where p @> array[1] limit 1; -p ---- -{1} -(1 row) - -step ro2: select count(*) from other_tbl; -count ------ - 0 -(1 row) - -step wa2: insert into gin_tbl values (array[1]); -step wo1: insert into other_tbl values (1); -step c1: commit; -step c2: commit; -ERROR: could not serialize access due to read/write dependencies among transactions - -starting permutation: rb1 ro2 wo1 c1 wb2 c2 -step rb1: select count(*) from gin_tbl where p @> array[2]; -count ------ - 1 -(1 row) - -step ro2: select count(*) from other_tbl; -count ------ - 0 -(1 row) - -step wo1: insert into other_tbl values (1); -step c1: commit; -step wb2: insert into gin_tbl values (array[2]); -ERROR: could not serialize access due to read/write dependencies among transactions -step c2: commit; - -starting permutation: ro2 rb1 wo1 c1 wb2 c2 -step ro2: select count(*) from other_tbl; -count ------ - 0 -(1 row) - -step rb1: select count(*) from gin_tbl where p @> array[2]; -count ------ - 1 -(1 row) - -step wo1: insert into other_tbl values (1); -step c1: commit; -step wb2: insert into gin_tbl values (array[2]); -ERROR: could not serialize access due to read/write dependencies among transactions -step c2: commit; - -starting permutation: ro2 rb1 wo1 wb2 c1 c2 -step ro2: select count(*) from other_tbl; -count ------ - 0 -(1 row) - -step rb1: select count(*) from gin_tbl where p @> array[2]; -count ------ - 1 -(1 row) - -step wo1: insert into other_tbl values (1); -step wb2: insert into gin_tbl values (array[2]); -step c1: commit; -step c2: commit; -ERROR: could not serialize access due to read/write dependencies among transactions - -starting permutation: rb1 ro2 wb2 wo1 c1 c2 -step rb1: select count(*) from gin_tbl where p @> array[2]; -count ------ - 1 -(1 row) - -step ro2: select count(*) from other_tbl; -count ------ - 0 -(1 row) - -step wb2: insert into gin_tbl values (array[2]); -step wo1: insert into other_tbl values (1); -step c1: commit; -step c2: commit; -ERROR: could not serialize access due to read/write dependencies among transactions - -starting permutation: rc1 ro2 wo1 c1 wc2 c2 -step rc1: select count(*) from gin_tbl where p @> array[800]; -count ------ - 1 -(1 row) - -step ro2: select count(*) from other_tbl; -count ------ - 0 -(1 row) - -step wo1: insert into other_tbl values (1); -step c1: commit; -step wc2: insert into gin_tbl values (array[800]); -ERROR: could not serialize access due to read/write dependencies among transactions -step c2: commit; - -starting permutation: ro2 rc1 wo1 c1 wc2 c2 -step ro2: select count(*) from other_tbl; -count ------ - 0 -(1 row) - -step rc1: select count(*) from gin_tbl where p @> array[800]; -count ------ - 1 -(1 row) - -step wo1: insert into other_tbl values (1); -step c1: commit; -step wc2: insert into gin_tbl values (array[800]); -ERROR: could not serialize access due to read/write dependencies among transactions -step c2: commit; - -starting permutation: ro2 rc1 wo1 wc2 c1 c2 -step ro2: select count(*) from other_tbl; -count ------ - 0 -(1 row) - -step rc1: select count(*) from gin_tbl where p @> array[800]; -count ------ - 1 -(1 row) - -step wo1: insert into other_tbl values (1); -step wc2: insert into gin_tbl values (array[800]); -step c1: commit; -step c2: commit; -ERROR: could not serialize access due to read/write dependencies among transactions - -starting permutation: rc1 ro2 wc2 wo1 c1 c2 -step rc1: select count(*) from gin_tbl where p @> array[800]; -count ------ - 1 -(1 row) - -step ro2: select count(*) from other_tbl; -count ------ - 0 -(1 row) - -step wc2: insert into gin_tbl values (array[800]); -step wo1: insert into other_tbl values (1); -step c1: commit; -step c2: commit; -ERROR: could not serialize access due to read/write dependencies among transactions - -starting permutation: ra1 ro2 wo1 c1 wb2 c2 -step ra1: select * from gin_tbl where p @> array[1] limit 1; -p ---- -{1} -(1 row) - -step ro2: select count(*) from other_tbl; -count ------ - 0 -(1 row) - -step wo1: insert into other_tbl values (1); -step c1: commit; -step wb2: insert into gin_tbl values (array[2]); -step c2: commit; - -starting permutation: ro2 ra1 wo1 c1 wc2 c2 -step ro2: select count(*) from other_tbl; -count ------ - 0 -(1 row) - -step ra1: select * from gin_tbl where p @> array[1] limit 1; -p ---- -{1} -(1 row) - -step wo1: insert into other_tbl values (1); -step c1: commit; -step wc2: insert into gin_tbl values (array[800]); -step c2: commit; - -starting permutation: ro2 rb1 wo1 wa2 c1 c2 -step ro2: select count(*) from other_tbl; -count ------ - 0 -(1 row) - -step rb1: select count(*) from gin_tbl where p @> array[2]; -count ------ - 1 -(1 row) - -step wo1: insert into other_tbl values (1); -step wa2: insert into gin_tbl values (array[1]); -step c1: commit; -step c2: commit; - -starting permutation: rc1 ro2 wa2 wo1 c1 c2 -step rc1: select count(*) from gin_tbl where p @> array[800]; -count ------ - 1 -(1 row) - -step ro2: select count(*) from other_tbl; -count ------ - 0 -(1 row) - -step wa2: insert into gin_tbl values (array[1]); -step wo1: insert into other_tbl values (1); -step c1: commit; -step c2: commit; - -starting permutation: rb1 ro2 wo1 c1 wa2 c2 -step rb1: select count(*) from gin_tbl where p @> array[2]; -count ------ - 1 -(1 row) - -step ro2: select count(*) from other_tbl; -count ------ - 0 -(1 row) - -step wo1: insert into other_tbl values (1); -step c1: commit; -step wa2: insert into gin_tbl values (array[1]); -step c2: commit; - -starting permutation: ro2 rb1 wo1 c1 wc2 c2 -step ro2: select count(*) from other_tbl; -count ------ - 0 -(1 row) - -step rb1: select count(*) from gin_tbl where p @> array[2]; -count ------ - 1 -(1 row) - -step wo1: insert into other_tbl values (1); -step c1: commit; -step wc2: insert into gin_tbl values (array[800]); -step c2: commit; - -starting permutation: ro2 ra1 wo1 wb2 c1 c2 -step ro2: select count(*) from other_tbl; -count ------ - 0 -(1 row) - -step ra1: select * from gin_tbl where p @> array[1] limit 1; -p ---- -{1} -(1 row) - -step wo1: insert into other_tbl values (1); -step wb2: insert into gin_tbl values (array[2]); -step c1: commit; -step c2: commit; - -starting permutation: rc1 ro2 wb2 wo1 c1 c2 -step rc1: select count(*) from gin_tbl where p @> array[800]; -count ------ - 1 -(1 row) - -step ro2: select count(*) from other_tbl; -count ------ - 0 -(1 row) - -step wb2: insert into gin_tbl values (array[2]); -step wo1: insert into other_tbl values (1); -step c1: commit; -step c2: commit; - -starting permutation: rc1 ro2 wo1 c1 wa2 c2 -step rc1: select count(*) from gin_tbl where p @> array[800]; -count ------ - 1 -(1 row) - -step ro2: select count(*) from other_tbl; -count ------ - 0 -(1 row) - -step wo1: insert into other_tbl values (1); -step c1: commit; -step wa2: insert into gin_tbl values (array[1]); -step c2: commit; - -starting permutation: ro2 rc1 wo1 c1 wb2 c2 -step ro2: select count(*) from other_tbl; -count ------ - 0 -(1 row) - -step rc1: select count(*) from gin_tbl where p @> array[800]; -count ------ - 1 -(1 row) - -step wo1: insert into other_tbl values (1); -step c1: commit; -step wb2: insert into gin_tbl values (array[2]); -step c2: commit; - -starting permutation: ro2 ra1 wo1 wc2 c1 c2 -step ro2: select count(*) from other_tbl; -count ------ - 0 -(1 row) - -step ra1: select * from gin_tbl where p @> array[1] limit 1; -p ---- -{1} -(1 row) - -step wo1: insert into other_tbl values (1); -step wc2: insert into gin_tbl values (array[800]); -step c1: commit; -step c2: commit; - -starting permutation: rb1 ro2 wc2 wo1 c1 c2 -step rb1: select count(*) from gin_tbl where p @> array[2]; -count ------ - 1 -(1 row) - -step ro2: select count(*) from other_tbl; -count ------ - 0 -(1 row) - -step wc2: insert into gin_tbl values (array[800]); -step wo1: insert into other_tbl values (1); -step c1: commit; -step c2: commit; - -starting permutation: fu ra1 ro2 wo1 c1 wa2 c2 -step fu: alter index ginidx set (fastupdate = on); -step ra1: select * from gin_tbl where p @> array[1] limit 1; -p ---- -{1} -(1 row) - -step ro2: select count(*) from other_tbl; -count ------ - 0 -(1 row) - -step wo1: insert into other_tbl values (1); -step c1: commit; -step wa2: insert into gin_tbl values (array[1]); -ERROR: could not serialize access due to read/write dependencies among transactions -step c2: commit; - -starting permutation: fu ra1 ro2 wo1 c1 wb2 c2 -step fu: alter index ginidx set (fastupdate = on); -step ra1: select * from gin_tbl where p @> array[1] limit 1; -p ---- -{1} -(1 row) - -step ro2: select count(*) from other_tbl; -count ------ - 0 -(1 row) - -step wo1: insert into other_tbl values (1); -step c1: commit; -step wb2: insert into gin_tbl values (array[2]); -ERROR: could not serialize access due to read/write dependencies among transactions -step c2: commit; - -starting permutation: ra1 ro2 wo1 c1 fu wa2 c2 -step ra1: select * from gin_tbl where p @> array[1] limit 1; -p ---- -{1} -(1 row) - -step ro2: select count(*) from other_tbl; -count ------ - 0 -(1 row) - -step wo1: insert into other_tbl values (1); -step c1: commit; -step fu: alter index ginidx set (fastupdate = on); -step wa2: insert into gin_tbl values (array[1]); -ERROR: could not serialize access due to read/write dependencies among transactions -step c2: commit; - -starting permutation: rd1 ro2 wo1 c1 wd2 c2 -step rd1: select count(*) from gin_tbl where p @> array[2000]; -count ------ - 0 -(1 row) - -step ro2: select count(*) from other_tbl; -count ------ - 0 -(1 row) - -step wo1: insert into other_tbl values (1); -step c1: commit; -step wd2: insert into gin_tbl values (array[2000]); -ERROR: could not serialize access due to read/write dependencies among transactions -step c2: commit; - -starting permutation: ro2 rd1 wo1 c1 wd2 c2 -step ro2: select count(*) from other_tbl; -count ------ - 0 -(1 row) - -step rd1: select count(*) from gin_tbl where p @> array[2000]; -count ------ - 0 -(1 row) - -step wo1: insert into other_tbl values (1); -step c1: commit; -step wd2: insert into gin_tbl values (array[2000]); -ERROR: could not serialize access due to read/write dependencies among transactions -step c2: commit; - -starting permutation: ro2 rd1 wo1 wd2 c1 c2 -step ro2: select count(*) from other_tbl; -count ------ - 0 -(1 row) - -step rd1: select count(*) from gin_tbl where p @> array[2000]; -count ------ - 0 -(1 row) - -step wo1: insert into other_tbl values (1); -step wd2: insert into gin_tbl values (array[2000]); -step c1: commit; -step c2: commit; -ERROR: could not serialize access due to read/write dependencies among transactions - -starting permutation: rd1 ro2 wd2 wo1 c1 c2 -step rd1: select count(*) from gin_tbl where p @> array[2000]; -count ------ - 0 -(1 row) - -step ro2: select count(*) from other_tbl; -count ------ - 0 -(1 row) - -step wd2: insert into gin_tbl values (array[2000]); -step wo1: insert into other_tbl values (1); -step c1: commit; -step c2: commit; -ERROR: could not serialize access due to read/write dependencies among transactions +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/partition-concurrent-attach.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/partition-concurrent-attach.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/partition-concurrent-attach.out 2025-08-23 05:04:11.944972704 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/partition-concurrent-attach.out 2025-08-23 05:09:27.803432152 +0000 @@ -1,55 +1,3 @@ Parsed test spec with 2 sessions - -starting permutation: s1b s1a s2b s2i s1c s2c s2s -step s1b: begin; -step s1a: alter table tpart attach partition tpart_2 for values from (100) to (200); -step s2b: begin; -step s2i: insert into tpart values (110,'xxx'), (120, 'yyy'), (150, 'zzz'); -step s1c: commit; -step s2i: <... completed> -ERROR: new row for relation "tpart_default" violates partition constraint -step s2c: commit; -step s2s: select tableoid::regclass, * from tpart; -tableoid| i|j ---------+---+--- -tpart_2 |110|xxx -tpart_2 |120|yyy -tpart_2 |150|zzz -(3 rows) - - -starting permutation: s1b s1a s2b s2i2 s1c s2c s2s -step s1b: begin; -step s1a: alter table tpart attach partition tpart_2 for values from (100) to (200); -step s2b: begin; -step s2i2: insert into tpart_default (i, j) values (110, 'xxx'), (120, 'yyy'), (150, 'zzz'); -step s1c: commit; -step s2i2: <... completed> -ERROR: new row for relation "tpart_default" violates partition constraint -step s2c: commit; -step s2s: select tableoid::regclass, * from tpart; -tableoid| i|j ---------+---+--- -tpart_2 |110|xxx -tpart_2 |120|yyy -tpart_2 |150|zzz -(3 rows) - - -starting permutation: s1b s2b s2i s1a s2c s1c s2s -step s1b: begin; -step s2b: begin; -step s2i: insert into tpart values (110,'xxx'), (120, 'yyy'), (150, 'zzz'); -step s1a: alter table tpart attach partition tpart_2 for values from (100) to (200); -step s2c: commit; -step s1a: <... completed> -ERROR: updated partition constraint for default partition "tpart_default_default" would be violated by some row -step s1c: commit; -step s2s: select tableoid::regclass, * from tpart; -tableoid | i|j ----------------------+---+--- -tpart_default_default|110|xxx -tpart_default_default|120|yyy -tpart_default_default|150|zzz -(3 rows) - +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/partition-drop-index-locking.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/partition-drop-index-locking.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/partition-drop-index-locking.out 2025-08-23 05:04:11.944972704 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/partition-drop-index-locking.out 2025-08-23 05:09:27.891431938 +0000 @@ -1,100 +1,3 @@ Parsed test spec with 3 sessions - -starting permutation: s1begin s1lock s2begin s2drop s1select s3getlocks s1commit s3getlocks s2commit -step s1begin: BEGIN; -step s1lock: LOCK TABLE part_drop_index_locking_subpart_child IN ACCESS SHARE MODE; -step s2begin: BEGIN; -step s2drop: DROP INDEX part_drop_index_locking_idx; -step s1select: SELECT * FROM part_drop_index_locking_subpart_child; -id --- -(0 rows) - -step s3getlocks: - SELECT s.query, c.relname, l.mode, l.granted - FROM pg_locks l - JOIN pg_class c ON l.relation = c.oid - JOIN pg_stat_activity s ON l.pid = s.pid - WHERE c.relname LIKE 'part_drop_index_locking%' - ORDER BY s.query, c.relname, l.mode, l.granted; - -query |relname |mode |granted -----------------------------------------------------+---------------------------------------------+-------------------+------- -DROP INDEX part_drop_index_locking_idx; |part_drop_index_locking |AccessExclusiveLock|t -DROP INDEX part_drop_index_locking_idx; |part_drop_index_locking_idx |AccessExclusiveLock|t -DROP INDEX part_drop_index_locking_idx; |part_drop_index_locking_subpart |AccessExclusiveLock|t -DROP INDEX part_drop_index_locking_idx; |part_drop_index_locking_subpart_child |AccessExclusiveLock|f -SELECT * FROM part_drop_index_locking_subpart_child;|part_drop_index_locking_subpart_child |AccessShareLock |t -SELECT * FROM part_drop_index_locking_subpart_child;|part_drop_index_locking_subpart_child_id_idx |AccessShareLock |t -SELECT * FROM part_drop_index_locking_subpart_child;|part_drop_index_locking_subpart_child_id_idx1|AccessShareLock |t -(7 rows) - -step s1commit: COMMIT; -step s2drop: <... completed> -step s3getlocks: - SELECT s.query, c.relname, l.mode, l.granted - FROM pg_locks l - JOIN pg_class c ON l.relation = c.oid - JOIN pg_stat_activity s ON l.pid = s.pid - WHERE c.relname LIKE 'part_drop_index_locking%' - ORDER BY s.query, c.relname, l.mode, l.granted; - -query |relname |mode |granted ----------------------------------------+--------------------------------------------+-------------------+------- -DROP INDEX part_drop_index_locking_idx;|part_drop_index_locking |AccessExclusiveLock|t -DROP INDEX part_drop_index_locking_idx;|part_drop_index_locking_idx |AccessExclusiveLock|t -DROP INDEX part_drop_index_locking_idx;|part_drop_index_locking_subpart |AccessExclusiveLock|t -DROP INDEX part_drop_index_locking_idx;|part_drop_index_locking_subpart_child |AccessExclusiveLock|t -DROP INDEX part_drop_index_locking_idx;|part_drop_index_locking_subpart_child_id_idx|AccessExclusiveLock|t -DROP INDEX part_drop_index_locking_idx;|part_drop_index_locking_subpart_id_idx |AccessExclusiveLock|t -(6 rows) - -step s2commit: COMMIT; - -starting permutation: s1begin s1lock s2begin s2dropsub s1select s3getlocks s1commit s3getlocks s2commit -step s1begin: BEGIN; -step s1lock: LOCK TABLE part_drop_index_locking_subpart_child IN ACCESS SHARE MODE; -step s2begin: BEGIN; -step s2dropsub: DROP INDEX part_drop_index_locking_subpart_idx; -step s1select: SELECT * FROM part_drop_index_locking_subpart_child; -id --- -(0 rows) - -step s3getlocks: - SELECT s.query, c.relname, l.mode, l.granted - FROM pg_locks l - JOIN pg_class c ON l.relation = c.oid - JOIN pg_stat_activity s ON l.pid = s.pid - WHERE c.relname LIKE 'part_drop_index_locking%' - ORDER BY s.query, c.relname, l.mode, l.granted; - -query |relname |mode |granted -----------------------------------------------------+---------------------------------------------+-------------------+------- -DROP INDEX part_drop_index_locking_subpart_idx; |part_drop_index_locking_subpart |AccessExclusiveLock|t -DROP INDEX part_drop_index_locking_subpart_idx; |part_drop_index_locking_subpart_child |AccessExclusiveLock|f -DROP INDEX part_drop_index_locking_subpart_idx; |part_drop_index_locking_subpart_idx |AccessExclusiveLock|t -SELECT * FROM part_drop_index_locking_subpart_child;|part_drop_index_locking_subpart_child |AccessShareLock |t -SELECT * FROM part_drop_index_locking_subpart_child;|part_drop_index_locking_subpart_child_id_idx |AccessShareLock |t -SELECT * FROM part_drop_index_locking_subpart_child;|part_drop_index_locking_subpart_child_id_idx1|AccessShareLock |t -(6 rows) - -step s1commit: COMMIT; -step s2dropsub: <... completed> -step s3getlocks: - SELECT s.query, c.relname, l.mode, l.granted - FROM pg_locks l - JOIN pg_class c ON l.relation = c.oid - JOIN pg_stat_activity s ON l.pid = s.pid - WHERE c.relname LIKE 'part_drop_index_locking%' - ORDER BY s.query, c.relname, l.mode, l.granted; - -query |relname |mode |granted ------------------------------------------------+---------------------------------------------+-------------------+------- -DROP INDEX part_drop_index_locking_subpart_idx;|part_drop_index_locking_subpart |AccessExclusiveLock|t -DROP INDEX part_drop_index_locking_subpart_idx;|part_drop_index_locking_subpart_child |AccessExclusiveLock|t -DROP INDEX part_drop_index_locking_subpart_idx;|part_drop_index_locking_subpart_child_id_idx1|AccessExclusiveLock|t -DROP INDEX part_drop_index_locking_subpart_idx;|part_drop_index_locking_subpart_idx |AccessExclusiveLock|t -(4 rows) - -step s2commit: COMMIT; +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/partition-key-update-1.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/partition-key-update-1.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/partition-key-update-1.out 2025-08-23 05:04:11.944972704 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/partition-key-update-1.out 2025-08-23 05:09:27.999431675 +0000 @@ -1,129 +1,3 @@ Parsed test spec with 2 sessions - -starting permutation: s1b s2b s1u s1c s2d s2c -step s1b: BEGIN ISOLATION LEVEL READ COMMITTED; -step s2b: BEGIN ISOLATION LEVEL READ COMMITTED; -step s1u: UPDATE foo SET a=2 WHERE a=1; -step s1c: COMMIT; -step s2d: DELETE FROM foo WHERE a=1; -step s2c: COMMIT; - -starting permutation: s1b s2b s1u s2d s1c s2c -step s1b: BEGIN ISOLATION LEVEL READ COMMITTED; -step s2b: BEGIN ISOLATION LEVEL READ COMMITTED; -step s1u: UPDATE foo SET a=2 WHERE a=1; -step s2d: DELETE FROM foo WHERE a=1; -step s1c: COMMIT; -step s2d: <... completed> -ERROR: tuple to be locked was already moved to another partition due to concurrent update -step s2c: COMMIT; - -starting permutation: s1b s2b s1u s2u s1c s2c -step s1b: BEGIN ISOLATION LEVEL READ COMMITTED; -step s2b: BEGIN ISOLATION LEVEL READ COMMITTED; -step s1u: UPDATE foo SET a=2 WHERE a=1; -step s2u: UPDATE foo SET b='EFG' WHERE a=1; -step s1c: COMMIT; -step s2u: <... completed> -ERROR: tuple to be locked was already moved to another partition due to concurrent update -step s2c: COMMIT; - -starting permutation: s1b s2b s2d s1u s2c s1c -step s1b: BEGIN ISOLATION LEVEL READ COMMITTED; -step s2b: BEGIN ISOLATION LEVEL READ COMMITTED; -step s2d: DELETE FROM foo WHERE a=1; -step s1u: UPDATE foo SET a=2 WHERE a=1; -step s2c: COMMIT; -step s1u: <... completed> -step s1c: COMMIT; - -starting permutation: s1b s2b s1u2 s1c s2u2 s2c -step s1b: BEGIN ISOLATION LEVEL READ COMMITTED; -step s2b: BEGIN ISOLATION LEVEL READ COMMITTED; -step s1u2: UPDATE footrg SET b='EFG' WHERE a=1; -step s1c: COMMIT; -step s2u2: UPDATE footrg SET b='XYZ' WHERE a=1; -step s2c: COMMIT; - -starting permutation: s1b s2b s1u2 s2u2 s1c s2c -step s1b: BEGIN ISOLATION LEVEL READ COMMITTED; -step s2b: BEGIN ISOLATION LEVEL READ COMMITTED; -step s1u2: UPDATE footrg SET b='EFG' WHERE a=1; -step s2u2: UPDATE footrg SET b='XYZ' WHERE a=1; -step s1c: COMMIT; -step s2u2: <... completed> -ERROR: tuple to be locked was already moved to another partition due to concurrent update -step s2c: COMMIT; - -starting permutation: s1b s2b s2u2 s1u2 s2c s1c -step s1b: BEGIN ISOLATION LEVEL READ COMMITTED; -step s2b: BEGIN ISOLATION LEVEL READ COMMITTED; -step s2u2: UPDATE footrg SET b='XYZ' WHERE a=1; -step s1u2: UPDATE footrg SET b='EFG' WHERE a=1; -step s2c: COMMIT; -step s1u2: <... completed> -ERROR: tuple to be locked was already moved to another partition due to concurrent update -step s1c: COMMIT; - -starting permutation: s1b s2b s1u3pc s2i s1c s2c -step s1b: BEGIN ISOLATION LEVEL READ COMMITTED; -step s2b: BEGIN ISOLATION LEVEL READ COMMITTED; -step s1u3pc: UPDATE foo_range_parted SET a=11 WHERE a=7; -step s2i: INSERT INTO bar VALUES(7); -step s1c: COMMIT; -step s2i: <... completed> -ERROR: tuple to be locked was already moved to another partition due to concurrent update -step s2c: COMMIT; - -starting permutation: s1b s2b s1u3pc s2i s1r s2c -step s1b: BEGIN ISOLATION LEVEL READ COMMITTED; -step s2b: BEGIN ISOLATION LEVEL READ COMMITTED; -step s1u3pc: UPDATE foo_range_parted SET a=11 WHERE a=7; -step s2i: INSERT INTO bar VALUES(7); -step s1r: ROLLBACK; -step s2i: <... completed> -step s2c: COMMIT; - -starting permutation: s1b s2b s1u3npc s1u3pc s2i s1c s2c -step s1b: BEGIN ISOLATION LEVEL READ COMMITTED; -step s2b: BEGIN ISOLATION LEVEL READ COMMITTED; -step s1u3npc: UPDATE foo_range_parted SET b='XYZ' WHERE a=7; -step s1u3pc: UPDATE foo_range_parted SET a=11 WHERE a=7; -step s2i: INSERT INTO bar VALUES(7); -step s1c: COMMIT; -step s2i: <... completed> -ERROR: tuple to be locked was already moved to another partition due to concurrent update -step s2c: COMMIT; - -starting permutation: s1b s2b s1u3npc s1u3pc s2i s1r s2c -step s1b: BEGIN ISOLATION LEVEL READ COMMITTED; -step s2b: BEGIN ISOLATION LEVEL READ COMMITTED; -step s1u3npc: UPDATE foo_range_parted SET b='XYZ' WHERE a=7; -step s1u3pc: UPDATE foo_range_parted SET a=11 WHERE a=7; -step s2i: INSERT INTO bar VALUES(7); -step s1r: ROLLBACK; -step s2i: <... completed> -step s2c: COMMIT; - -starting permutation: s1b s2b s1u3npc s1u3pc s1u3pc s2i s1c s2c -step s1b: BEGIN ISOLATION LEVEL READ COMMITTED; -step s2b: BEGIN ISOLATION LEVEL READ COMMITTED; -step s1u3npc: UPDATE foo_range_parted SET b='XYZ' WHERE a=7; -step s1u3pc: UPDATE foo_range_parted SET a=11 WHERE a=7; -step s1u3pc: UPDATE foo_range_parted SET a=11 WHERE a=7; -step s2i: INSERT INTO bar VALUES(7); -step s1c: COMMIT; -step s2i: <... completed> -ERROR: tuple to be locked was already moved to another partition due to concurrent update -step s2c: COMMIT; - -starting permutation: s1b s2b s1u3npc s1u3pc s1u3pc s2i s1r s2c -step s1b: BEGIN ISOLATION LEVEL READ COMMITTED; -step s2b: BEGIN ISOLATION LEVEL READ COMMITTED; -step s1u3npc: UPDATE foo_range_parted SET b='XYZ' WHERE a=7; -step s1u3pc: UPDATE foo_range_parted SET a=11 WHERE a=7; -step s1u3pc: UPDATE foo_range_parted SET a=11 WHERE a=7; -step s2i: INSERT INTO bar VALUES(7); -step s1r: ROLLBACK; -step s2i: <... completed> -step s2c: COMMIT; +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/partition-key-update-2.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/partition-key-update-2.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/partition-key-update-2.out 2025-08-23 05:04:11.944972704 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/partition-key-update-2.out 2025-08-23 05:09:28.099431427 +0000 @@ -1,33 +1,3 @@ Parsed test spec with 3 sessions - -starting permutation: s1u s2donothing s3donothing s1c s2c s3select s3c -step s1u: UPDATE foo SET a=2, b=b || ' -> moved by session-1' WHERE a=1; -step s2donothing: INSERT INTO foo VALUES(1, 'session-2 donothing') ON CONFLICT DO NOTHING; -step s3donothing: INSERT INTO foo VALUES(2, 'session-3 donothing') ON CONFLICT DO NOTHING; -step s1c: COMMIT; -step s2donothing: <... completed> -step s3donothing: <... completed> -step s2c: COMMIT; -step s3select: SELECT * FROM foo ORDER BY a; -a|b --+----------------------------------- -1|session-2 donothing -2|initial tuple -> moved by session-1 -(2 rows) - -step s3c: COMMIT; - -starting permutation: s2donothing s1u s3donothing s1c s2c s3select s3c -step s2donothing: INSERT INTO foo VALUES(1, 'session-2 donothing') ON CONFLICT DO NOTHING; -step s1u: UPDATE foo SET a=2, b=b || ' -> moved by session-1' WHERE a=1; -step s3donothing: INSERT INTO foo VALUES(2, 'session-3 donothing') ON CONFLICT DO NOTHING; -step s1c: COMMIT; -step s3donothing: <... completed> -step s2c: COMMIT; -step s3select: SELECT * FROM foo ORDER BY a; -a|b --+----------------------------------- -2|initial tuple -> moved by session-1 -(1 row) - -step s3c: COMMIT; +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/partition-key-update-3.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/partition-key-update-3.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/partition-key-update-3.out 2025-08-23 05:04:11.948967606 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/partition-key-update-3.out 2025-08-23 05:09:28.219431131 +0000 @@ -1,155 +1,3 @@ Parsed test spec with 3 sessions - -starting permutation: s2beginrr s3beginrr s1u s2donothing s1c s2c s3donothing s3c s2select -step s2beginrr: BEGIN ISOLATION LEVEL REPEATABLE READ; -step s3beginrr: BEGIN ISOLATION LEVEL REPEATABLE READ; -step s1u: UPDATE foo SET a=2, b=b || ' -> moved by session-1' WHERE a=1; -step s2donothing: INSERT INTO foo VALUES(1, 'session-2 donothing') ON CONFLICT DO NOTHING; -step s1c: COMMIT; -step s2donothing: <... completed> -step s2c: COMMIT; -step s3donothing: INSERT INTO foo VALUES(2, 'session-3 donothing'), (2, 'session-3 donothing2') ON CONFLICT DO NOTHING; -step s3c: COMMIT; -step s2select: SELECT * FROM foo ORDER BY a; -a|b --+----------------------------------- -1|session-2 donothing -2|initial tuple -> moved by session-1 -(2 rows) - - -starting permutation: s2beginrr s3beginrr s1u s3donothing s1c s3c s2donothing s2c s2select -step s2beginrr: BEGIN ISOLATION LEVEL REPEATABLE READ; -step s3beginrr: BEGIN ISOLATION LEVEL REPEATABLE READ; -step s1u: UPDATE foo SET a=2, b=b || ' -> moved by session-1' WHERE a=1; -step s3donothing: INSERT INTO foo VALUES(2, 'session-3 donothing'), (2, 'session-3 donothing2') ON CONFLICT DO NOTHING; -step s1c: COMMIT; -step s3donothing: <... completed> -ERROR: could not serialize access due to concurrent update -step s3c: COMMIT; -step s2donothing: INSERT INTO foo VALUES(1, 'session-2 donothing') ON CONFLICT DO NOTHING; -step s2c: COMMIT; -step s2select: SELECT * FROM foo ORDER BY a; -a|b --+----------------------------------- -1|session-2 donothing -2|initial tuple -> moved by session-1 -(2 rows) - - -starting permutation: s2beginrr s3beginrr s1u s2donothing s3donothing s1c s2c s3c s2select -step s2beginrr: BEGIN ISOLATION LEVEL REPEATABLE READ; -step s3beginrr: BEGIN ISOLATION LEVEL REPEATABLE READ; -step s1u: UPDATE foo SET a=2, b=b || ' -> moved by session-1' WHERE a=1; -step s2donothing: INSERT INTO foo VALUES(1, 'session-2 donothing') ON CONFLICT DO NOTHING; -step s3donothing: INSERT INTO foo VALUES(2, 'session-3 donothing'), (2, 'session-3 donothing2') ON CONFLICT DO NOTHING; -step s1c: COMMIT; -step s2donothing: <... completed> -step s3donothing: <... completed> -ERROR: could not serialize access due to concurrent update -step s2c: COMMIT; -step s3c: COMMIT; -step s2select: SELECT * FROM foo ORDER BY a; -a|b --+----------------------------------- -1|session-2 donothing -2|initial tuple -> moved by session-1 -(2 rows) - - -starting permutation: s2beginrr s3beginrr s1u s3donothing s2donothing s1c s3c s2c s2select -step s2beginrr: BEGIN ISOLATION LEVEL REPEATABLE READ; -step s3beginrr: BEGIN ISOLATION LEVEL REPEATABLE READ; -step s1u: UPDATE foo SET a=2, b=b || ' -> moved by session-1' WHERE a=1; -step s3donothing: INSERT INTO foo VALUES(2, 'session-3 donothing'), (2, 'session-3 donothing2') ON CONFLICT DO NOTHING; -step s2donothing: INSERT INTO foo VALUES(1, 'session-2 donothing') ON CONFLICT DO NOTHING; -step s1c: COMMIT; -step s3donothing: <... completed> -ERROR: could not serialize access due to concurrent update -step s2donothing: <... completed> -step s3c: COMMIT; -step s2c: COMMIT; -step s2select: SELECT * FROM foo ORDER BY a; -a|b --+----------------------------------- -1|session-2 donothing -2|initial tuple -> moved by session-1 -(2 rows) - - -starting permutation: s2begins s3begins s1u s2donothing s1c s2c s3donothing s3c s2select -step s2begins: BEGIN ISOLATION LEVEL SERIALIZABLE; -step s3begins: BEGIN ISOLATION LEVEL SERIALIZABLE; -step s1u: UPDATE foo SET a=2, b=b || ' -> moved by session-1' WHERE a=1; -step s2donothing: INSERT INTO foo VALUES(1, 'session-2 donothing') ON CONFLICT DO NOTHING; -step s1c: COMMIT; -step s2donothing: <... completed> -step s2c: COMMIT; -step s3donothing: INSERT INTO foo VALUES(2, 'session-3 donothing'), (2, 'session-3 donothing2') ON CONFLICT DO NOTHING; -step s3c: COMMIT; -step s2select: SELECT * FROM foo ORDER BY a; -a|b --+----------------------------------- -1|session-2 donothing -2|initial tuple -> moved by session-1 -(2 rows) - - -starting permutation: s2begins s3begins s1u s3donothing s1c s3c s2donothing s2c s2select -step s2begins: BEGIN ISOLATION LEVEL SERIALIZABLE; -step s3begins: BEGIN ISOLATION LEVEL SERIALIZABLE; -step s1u: UPDATE foo SET a=2, b=b || ' -> moved by session-1' WHERE a=1; -step s3donothing: INSERT INTO foo VALUES(2, 'session-3 donothing'), (2, 'session-3 donothing2') ON CONFLICT DO NOTHING; -step s1c: COMMIT; -step s3donothing: <... completed> -ERROR: could not serialize access due to concurrent update -step s3c: COMMIT; -step s2donothing: INSERT INTO foo VALUES(1, 'session-2 donothing') ON CONFLICT DO NOTHING; -step s2c: COMMIT; -step s2select: SELECT * FROM foo ORDER BY a; -a|b --+----------------------------------- -1|session-2 donothing -2|initial tuple -> moved by session-1 -(2 rows) - - -starting permutation: s2begins s3begins s1u s2donothing s3donothing s1c s2c s3c s2select -step s2begins: BEGIN ISOLATION LEVEL SERIALIZABLE; -step s3begins: BEGIN ISOLATION LEVEL SERIALIZABLE; -step s1u: UPDATE foo SET a=2, b=b || ' -> moved by session-1' WHERE a=1; -step s2donothing: INSERT INTO foo VALUES(1, 'session-2 donothing') ON CONFLICT DO NOTHING; -step s3donothing: INSERT INTO foo VALUES(2, 'session-3 donothing'), (2, 'session-3 donothing2') ON CONFLICT DO NOTHING; -step s1c: COMMIT; -step s2donothing: <... completed> -step s3donothing: <... completed> -ERROR: could not serialize access due to concurrent update -step s2c: COMMIT; -step s3c: COMMIT; -step s2select: SELECT * FROM foo ORDER BY a; -a|b --+----------------------------------- -1|session-2 donothing -2|initial tuple -> moved by session-1 -(2 rows) - - -starting permutation: s2begins s3begins s1u s3donothing s2donothing s1c s3c s2c s2select -step s2begins: BEGIN ISOLATION LEVEL SERIALIZABLE; -step s3begins: BEGIN ISOLATION LEVEL SERIALIZABLE; -step s1u: UPDATE foo SET a=2, b=b || ' -> moved by session-1' WHERE a=1; -step s3donothing: INSERT INTO foo VALUES(2, 'session-3 donothing'), (2, 'session-3 donothing2') ON CONFLICT DO NOTHING; -step s2donothing: INSERT INTO foo VALUES(1, 'session-2 donothing') ON CONFLICT DO NOTHING; -step s1c: COMMIT; -step s3donothing: <... completed> -ERROR: could not serialize access due to concurrent update -step s2donothing: <... completed> -step s3c: COMMIT; -step s2c: COMMIT; -step s2select: SELECT * FROM foo ORDER BY a; -a|b --+----------------------------------- -1|session-2 donothing -2|initial tuple -> moved by session-1 -(2 rows) - +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/partition-key-update-4.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/partition-key-update-4.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/partition-key-update-4.out 2025-08-23 05:04:11.948967606 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/partition-key-update-4.out 2025-08-23 05:09:28.315430895 +0000 @@ -1,72 +1,3 @@ Parsed test spec with 2 sessions - -starting permutation: s1b s2b s2u1 s1u s2c s1c s1s -step s1b: BEGIN ISOLATION LEVEL READ COMMITTED; -step s2b: BEGIN ISOLATION LEVEL READ COMMITTED; -step s2u1: UPDATE foo SET b = b || ' update2' WHERE a = 1; -step s1u: UPDATE foo SET a = a + 1, b = b || ' update1' WHERE b like '%ABC%'; -step s2c: COMMIT; -step s1u: <... completed> -step s1c: COMMIT; -step s1s: SELECT tableoid::regclass, * FROM foo ORDER BY a; -tableoid|a|b ---------+-+------------------- -foo2 |2|ABC update2 update1 -(1 row) - - -starting permutation: s1b s2b s2ut1 s1ut s2c s1c s1st s1stl -step s1b: BEGIN ISOLATION LEVEL READ COMMITTED; -step s2b: BEGIN ISOLATION LEVEL READ COMMITTED; -step s2ut1: UPDATE footrg SET b = b || ' update2' WHERE a = 1; -step s1ut: UPDATE footrg SET a = a + 1, b = b || ' update1' WHERE b like '%ABC%'; -step s2c: COMMIT; -step s1ut: <... completed> -step s1c: COMMIT; -step s1st: SELECT tableoid::regclass, * FROM footrg ORDER BY a; -tableoid|a|b ---------+-+------------------- -footrg2 |2|ABC update2 update1 -(1 row) - -step s1stl: SELECT * FROM triglog ORDER BY a; -a|b --+------------------- -1|ABC update2 trigger -(1 row) - - -starting permutation: s1b s2b s2u2 s1u s2c s1c s1s -step s1b: BEGIN ISOLATION LEVEL READ COMMITTED; -step s2b: BEGIN ISOLATION LEVEL READ COMMITTED; -step s2u2: UPDATE foo SET b = 'EFG' WHERE a = 1; -step s1u: UPDATE foo SET a = a + 1, b = b || ' update1' WHERE b like '%ABC%'; -step s2c: COMMIT; -step s1u: <... completed> -step s1c: COMMIT; -step s1s: SELECT tableoid::regclass, * FROM foo ORDER BY a; -tableoid|a|b ---------+-+--- -foo1 |1|EFG -(1 row) - - -starting permutation: s1b s2b s2ut2 s1ut s2c s1c s1st s1stl -step s1b: BEGIN ISOLATION LEVEL READ COMMITTED; -step s2b: BEGIN ISOLATION LEVEL READ COMMITTED; -step s2ut2: UPDATE footrg SET b = 'EFG' WHERE a = 1; -step s1ut: UPDATE footrg SET a = a + 1, b = b || ' update1' WHERE b like '%ABC%'; -step s2c: COMMIT; -step s1ut: <... completed> -step s1c: COMMIT; -step s1st: SELECT tableoid::regclass, * FROM footrg ORDER BY a; -tableoid|a|b ---------+-+--- -footrg1 |1|EFG -(1 row) - -step s1stl: SELECT * FROM triglog ORDER BY a; -a|b --+- -(0 rows) - +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/plpgsql-toast.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/plpgsql-toast.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/plpgsql-toast.out 2025-08-23 05:04:11.948967606 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/plpgsql-toast.out 2025-08-23 05:09:28.471430510 +0000 @@ -1,316 +1,3 @@ Parsed test spec with 2 sessions - -starting permutation: lock assign1 vacuum unlock -pg_advisory_unlock_all ----------------------- - -(1 row) - -pg_advisory_unlock_all ----------------------- - -(1 row) - -step lock: - SELECT pg_advisory_lock(1); - -pg_advisory_lock ----------------- - -(1 row) - -step assign1: -do $$ - declare - x text; - begin - select test1.b into x from test1; - delete from test1; - commit; - perform pg_advisory_lock(1); - raise notice 'length(x) = %', length(x); - end; -$$; - -step vacuum: - VACUUM test1; - -step unlock: - SELECT pg_advisory_unlock(1); - -pg_advisory_unlock ------------------- -t -(1 row) - -s1: NOTICE: length(x) = 6000 -step assign1: <... completed> - -starting permutation: lock assign2 vacuum unlock -pg_advisory_unlock_all ----------------------- - -(1 row) - -pg_advisory_unlock_all ----------------------- - -(1 row) - -step lock: - SELECT pg_advisory_lock(1); - -pg_advisory_lock ----------------- - -(1 row) - -step assign2: -do $$ - declare - x text; - begin - x := (select test1.b from test1); - delete from test1; - commit; - perform pg_advisory_lock(1); - raise notice 'length(x) = %', length(x); - end; -$$; - -step vacuum: - VACUUM test1; - -step unlock: - SELECT pg_advisory_unlock(1); - -pg_advisory_unlock ------------------- -t -(1 row) - -s1: NOTICE: length(x) = 6000 -step assign2: <... completed> - -starting permutation: lock assign3 vacuum unlock -pg_advisory_unlock_all ----------------------- - -(1 row) - -pg_advisory_unlock_all ----------------------- - -(1 row) - -step lock: - SELECT pg_advisory_lock(1); - -pg_advisory_lock ----------------- - -(1 row) - -step assign3: -do $$ - declare - r record; - begin - select * into r from test1; - r.b := (select test1.b from test1); - delete from test1; - commit; - perform pg_advisory_lock(1); - raise notice 'length(r) = %', length(r::text); - end; -$$; - -step vacuum: - VACUUM test1; - -step unlock: - SELECT pg_advisory_unlock(1); - -pg_advisory_unlock ------------------- -t -(1 row) - -s1: NOTICE: length(r) = 6004 -step assign3: <... completed> - -starting permutation: lock assign4 vacuum unlock -pg_advisory_unlock_all ----------------------- - -(1 row) - -pg_advisory_unlock_all ----------------------- - -(1 row) - -step lock: - SELECT pg_advisory_lock(1); - -pg_advisory_lock ----------------- - -(1 row) - -step assign4: -do $$ - declare - r test2; - begin - select * into r from test1; - delete from test1; - commit; - perform pg_advisory_lock(1); - raise notice 'length(r) = %', length(r::text); - end; -$$; - -step vacuum: - VACUUM test1; - -step unlock: - SELECT pg_advisory_unlock(1); - -pg_advisory_unlock ------------------- -t -(1 row) - -s1: NOTICE: length(r) = 6004 -step assign4: <... completed> - -starting permutation: lock assign5 vacuum unlock -pg_advisory_unlock_all ----------------------- - -(1 row) - -pg_advisory_unlock_all ----------------------- - -(1 row) - -step lock: - SELECT pg_advisory_lock(1); - -pg_advisory_lock ----------------- - -(1 row) - -step assign5: -do $$ - declare - r record; - begin - for r in select test1.b from test1 loop - null; - end loop; - delete from test1; - commit; - perform pg_advisory_lock(1); - raise notice 'length(r) = %', length(r::text); - end; -$$; - -step vacuum: - VACUUM test1; - -step unlock: - SELECT pg_advisory_unlock(1); - -pg_advisory_unlock ------------------- -t -(1 row) - -s1: NOTICE: length(r) = 6002 -step assign5: <... completed> - -starting permutation: lock assign6 vacuum unlock -pg_advisory_unlock_all ----------------------- - -(1 row) - -pg_advisory_unlock_all ----------------------- - -(1 row) - -step lock: - SELECT pg_advisory_lock(1); - -pg_advisory_lock ----------------- - -(1 row) - -step assign6: -do $$ - declare - r record; - begin - insert into test1 values (2, repeat('bar', 3000)); - insert into test1 values (3, repeat('baz', 4000)); - for r in select test1.b from test1 loop - delete from test1; - commit; - perform pg_advisory_lock(1); - raise notice 'length(r) = %', length(r::text); - end loop; - end; -$$; - -step vacuum: - VACUUM test1; - -step unlock: - SELECT pg_advisory_unlock(1); - -pg_advisory_unlock ------------------- -t -(1 row) - -s1: NOTICE: length(r) = 6002 -s1: NOTICE: length(r) = 9002 -s1: NOTICE: length(r) = 12002 -step assign6: <... completed> - -starting permutation: fetch-after-commit -pg_advisory_unlock_all ----------------------- - -(1 row) - -pg_advisory_unlock_all ----------------------- - -(1 row) - -s1: NOTICE: length(t) = 6000 -s1: NOTICE: length(t) = 9000 -s1: NOTICE: length(t) = 12000 -step fetch-after-commit: -do $$ - declare - r record; - t text; - begin - insert into test1 values (2, repeat('bar', 3000)); - insert into test1 values (3, repeat('baz', 4000)); - for r in select test1.a from test1 loop - commit; - select b into t from test1 where a = r.a; - raise notice 'length(t) = %', length(t); - end loop; - end; -$$; - +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/cluster-conflict.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/cluster-conflict.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/cluster-conflict.out 2025-08-23 05:04:11.936982902 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/cluster-conflict.out 2025-08-23 05:09:28.587430224 +0000 @@ -1,19 +1,3 @@ Parsed test spec with 2 sessions - -starting permutation: s1_begin s1_lock s2_auth s2_cluster s1_commit s2_reset -step s1_begin: BEGIN; -step s1_lock: LOCK cluster_tab IN SHARE UPDATE EXCLUSIVE MODE; -step s2_auth: SET ROLE regress_cluster_conflict; -step s2_cluster: CLUSTER cluster_tab USING cluster_ind; -step s1_commit: COMMIT; -step s2_cluster: <... completed> -step s2_reset: RESET ROLE; - -starting permutation: s1_begin s2_auth s1_lock s2_cluster s1_commit s2_reset -step s1_begin: BEGIN; -step s2_auth: SET ROLE regress_cluster_conflict; -step s1_lock: LOCK cluster_tab IN SHARE UPDATE EXCLUSIVE MODE; -step s2_cluster: CLUSTER cluster_tab USING cluster_ind; -step s1_commit: COMMIT; -step s2_cluster: <... completed> -step s2_reset: RESET ROLE; +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/cluster-conflict-partition.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/cluster-conflict-partition.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/cluster-conflict-partition.out 2025-08-23 05:04:11.936982902 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/cluster-conflict-partition.out 2025-08-23 05:09:28.671430017 +0000 @@ -1,35 +1,3 @@ Parsed test spec with 2 sessions - -starting permutation: s1_begin s1_lock_parent s2_auth s2_cluster s1_commit s2_reset -step s1_begin: BEGIN; -step s1_lock_parent: LOCK cluster_part_tab IN SHARE UPDATE EXCLUSIVE MODE; -step s2_auth: SET ROLE regress_cluster_part; SET client_min_messages = ERROR; -step s2_cluster: CLUSTER cluster_part_tab USING cluster_part_ind; -step s1_commit: COMMIT; -step s2_cluster: <... completed> -step s2_reset: RESET ROLE; - -starting permutation: s1_begin s2_auth s1_lock_parent s2_cluster s1_commit s2_reset -step s1_begin: BEGIN; -step s2_auth: SET ROLE regress_cluster_part; SET client_min_messages = ERROR; -step s1_lock_parent: LOCK cluster_part_tab IN SHARE UPDATE EXCLUSIVE MODE; -step s2_cluster: CLUSTER cluster_part_tab USING cluster_part_ind; -step s1_commit: COMMIT; -step s2_cluster: <... completed> -step s2_reset: RESET ROLE; - -starting permutation: s1_begin s1_lock_child s2_auth s2_cluster s1_commit s2_reset -step s1_begin: BEGIN; -step s1_lock_child: LOCK cluster_part_tab1 IN SHARE UPDATE EXCLUSIVE MODE; -step s2_auth: SET ROLE regress_cluster_part; SET client_min_messages = ERROR; -step s2_cluster: CLUSTER cluster_part_tab USING cluster_part_ind; -step s1_commit: COMMIT; -step s2_reset: RESET ROLE; - -starting permutation: s1_begin s2_auth s1_lock_child s2_cluster s1_commit s2_reset -step s1_begin: BEGIN; -step s2_auth: SET ROLE regress_cluster_part; SET client_min_messages = ERROR; -step s1_lock_child: LOCK cluster_part_tab1 IN SHARE UPDATE EXCLUSIVE MODE; -step s2_cluster: CLUSTER cluster_part_tab USING cluster_part_ind; -step s1_commit: COMMIT; -step s2_reset: RESET ROLE; +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/cluster-toast-value-reuse.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/cluster-toast-value-reuse.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/cluster-toast-value-reuse.out 2025-08-23 05:04:11.936982902 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/cluster-toast-value-reuse.out 2025-08-23 05:09:28.835429612 +0000 @@ -1,29 +1,3 @@ Parsed test spec with 2 sessions - -starting permutation: s1_begin s1_update s2_store_chunk_ids s2_cluster s1_commit s2_verify_chunk_ids -step s1_begin: BEGIN; -step s1_update: UPDATE cluster_toast_value SET flag = 1 WHERE TRUE; -step s2_store_chunk_ids: - CREATE TABLE cluster_chunk_id AS - SELECT c.id, pg_column_toast_chunk_id(c.value) AS chunk_id - FROM cluster_toast_value c; - SELECT count(*) FROM cluster_chunk_id; - -count ------ - 1 -(1 row) - -step s2_cluster: CLUSTER cluster_toast_value; -step s1_commit: COMMIT; -step s2_cluster: <... completed> -step s2_verify_chunk_ids: - SELECT o.id AS chunk_ids_preserved - FROM cluster_chunk_id o - JOIN cluster_toast_value c ON o.id = c.id - WHERE o.chunk_id != pg_column_toast_chunk_id(c.value); - -chunk_ids_preserved -------------------- -(0 rows) - +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/truncate-conflict.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/truncate-conflict.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/truncate-conflict.out 2025-08-23 05:04:11.960952309 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/truncate-conflict.out 2025-08-23 05:09:28.971429277 +0000 @@ -1,115 +1,3 @@ Parsed test spec with 2 sessions - -starting permutation: s1_begin s1_tab_lookup s2_auth s2_truncate s1_commit s2_reset -step s1_begin: BEGIN; -step s1_tab_lookup: SELECT count(*) >= 0 FROM truncate_tab; -?column? --------- -t -(1 row) - -step s2_auth: SET ROLE regress_truncate_conflict; -step s2_truncate: TRUNCATE truncate_tab; -ERROR: permission denied for table truncate_tab -step s1_commit: COMMIT; -step s2_reset: RESET ROLE; - -starting permutation: s1_begin s2_auth s2_truncate s1_tab_lookup s1_commit s2_reset -step s1_begin: BEGIN; -step s2_auth: SET ROLE regress_truncate_conflict; -step s2_truncate: TRUNCATE truncate_tab; -ERROR: permission denied for table truncate_tab -step s1_tab_lookup: SELECT count(*) >= 0 FROM truncate_tab; -?column? --------- -t -(1 row) - -step s1_commit: COMMIT; -step s2_reset: RESET ROLE; - -starting permutation: s1_begin s2_auth s1_tab_lookup s2_truncate s1_commit s2_reset -step s1_begin: BEGIN; -step s2_auth: SET ROLE regress_truncate_conflict; -step s1_tab_lookup: SELECT count(*) >= 0 FROM truncate_tab; -?column? --------- -t -(1 row) - -step s2_truncate: TRUNCATE truncate_tab; -ERROR: permission denied for table truncate_tab -step s1_commit: COMMIT; -step s2_reset: RESET ROLE; - -starting permutation: s2_auth s2_truncate s1_begin s1_tab_lookup s1_commit s2_reset -step s2_auth: SET ROLE regress_truncate_conflict; -step s2_truncate: TRUNCATE truncate_tab; -ERROR: permission denied for table truncate_tab -step s1_begin: BEGIN; -step s1_tab_lookup: SELECT count(*) >= 0 FROM truncate_tab; -?column? --------- -t -(1 row) - -step s1_commit: COMMIT; -step s2_reset: RESET ROLE; - -starting permutation: s1_begin s1_tab_lookup s2_grant s2_auth s2_truncate s1_commit s2_reset -step s1_begin: BEGIN; -step s1_tab_lookup: SELECT count(*) >= 0 FROM truncate_tab; -?column? --------- -t -(1 row) - -step s2_grant: GRANT TRUNCATE ON truncate_tab TO regress_truncate_conflict; -step s2_auth: SET ROLE regress_truncate_conflict; -step s2_truncate: TRUNCATE truncate_tab; -step s1_commit: COMMIT; -step s2_truncate: <... completed> -step s2_reset: RESET ROLE; - -starting permutation: s1_begin s2_grant s2_auth s2_truncate s1_tab_lookup s1_commit s2_reset -step s1_begin: BEGIN; -step s2_grant: GRANT TRUNCATE ON truncate_tab TO regress_truncate_conflict; -step s2_auth: SET ROLE regress_truncate_conflict; -step s2_truncate: TRUNCATE truncate_tab; -step s1_tab_lookup: SELECT count(*) >= 0 FROM truncate_tab; -?column? --------- -t -(1 row) - -step s1_commit: COMMIT; -step s2_reset: RESET ROLE; - -starting permutation: s1_begin s2_grant s2_auth s1_tab_lookup s2_truncate s1_commit s2_reset -step s1_begin: BEGIN; -step s2_grant: GRANT TRUNCATE ON truncate_tab TO regress_truncate_conflict; -step s2_auth: SET ROLE regress_truncate_conflict; -step s1_tab_lookup: SELECT count(*) >= 0 FROM truncate_tab; -?column? --------- -t -(1 row) - -step s2_truncate: TRUNCATE truncate_tab; -step s1_commit: COMMIT; -step s2_truncate: <... completed> -step s2_reset: RESET ROLE; - -starting permutation: s2_grant s2_auth s2_truncate s1_begin s1_tab_lookup s1_commit s2_reset -step s2_grant: GRANT TRUNCATE ON truncate_tab TO regress_truncate_conflict; -step s2_auth: SET ROLE regress_truncate_conflict; -step s2_truncate: TRUNCATE truncate_tab; -step s1_begin: BEGIN; -step s1_tab_lookup: SELECT count(*) >= 0 FROM truncate_tab; -?column? --------- -t -(1 row) - -step s1_commit: COMMIT; -step s2_reset: RESET ROLE; +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/serializable-parallel.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/serializable-parallel.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/serializable-parallel.out 2025-08-23 05:04:11.956957407 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/serializable-parallel.out 2025-08-23 05:09:29.091428979 +0000 @@ -1,58 +1,3 @@ Parsed test spec with 3 sessions - -starting permutation: s2rx s2ry s1ry s1wy s1c s2wx s2c s3c -step s2rx: SELECT balance FROM bank_account WHERE id = 'X'; -balance -------- - 0 -(1 row) - -step s2ry: SELECT balance FROM bank_account WHERE id = 'Y'; -balance -------- - 0 -(1 row) - -step s1ry: SELECT balance FROM bank_account WHERE id = 'Y'; -balance -------- - 0 -(1 row) - -step s1wy: UPDATE bank_account SET balance = 20 WHERE id = 'Y'; -step s1c: COMMIT; -step s2wx: UPDATE bank_account SET balance = -11 WHERE id = 'X'; -step s2c: COMMIT; -step s3c: COMMIT; - -starting permutation: s2rx s2ry s1ry s1wy s1c s3r s3c s2wx -step s2rx: SELECT balance FROM bank_account WHERE id = 'X'; -balance -------- - 0 -(1 row) - -step s2ry: SELECT balance FROM bank_account WHERE id = 'Y'; -balance -------- - 0 -(1 row) - -step s1ry: SELECT balance FROM bank_account WHERE id = 'Y'; -balance -------- - 0 -(1 row) - -step s1wy: UPDATE bank_account SET balance = 20 WHERE id = 'Y'; -step s1c: COMMIT; -step s3r: SELECT id, balance FROM bank_account WHERE id IN ('X', 'Y') ORDER BY id; -id|balance ---+------- -X | 0 -Y | 20 -(2 rows) - -step s3c: COMMIT; -step s2wx: UPDATE bank_account SET balance = -11 WHERE id = 'X'; -ERROR: could not serialize access due to read/write dependencies among transactions +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/serializable-parallel-2.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/serializable-parallel-2.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/serializable-parallel-2.out 2025-08-23 05:04:11.956957407 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/serializable-parallel-2.out 2025-08-23 05:09:29.179428760 +0000 @@ -1,23 +1,3 @@ Parsed test spec with 2 sessions - -starting permutation: s1r s2r1 s1c s2r2 s2c -step s1r: SELECT COUNT(*) FROM foo; -count ------ - 100 -(1 row) - -step s2r1: SELECT COUNT(*) FROM foo; -count ------ - 100 -(1 row) - -step s1c: COMMIT; -step s2r2: SELECT COUNT(*) FROM foo; -count ------ - 100 -(1 row) - -step s2c: COMMIT; +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/serializable-parallel-3.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/serializable-parallel-3.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/serializable-parallel-3.out 2025-08-23 05:04:11.956957407 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/serializable-parallel-3.out 2025-08-23 05:09:29.303428452 +0000 @@ -1,97 +1,3 @@ Parsed test spec with 4 sessions - -starting permutation: s1r s3r s2r1 s4r1 s1c s2r2 s3c s4r2 s4c s2c -step s1r: SELECT * FROM foo; - a --- - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 -10 -(10 rows) - -step s3r: SELECT * FROM foo; - a --- - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 -10 -(10 rows) - -step s2r1: SELECT * FROM foo; - a --- - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 -10 -(10 rows) - -step s4r1: SELECT * FROM foo; - a --- - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 -10 -(10 rows) - -step s1c: COMMIT; -step s2r2: SELECT * FROM foo; - a --- - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 -10 -(10 rows) - -step s3c: COMMIT; -step s4r2: SELECT * FROM foo; - a --- - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 -10 -(10 rows) - -step s4c: COMMIT; -step s2c: COMMIT; +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/matview-write-skew.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/matview-write-skew.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/matview-write-skew.out 2025-08-23 05:04:11.944972704 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/matview-write-skew.out 2025-08-23 05:09:29.383428252 +0000 @@ -1,121 +1,3 @@ Parsed test spec with 2 sessions - -starting permutation: s1_begin s2_begin s1_refresh s2_read s2_insert s1_commit s2_commit -step s1_begin: BEGIN ISOLATION LEVEL SERIALIZABLE; -step s2_begin: BEGIN ISOLATION LEVEL SERIALIZABLE; -step s1_refresh: REFRESH MATERIALIZED VIEW CONCURRENTLY order_summary; -step s2_read: SELECT max(date) FROM order_summary; - max ----------- -04-01-2022 -(1 row) - -step s2_insert: INSERT INTO orders VALUES ('2022-04-02', 'orange', 15); -step s1_commit: COMMIT; -step s2_commit: COMMIT; -ERROR: could not serialize access due to read/write dependencies among transactions - -starting permutation: s1_begin s2_begin s1_refresh s2_read s2_update s1_commit s2_commit -step s1_begin: BEGIN ISOLATION LEVEL SERIALIZABLE; -step s2_begin: BEGIN ISOLATION LEVEL SERIALIZABLE; -step s1_refresh: REFRESH MATERIALIZED VIEW CONCURRENTLY order_summary; -step s2_read: SELECT max(date) FROM order_summary; - max ----------- -04-01-2022 -(1 row) - -step s2_update: UPDATE orders SET num = num + 1; -step s1_commit: COMMIT; -step s2_commit: COMMIT; -ERROR: could not serialize access due to read/write dependencies among transactions - -starting permutation: s1_begin s2_begin s2_read s1_refresh s2_insert s1_commit s2_commit -step s1_begin: BEGIN ISOLATION LEVEL SERIALIZABLE; -step s2_begin: BEGIN ISOLATION LEVEL SERIALIZABLE; -step s2_read: SELECT max(date) FROM order_summary; - max ----------- -04-01-2022 -(1 row) - -step s1_refresh: REFRESH MATERIALIZED VIEW CONCURRENTLY order_summary; -step s2_insert: INSERT INTO orders VALUES ('2022-04-02', 'orange', 15); -step s1_commit: COMMIT; -step s2_commit: COMMIT; -ERROR: could not serialize access due to read/write dependencies among transactions - -starting permutation: s1_begin s2_begin s2_read s1_refresh s2_update s1_commit s2_commit -step s1_begin: BEGIN ISOLATION LEVEL SERIALIZABLE; -step s2_begin: BEGIN ISOLATION LEVEL SERIALIZABLE; -step s2_read: SELECT max(date) FROM order_summary; - max ----------- -04-01-2022 -(1 row) - -step s1_refresh: REFRESH MATERIALIZED VIEW CONCURRENTLY order_summary; -step s2_update: UPDATE orders SET num = num + 1; -step s1_commit: COMMIT; -step s2_commit: COMMIT; -ERROR: could not serialize access due to read/write dependencies among transactions - -starting permutation: s1_begin s2_begin s2_read s2_insert s1_refresh s1_commit s2_commit -step s1_begin: BEGIN ISOLATION LEVEL SERIALIZABLE; -step s2_begin: BEGIN ISOLATION LEVEL SERIALIZABLE; -step s2_read: SELECT max(date) FROM order_summary; - max ----------- -04-01-2022 -(1 row) - -step s2_insert: INSERT INTO orders VALUES ('2022-04-02', 'orange', 15); -step s1_refresh: REFRESH MATERIALIZED VIEW CONCURRENTLY order_summary; -step s1_commit: COMMIT; -step s2_commit: COMMIT; -ERROR: could not serialize access due to read/write dependencies among transactions - -starting permutation: s1_begin s2_begin s2_read s2_update s1_refresh s1_commit s2_commit -step s1_begin: BEGIN ISOLATION LEVEL SERIALIZABLE; -step s2_begin: BEGIN ISOLATION LEVEL SERIALIZABLE; -step s2_read: SELECT max(date) FROM order_summary; - max ----------- -04-01-2022 -(1 row) - -step s2_update: UPDATE orders SET num = num + 1; -step s1_refresh: REFRESH MATERIALIZED VIEW CONCURRENTLY order_summary; -step s1_commit: COMMIT; -step s2_commit: COMMIT; -ERROR: could not serialize access due to read/write dependencies among transactions - -starting permutation: s1_begin s2_begin s1_refresh s2_insert s2_read s1_commit s2_commit -step s1_begin: BEGIN ISOLATION LEVEL SERIALIZABLE; -step s2_begin: BEGIN ISOLATION LEVEL SERIALIZABLE; -step s1_refresh: REFRESH MATERIALIZED VIEW CONCURRENTLY order_summary; -step s2_insert: INSERT INTO orders VALUES ('2022-04-02', 'orange', 15); -step s2_read: SELECT max(date) FROM order_summary; - max ----------- -04-01-2022 -(1 row) - -step s1_commit: COMMIT; -step s2_commit: COMMIT; -ERROR: could not serialize access due to read/write dependencies among transactions - -starting permutation: s1_begin s2_begin s1_refresh s2_update s2_read s1_commit s2_commit -step s1_begin: BEGIN ISOLATION LEVEL SERIALIZABLE; -step s2_begin: BEGIN ISOLATION LEVEL SERIALIZABLE; -step s1_refresh: REFRESH MATERIALIZED VIEW CONCURRENTLY order_summary; -step s2_update: UPDATE orders SET num = num + 1; -step s2_read: SELECT max(date) FROM order_summary; - max ----------- -04-01-2022 -(1 row) - -step s1_commit: COMMIT; -step s2_commit: COMMIT; -ERROR: could not serialize access due to read/write dependencies among transactions +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket? diff -U3 /tmp/cirrus-ci-build/src/test/isolation/expected/lock-nowait.out /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/lock-nowait.out --- /tmp/cirrus-ci-build/src/test/isolation/expected/lock-nowait.out 2025-08-23 05:04:11.944972704 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/lock-nowait.out 2025-08-23 05:09:29.523427905 +0000 @@ -1,9 +1,3 @@ Parsed test spec with 2 sessions - -starting permutation: s1a s2a s1b s1c s2c -step s1a: LOCK TABLE a1 IN ACCESS EXCLUSIVE MODE; -step s2a: LOCK TABLE a1 IN EXCLUSIVE MODE; -step s1b: LOCK TABLE a1 IN SHARE ROW EXCLUSIVE MODE NOWAIT; -step s1c: COMMIT; -step s2a: <... completed> -step s2c: COMMIT; +Connection 0 failed: connection to server on socket "/tmp/pg_regress-ptvGit/.s.PGSQL.58928" failed: No such file or directory + Is the server running locally and accepting connections on that socket?