Parsed test spec with 2 sessions starting permutation: s1-insert s1-begin s1-insert s2-vacuum s1-commit s2-select step s1-insert: INSERT INTO test_vacuum_vs_insert SELECT i, 2 * i FROM generate_series(1, 3) i; step s1-begin: BEGIN; step s1-insert: INSERT INTO test_vacuum_vs_insert SELECT i, 2 * i FROM generate_series(1, 3) i; step s2-vacuum: VACUUM test_vacuum_vs_insert; step s1-commit: COMMIT; step s2-select: SELECT * FROM test_vacuum_vs_insert; a b 1 2 2 4 3 6 1 2 2 4 3 6 starting permutation: s1-insert s1-begin s1-insert s2-vacuum-full s1-commit s2-select step s1-insert: INSERT INTO test_vacuum_vs_insert SELECT i, 2 * i FROM generate_series(1, 3) i; step s1-begin: BEGIN; step s1-insert: INSERT INTO test_vacuum_vs_insert SELECT i, 2 * i FROM generate_series(1, 3) i; step s2-vacuum-full: VACUUM FULL test_vacuum_vs_insert; step s1-commit: COMMIT; step s2-vacuum-full: <... completed> step s2-select: SELECT * FROM test_vacuum_vs_insert; a b 1 2 2 4 3 6 1 2 2 4 3 6