1Parsed test spec with 3 sessions
2
3starting permutation: s2b s2txid s1init s3b s3txid s2alter s2c s2b s2txid s3c s2c s1insert s1checkpoint s1start s1insert s1alter s1insert s1start
4step s2b: BEGIN;
5step s2txid: SELECT txid_current() IS NULL;
6?column?
7--------
8f
9(1 row)
10
11step s1init: SELECT 'init' FROM pg_create_logical_replication_slot('isolation_slot', 'test_decoding'); <waiting ...>
12step s3b: BEGIN;
13step s3txid: SELECT txid_current() IS NULL;
14?column?
15--------
16f
17(1 row)
18
19step s2alter: ALTER TABLE do_write ADD COLUMN addedbys2 int;
20step s2c: COMMIT;
21step s2b: BEGIN;
22step s2txid: SELECT txid_current() IS NULL;
23?column?
24--------
25f
26(1 row)
27
28step s3c: COMMIT;
29step s1init: <... completed>
30?column?
31--------
32init
33(1 row)
34
35step s2c: COMMIT;
36step s1insert: INSERT INTO do_write DEFAULT VALUES;
37step s1checkpoint: CHECKPOINT;
38step s1start: SELECT data FROM pg_logical_slot_get_changes('isolation_slot', NULL, NULL, 'include-xids', 'false');
39data
40--------------------------------------------------------------------
41BEGIN
42table public.do_write: INSERT: id[integer]:1 addedbys2[integer]:null
43COMMIT
44(3 rows)
45
46step s1insert: INSERT INTO do_write DEFAULT VALUES;
47step s1alter: ALTER TABLE do_write ADD COLUMN addedbys1 int;
48step s1insert: INSERT INTO do_write DEFAULT VALUES;
49step s1start: SELECT data FROM pg_logical_slot_get_changes('isolation_slot', NULL, NULL, 'include-xids', 'false');
50data
51--------------------------------------------------------------------------------------------
52BEGIN
53table public.do_write: INSERT: id[integer]:2 addedbys2[integer]:null
54COMMIT
55BEGIN
56COMMIT
57BEGIN
58table public.do_write: INSERT: id[integer]:3 addedbys2[integer]:null addedbys1[integer]:null
59COMMIT
60(8 rows)
61
62?column?
63--------
64stop
65(1 row)
66
67