1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
| Parsed test spec with 3 sessions
|
| starting permutation: s1_insert_tbl1 s1_begin s1_insert_tbl1 s2_alter_pub_add_tbl s1_commit s1_insert_tbl1 s2_get_binary_changes
| step s1_insert_tbl1: INSERT INTO tbl1 (val1, val2) VALUES (1, 1);
| step s1_begin: BEGIN;
| step s1_insert_tbl1: INSERT INTO tbl1 (val1, val2) VALUES (1, 1);
| step s2_alter_pub_add_tbl: ALTER PUBLICATION pub ADD TABLE tbl1;
| step s1_commit: COMMIT;
| step s1_insert_tbl1: INSERT INTO tbl1 (val1, val2) VALUES (1, 1);
| step s2_get_binary_changes: SELECT count(data) FROM pg_logical_slot_get_binary_changes('isolation_slot', NULL, NULL, 'proto_version', '4', 'publication_names', 'pub') WHERE get_byte(data, 0) = 73;
| count
| -----
| 1
| (1 row)
|
| ?column?
| --------
| stop
| (1 row)
|
|
| starting permutation: s1_begin s1_insert_tbl1 s3_begin s3_insert_tbl1 s2_alter_pub_add_tbl s1_insert_tbl1 s1_commit s3_commit s2_get_binary_changes
| step s1_begin: BEGIN;
| step s1_insert_tbl1: INSERT INTO tbl1 (val1, val2) VALUES (1, 1);
| step s3_begin: BEGIN;
| step s3_insert_tbl1: INSERT INTO tbl1 (val1, val2) VALUES (2, 2);
| step s2_alter_pub_add_tbl: ALTER PUBLICATION pub ADD TABLE tbl1;
| step s1_insert_tbl1: INSERT INTO tbl1 (val1, val2) VALUES (1, 1);
| step s1_commit: COMMIT;
| step s3_commit: COMMIT;
| step s2_get_binary_changes: SELECT count(data) FROM pg_logical_slot_get_binary_changes('isolation_slot', NULL, NULL, 'proto_version', '4', 'publication_names', 'pub') WHERE get_byte(data, 0) = 73;
| count
| -----
| 1
| (1 row)
|
| ?column?
| --------
| stop
| (1 row)
|
|