@@ -1997,7 +1997,8 @@ select conrelid::regclass, conname, contype, conkey,
1997
1997
(select attname from pg_attribute where attrelid = conrelid and attnum = conkey[1]),
1998
1998
coninhcount, conislocal, connoinherit
1999
1999
from pg_constraint where contype in ('n','p') and
2000
- conrelid in ('inh_child'::regclass, 'inh_parent'::regclass);
2000
+ conrelid in ('inh_child'::regclass, 'inh_parent'::regclass)
2001
+ order by 1, 2;
2001
2002
conrelid | conname | contype | conkey | attname | coninhcount | conislocal | connoinherit
2002
2003
------------+-----------------------+---------+--------+---------+-------------+------------+--------------
2003
2004
inh_parent | inh_parent_a_not_null | n | {1} | a | 0 | t | f
@@ -2009,7 +2010,8 @@ select conrelid::regclass, conname, contype, conkey,
2009
2010
(select attname from pg_attribute where attrelid = conrelid and attnum = conkey[1]),
2010
2011
coninhcount, conislocal, connoinherit
2011
2012
from pg_constraint where contype in ('n','p') and
2012
- conrelid in ('inh_child'::regclass, 'inh_parent'::regclass);
2013
+ conrelid in ('inh_child'::regclass, 'inh_parent'::regclass)
2014
+ order by 1, 2;
2013
2015
conrelid | conname | contype | conkey | attname | coninhcount | conislocal | connoinherit
2014
2016
------------+-----------------------+---------+--------+---------+-------------+------------+--------------
2015
2017
inh_parent | inh_parent_a_not_null | n | {1} | a | 0 | t | f
@@ -2021,7 +2023,8 @@ select conrelid::regclass, conname, contype, conkey,
2021
2023
(select attname from pg_attribute where attrelid = conrelid and attnum = conkey[1]),
2022
2024
coninhcount, conislocal, connoinherit
2023
2025
from pg_constraint where contype in ('n','p') and
2024
- conrelid in ('inh_child'::regclass, 'inh_parent'::regclass);
2026
+ conrelid in ('inh_child'::regclass, 'inh_parent'::regclass)
2027
+ order by 1, 2;
2025
2028
conrelid | conname | contype | conkey | attname | coninhcount | conislocal | connoinherit
2026
2029
----------+---------+---------+--------+---------+-------------+------------+--------------
2027
2030
(0 rows)
0 commit comments