Skip to content

Commit 2f50074

Browse files
committed
Add ORDER BY to new test query
Per buildfarm.
1 parent 66aaa7a commit 2f50074

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/test/regress/input/constraints.source

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,8 @@ ALTER INDEX t_a_idx ATTACH PARTITION tp_pkey;
443443
ALTER INDEX t_b_idx ATTACH PARTITION tp_b_a_key;
444444
ALTER TABLE t DETACH PARTITION tp;
445445
SELECT conname, conparentid, conislocal, coninhcount
446-
FROM pg_constraint WHERE conname IN ('tp_pkey', 'tp_b_a_key');
446+
FROM pg_constraint WHERE conname IN ('tp_pkey', 'tp_b_a_key')
447+
ORDER BY conname DESC;
447448
DROP TABLE t, tp;
448449

449450
CREATE TEMP TABLE t (a integer) PARTITION BY LIST (a);

src/test/regress/output/constraints.source

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,8 @@ ALTER INDEX t_a_idx ATTACH PARTITION tp_pkey;
612612
ALTER INDEX t_b_idx ATTACH PARTITION tp_b_a_key;
613613
ALTER TABLE t DETACH PARTITION tp;
614614
SELECT conname, conparentid, conislocal, coninhcount
615-
FROM pg_constraint WHERE conname IN ('tp_pkey', 'tp_b_a_key');
615+
FROM pg_constraint WHERE conname IN ('tp_pkey', 'tp_b_a_key')
616+
ORDER BY conname DESC;
616617
conname | conparentid | conislocal | coninhcount
617618
------------+-------------+------------+-------------
618619
tp_pkey | 0 | t | 0

0 commit comments

Comments
 (0)