mirror of
https://github.com/postgres/postgres.git
synced 2025-04-20 00:42:27 +03:00
Force consistent row order in contrib/test_decoding regression test.
This commit is contained in:
parent
9613a1d98e
commit
7ed908be41
@ -196,11 +196,11 @@ COMMIT;
|
|||||||
SELECT count(*), min(data), max(data)
|
SELECT count(*), min(data), max(data)
|
||||||
FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0')
|
FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0')
|
||||||
GROUP BY substring(data, 1, 24)
|
GROUP BY substring(data, 1, 24)
|
||||||
ORDER BY 1;
|
ORDER BY 1,2;
|
||||||
count | min | max
|
count | min | max
|
||||||
-------+-------------------------------------------------+------------------------------------------------------------------------
|
-------+-------------------------------------------------+------------------------------------------------------------------------
|
||||||
1 | COMMIT | COMMIT
|
|
||||||
1 | BEGIN | BEGIN
|
1 | BEGIN | BEGIN
|
||||||
|
1 | COMMIT | COMMIT
|
||||||
20467 | table public.tr_etoomuch: DELETE: id[integer]:1 | table public.tr_etoomuch: UPDATE: id[integer]:9999 data[integer]:-9999
|
20467 | table public.tr_etoomuch: DELETE: id[integer]:1 | table public.tr_etoomuch: UPDATE: id[integer]:9999 data[integer]:-9999
|
||||||
(3 rows)
|
(3 rows)
|
||||||
|
|
||||||
|
@ -112,7 +112,7 @@ COMMIT;
|
|||||||
SELECT count(*), min(data), max(data)
|
SELECT count(*), min(data), max(data)
|
||||||
FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0')
|
FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0')
|
||||||
GROUP BY substring(data, 1, 24)
|
GROUP BY substring(data, 1, 24)
|
||||||
ORDER BY 1;
|
ORDER BY 1,2;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* check whether we decode subtransactions correctly in relation with each
|
* check whether we decode subtransactions correctly in relation with each
|
||||||
|
Loading…
x
Reference in New Issue
Block a user