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 2024-09-26 17:59:35.307702124 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/reindex-concurrently.out 2024-09-26 18:03:02.031653367 +0000 @@ -1,90 +1,7 @@ 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) +PQconsumeInput failed: server closed the connection unexpectedly + This probably means the server terminated abnormally + before or while processing the request. -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> 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 2024-09-26 17:59:35.307702124 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/reindex-concurrently-toast.out 2024-09-26 18:03:02.567656528 +0000 @@ -5,771 +5,7 @@ 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) +PQconsumeInput 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/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 2024-09-26 17:59:35.307702124 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/reindex-schema.out 2024-09-26 18:03:02.927658652 +0000 @@ -14,4 +14,6 @@ step reindex_conc2: REINDEX SCHEMA CONCURRENTLY reindex_schema; step drop3: DROP TABLE reindex_schema.tab_dropped; step end1: COMMIT; -step reindex_conc2: <... completed> +lock wait query 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/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 2024-09-26 17:59:35.303719178 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/propagate-lock-delete.out 2024-09-26 18:03:03.007659124 +0000 @@ -1,105 +1,2 @@ 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-tNnyVm/.s.PGSQL.65312" failed: FATAL: the database system is in recovery mode 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 2024-09-26 17:59:35.311685069 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/tuplelock-conflict.out 2024-09-26 18:03:03.163660044 +0000 @@ -1,629 +1,2 @@ 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-tNnyVm/.s.PGSQL.65312" failed: FATAL: the database system is in recovery mode 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 2024-09-26 17:59:35.311685069 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/tuplelock-update.out 2024-09-26 18:03:03.439661672 +0000 @@ -1,49 +1,2 @@ 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-tNnyVm/.s.PGSQL.65312" failed: FATAL: the database system is in recovery mode 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 2024-09-26 17:59:35.311685069 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/tuplelock-upgrade-no-deadlock.out 2024-09-26 18:03:03.559662380 +0000 @@ -1,253 +1,2 @@ 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-tNnyVm/.s.PGSQL.65312" failed: FATAL: the database system is in recovery mode 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 2024-09-26 17:59:35.311685069 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/tuplelock-partition.out 2024-09-26 18:03:03.655662946 +0000 @@ -1,24 +1,2 @@ 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-tNnyVm/.s.PGSQL.65312" failed: FATAL: the database system is in recovery mode 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 2024-09-26 17:59:35.295753285 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/freeze-the-dead.out 2024-09-26 18:03:03.723663347 +0000 @@ -1,44 +1,2 @@ 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-tNnyVm/.s.PGSQL.65312" failed: FATAL: the database system is in recovery mode 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 2024-09-26 17:59:35.299736232 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/nowait.out 2024-09-26 18:03:03.915664480 +0000 @@ -1,81 +1,2 @@ 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-tNnyVm/.s.PGSQL.65312" failed: FATAL: the database system is in recovery mode 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 2024-09-26 17:59:35.295753285 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/nowait-2.out 2024-09-26 18:03:04.027665140 +0000 @@ -1,55 +1,2 @@ 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-tNnyVm/.s.PGSQL.65312" failed: FATAL: the database system is in recovery mode 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 2024-09-26 17:59:35.295753285 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/nowait-3.out 2024-09-26 18:03:04.063665353 +0000 @@ -1,21 +1,2 @@ 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-tNnyVm/.s.PGSQL.65312" failed: FATAL: the database system is in recovery mode 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 2024-09-26 17:59:35.295753285 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/nowait-4.out 2024-09-26 18:03:04.115665660 +0000 @@ -1,23 +1,2 @@ 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-tNnyVm/.s.PGSQL.65312" failed: FATAL: the database system is in recovery mode 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 2024-09-26 17:59:35.299736232 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/nowait-5.out 2024-09-26 18:03:04.275666604 +0000 @@ -1,43 +1,4 @@ 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-tNnyVm/.s.PGSQL.65312" 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/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 2024-09-26 17:59:35.307702124 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/skip-locked.out 2024-09-26 18:03:04.335666958 +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-tNnyVm/.s.PGSQL.65312" 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 2024-09-26 17:59:35.307702124 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/skip-locked-2.out 2024-09-26 18:03:04.419667454 +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-tNnyVm/.s.PGSQL.65312" 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 2024-09-26 17:59:35.307702124 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/skip-locked-3.out 2024-09-26 18:03:04.523668068 +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-tNnyVm/.s.PGSQL.65312" 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 2024-09-26 17:59:35.307702124 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/skip-locked-4.out 2024-09-26 18:03:04.591668433 +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-tNnyVm/.s.PGSQL.65312" 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 2024-09-26 17:59:35.291770339 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/drop-index-concurrently-1.out 2024-09-26 18:03:04.719668973 +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-tNnyVm/.s.PGSQL.65312" 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 2024-09-26 17:59:35.295753285 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/multiple-cic.out 2024-09-26 18:03:04.823669413 +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-tNnyVm/.s.PGSQL.65312" 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 2024-09-26 17:59:35.287787393 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/alter-table-1.out 2024-09-26 18:03:04.939669902 +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-tNnyVm/.s.PGSQL.65312" 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 2024-09-26 17:59:35.291770339 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/alter-table-2.out 2024-09-26 18:03:05.011670135 +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-tNnyVm/.s.PGSQL.65312" 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 2024-09-26 17:59:35.291770339 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/alter-table-3.out 2024-09-26 18:03:05.095669365 +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-tNnyVm/.s.PGSQL.65312" 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 2024-09-26 17:59:35.291770339 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/alter-table-4.out 2024-09-26 18:03:05.163668742 +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-tNnyVm/.s.PGSQL.65312" 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 2024-09-26 17:59:35.291770339 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/create-trigger.out 2024-09-26 18:03:05.263667826 +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-tNnyVm/.s.PGSQL.65312" 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 2024-09-26 17:59:35.307702124 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/sequence-ddl.out 2024-09-26 18:03:05.311667386 +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-tNnyVm/.s.PGSQL.65312" 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 2024-09-26 17:59:35.291770339 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/async-notify.out 2024-09-26 18:03:05.355666982 +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-tNnyVm/.s.PGSQL.65312" 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 2024-09-26 17:59:35.311685069 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/vacuum-no-cleanup-lock.out 2024-09-26 18:03:05.471665919 +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-tNnyVm/.s.PGSQL.65312" 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 2024-09-26 17:59:35.311685069 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/timeouts.out 2024-09-26 18:03:05.559665113 +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-tNnyVm/.s.PGSQL.65312" 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 2024-09-26 17:59:35.311685069 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/vacuum-concurrent-drop.out 2024-09-26 18:03:05.623664526 +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-tNnyVm/.s.PGSQL.65312" 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 2024-09-26 17:59:35.311685069 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/vacuum-conflict.out 2024-09-26 18:03:05.675664050 +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-tNnyVm/.s.PGSQL.65312" 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 2024-09-26 17:59:35.311685069 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/vacuum-skip-locked.out 2024-09-26 18:03:05.735663500 +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-tNnyVm/.s.PGSQL.65312" 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 2024-09-26 17:59:35.307702124 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/stats.out 2024-09-26 18:03:05.763663243 +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-tNnyVm/.s.PGSQL.65312" 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 2024-09-26 17:59:35.295753285 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/horizons.out 2024-09-26 18:03:05.859662363 +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-tNnyVm/.s.PGSQL.65312" 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 2024-09-26 17:59:35.299736232 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/predicate-hash.out 2024-09-26 18:03:05.911661886 +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-tNnyVm/.s.PGSQL.65312" 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 2024-09-26 17:59:35.299736232 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/predicate-gist.out 2024-09-26 18:03:05.971661337 +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-tNnyVm/.s.PGSQL.65312" 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 2024-09-26 17:59:35.299736232 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/predicate-gin.out 2024-09-26 18:03:06.071660434 +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-tNnyVm/.s.PGSQL.65312" 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 2024-09-26 17:59:35.299736232 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/partition-concurrent-attach.out 2024-09-26 18:03:06.135659861 +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-tNnyVm/.s.PGSQL.65312" 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 2024-09-26 17:59:35.299736232 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/partition-drop-index-locking.out 2024-09-26 18:03:06.203659252 +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-tNnyVm/.s.PGSQL.65312" 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 2024-09-26 17:59:35.299736232 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/partition-key-update-1.out 2024-09-26 18:03:06.291658464 +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-tNnyVm/.s.PGSQL.65312" 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 2024-09-26 17:59:35.299736232 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/partition-key-update-2.out 2024-09-26 18:03:06.375657712 +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-tNnyVm/.s.PGSQL.65312" 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 2024-09-26 17:59:35.299736232 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/partition-key-update-3.out 2024-09-26 18:03:06.435657175 +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-tNnyVm/.s.PGSQL.65312" 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 2024-09-26 17:59:35.299736232 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/partition-key-update-4.out 2024-09-26 18:03:06.471656852 +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-tNnyVm/.s.PGSQL.65312" 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 2024-09-26 17:59:35.299736232 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/plpgsql-toast.out 2024-09-26 18:03:06.531656315 +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-tNnyVm/.s.PGSQL.65312" 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 2024-09-26 17:59:35.291770339 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/cluster-conflict.out 2024-09-26 18:03:06.627655456 +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-tNnyVm/.s.PGSQL.65312" 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 2024-09-26 17:59:35.291770339 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/cluster-conflict-partition.out 2024-09-26 18:03:06.699654810 +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-tNnyVm/.s.PGSQL.65312" 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 2024-09-26 17:59:35.311685069 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/truncate-conflict.out 2024-09-26 18:03:06.735654488 +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-tNnyVm/.s.PGSQL.65312" 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 2024-09-26 17:59:35.307702124 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/serializable-parallel.out 2024-09-26 18:03:06.811653807 +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-tNnyVm/.s.PGSQL.65312" 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 2024-09-26 17:59:35.307702124 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/serializable-parallel-2.out 2024-09-26 18:03:06.887653127 +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-tNnyVm/.s.PGSQL.65312" 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 2024-09-26 17:59:35.307702124 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/serializable-parallel-3.out 2024-09-26 18:03:06.911652911 +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-tNnyVm/.s.PGSQL.65312" 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 2024-09-26 17:59:35.295753285 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/matview-write-skew.out 2024-09-26 18:03:07.011652017 +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-tNnyVm/.s.PGSQL.65312" 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 2024-09-26 17:59:35.295753285 +0000 +++ /tmp/cirrus-ci-build/src/test/isolation/output_iso/results/lock-nowait.out 2024-09-26 18:03:07.083651387 +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-tNnyVm/.s.PGSQL.65312" failed: No such file or directory + Is the server running locally and accepting connections on that socket?