> I ran into an Assert failure in ATPrepAddPrimaryKey() with the query > below: > > CREATE TABLE t0(c0 boolean); > CREATE TABLE t1() INHERITS(t0); > > # ALTER TABLE t0 ADD CONSTRAINT m EXCLUDE ((1) WITH =); > server closed the connection unexpectedly
Ugh, right, I failed to make the new function do nothing for this case; this had no coverage. Fix attached, with some additional test cases based on yours.