Skip to content

Commit 0340eef

Browse files
committed
Add ORDER BY to new test query
Per buildfarm.
1 parent 30ca4e1 commit 0340eef

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/test/regress/expected/constraints.out

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,8 @@ CREATE UNIQUE INDEX t_b_idx ON t (b, a);
639639
ALTER INDEX t_a_idx ATTACH PARTITION tp_pkey;
640640
ALTER INDEX t_b_idx ATTACH PARTITION tp_b_a_key;
641641
SELECT conname, conparentid, conislocal, coninhcount
642-
FROM pg_constraint WHERE conname IN ('tp_pkey', 'tp_b_a_key');
642+
FROM pg_constraint WHERE conname IN ('tp_pkey', 'tp_b_a_key')
643+
ORDER BY conname DESC;
643644
conname | conparentid | conislocal | coninhcount
644645
------------+-------------+------------+-------------
645646
tp_pkey | 0 | t | 0

src/test/regress/sql/constraints.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,8 @@ CREATE UNIQUE INDEX t_b_idx ON t (b, a);
462462
ALTER INDEX t_a_idx ATTACH PARTITION tp_pkey;
463463
ALTER INDEX t_b_idx ATTACH PARTITION tp_b_a_key;
464464
SELECT conname, conparentid, conislocal, coninhcount
465-
FROM pg_constraint WHERE conname IN ('tp_pkey', 'tp_b_a_key');
465+
FROM pg_constraint WHERE conname IN ('tp_pkey', 'tp_b_a_key')
466+
ORDER BY conname DESC;
466467
ALTER TABLE t DETACH PARTITION tp;
467468
DROP TABLE t, tp;
468469

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