As mentioned in
3a64cfdde3, some of the output differences (compared
to PostgreSQL 10) may be caused by XL advancing cmin more often, for
example due to splitting a single command into multiple steps.
So tweak the expected output using output from Postgres-XL 9.5r1.6.
FETCH ALL FROM c;
ctid | cmin | foobar
-------+------+--------
- (0,3) | 1 | 11
- (0,4) | 1 | 12
+ (0,3) | 2 | 11
+ (0,4) | 2 | 12
(0,5) | 0 | 333
(3 rows)
SELECT ctid,cmin,* FROM combocidtest ORDER BY ctid;
ctid | cmin | foobar
-------+------+--------
- (0,3) | 1 | 11
- (0,4) | 1 | 12
+ (0,3) | 2 | 11
+ (0,4) | 2 | 12
(2 rows)
-- check behavior with locked tuples
SELECT ctid,cmin,* FROM combocidtest ORDER BY ctid;
ctid | cmin | foobar
-------+------+--------
- (0,3) | 1 | 11
- (0,4) | 1 | 12
+ (0,3) | 2 | 11
+ (0,4) | 2 | 12
(0,6) | 10 | 444
(3 rows)
SELECT ctid,cmin,* FROM combocidtest FOR UPDATE;
ctid | cmin | foobar
-------+------+--------
- (0,3) | 1 | 11
- (0,4) | 1 | 12
+ (0,3) | 2 | 11
+ (0,4) | 2 | 12
(0,6) | 10 | 444
(3 rows)
SELECT ctid,cmin,* FROM combocidtest ORDER BY ctid;
ctid | cmin | foobar
-------+------+--------
- (0,3) | 1 | 11
- (0,4) | 1 | 12
+ (0,3) | 2 | 11
+ (0,4) | 2 | 12
(0,6) | 10 | 444
(3 rows)