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