Hello
After a bit more testing, I think there's still a remaining issue with
the latest patch:
create table root_t (a int constraint c check (a > 0) enforced);
create table p2 (a int constraint c check (a > 0) enforced);
create table d () inherits (root_t, p2);
create table e () inherits (d);
create table f () inherits (e);
alter table root_t alter constraint c not enforced;
insert into e values (-5); -- succeeds
d remains enforced as it should, but e and f doesn't.