@@ -72,9 +72,9 @@ SELECT 'init' FROM pg_create_logical_replication_slot('regression_slot', 'test_d
72
72
-- origin tx
73
73
INSERT INTO origin_tbl(data) VALUES ('will be replicated and decoded and decoded again');
74
74
INSERT INTO target_tbl(data)
75
- SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0', 'skip-empty-xacts', '1', 'include-sequences', '0' );
75
+ SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0', 'skip-empty-xacts', '1');
76
76
-- as is normal, the insert into target_tbl shows up
77
- SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0', 'skip-empty-xacts', '1', 'include-sequences', '0' );
77
+ SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0', 'skip-empty-xacts', '1');
78
78
data
79
79
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
80
80
BEGIN
@@ -110,7 +110,7 @@ SELECT pg_replication_origin_xact_setup('0/aabbccdd', '2013-01-01 00:00');
110
110
(1 row)
111
111
112
112
INSERT INTO target_tbl(data)
113
- SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0', 'skip-empty-xacts', '1', 'only-local', '1', 'include-sequences', '0' );
113
+ SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0', 'skip-empty-xacts', '1', 'only-local', '1');
114
114
COMMIT;
115
115
-- check replication progress for the session is correct
116
116
SELECT pg_replication_origin_session_progress(false);
@@ -154,14 +154,14 @@ SELECT pg_replication_origin_progress('regress_test_decoding: regression_slot',
154
154
SELECT pg_replication_origin_session_reset();
155
155
ERROR: no replication origin is configured
156
156
-- and magically the replayed xact will be filtered!
157
- SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0', 'skip-empty-xacts', '1', 'only-local', '1', 'include-sequences', '0' );
157
+ SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0', 'skip-empty-xacts', '1', 'only-local', '1');
158
158
data
159
159
------
160
160
(0 rows)
161
161
162
162
--but new original changes still show up
163
163
INSERT INTO origin_tbl(data) VALUES ('will be replicated');
164
- SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0', 'skip-empty-xacts', '1', 'only-local', '1', 'include-sequences', '0' );
164
+ SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0', 'skip-empty-xacts', '1', 'only-local', '1');
165
165
data
166
166
--------------------------------------------------------------------------------
167
167
BEGIN
@@ -227,7 +227,7 @@ SELECT local_id, external_id,
227
227
1 | regress_test_decoding: regression_slot_no_lsn | f | t
228
228
(1 row)
229
229
230
- SELECT data FROM pg_logical_slot_get_changes('regression_slot_no_lsn', NULL, NULL, 'skip-empty-xacts', '1', 'include-xids', '0', 'include-sequences', '0' );
230
+ SELECT data FROM pg_logical_slot_get_changes('regression_slot_no_lsn', NULL, NULL, 'skip-empty-xacts', '1', 'include-xids', '0');
231
231
data
232
232
-------------------------------------------------------------------------------------
233
233
BEGIN
0 commit comments