@@ -2218,15 +2218,15 @@ select conrelid::regclass, contype, conname,
22182218 from pg_constraint where contype = 'n' and
22192219 conrelid::regclass in ('inh_p1', 'inh_p2', 'inh_p3', 'inh_p4',
22202220 'inh_multiparent')
2221- order by 1, 2 ;
2221+ order by conrelid::regclass::text, conname ;
22222222 conrelid | contype | conname | attname | coninhcount | conislocal
22232223-----------------+---------+--------------------+---------+-------------+------------
2224+ inh_multiparent | n | inh_p1_f1_not_null | f1 | 3 | f
2225+ inh_multiparent | n | inh_p4_f3_not_null | f3 | 1 | f
22242226 inh_p1 | n | inh_p1_f1_not_null | f1 | 0 | t
22252227 inh_p2 | n | inh_p2_f1_not_null | f1 | 0 | t
22262228 inh_p4 | n | inh_p4_f1_not_null | f1 | 0 | t
22272229 inh_p4 | n | inh_p4_f3_not_null | f3 | 0 | t
2228- inh_multiparent | n | inh_p1_f1_not_null | f1 | 3 | f
2229- inh_multiparent | n | inh_p4_f3_not_null | f3 | 1 | f
22302230(6 rows)
22312231
22322232create table inh_multiparent2 (a int not null, f1 int) inherits(inh_p3, inh_multiparent);
@@ -2237,7 +2237,7 @@ select conrelid::regclass, contype, conname,
22372237 coninhcount, conislocal
22382238 from pg_constraint where contype = 'n' and
22392239 conrelid::regclass in ('inh_p3', 'inh_multiparent', 'inh_multiparent2')
2240- order by 1, 2 ;
2240+ order by conrelid::regclass::text, conname ;
22412241 conrelid | contype | conname | attname | coninhcount | conislocal
22422242------------------+---------+-----------------------------+---------+-------------+------------
22432243 inh_multiparent | n | inh_p1_f1_not_null | f1 | 3 | f
0 commit comments