Skip to content

Commit 7ed908b

Browse files
committed
Force consistent row order in contrib/test_decoding regression test.
1 parent 9613a1d commit 7ed908b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

contrib/test_decoding/expected/ddl.out

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,11 +196,11 @@ COMMIT;
196196
SELECT count(*), min(data), max(data)
197197
FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0')
198198
GROUP BY substring(data, 1, 24)
199-
ORDER BY 1;
199+
ORDER BY 1,2;
200200
count | min | max
201201
-------+-------------------------------------------------+------------------------------------------------------------------------
202-
1 | COMMIT | COMMIT
203202
1 | BEGIN | BEGIN
203+
1 | COMMIT | COMMIT
204204
20467 | table public.tr_etoomuch: DELETE: id[integer]:1 | table public.tr_etoomuch: UPDATE: id[integer]:9999 data[integer]:-9999
205205
(3 rows)
206206

contrib/test_decoding/sql/ddl.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ COMMIT;
112112
SELECT count(*), min(data), max(data)
113113
FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0')
114114
GROUP BY substring(data, 1, 24)
115-
ORDER BY 1;
115+
ORDER BY 1,2;
116116

117117
/*
118118
* check whether we decode subtransactions correctly in relation with each

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy