Re: Assert failure in ATPrepAddPrimaryKey

2023-09-03 Thread Richard Guo
On Fri, Sep 1, 2023 at 7:48 PM Alvaro Herrera wrote: > On 2023-Sep-01, Richard Guo wrote: > > > I ran into an Assert failure in ATPrepAddPrimaryKey() with the query > > below: > > > > CREATE TABLE t0(c0 boolean); > > CREATE TABLE t1() INHERITS(t0); >

Re: Assert failure in ATPrepAddPrimaryKey

2023-09-01 Thread Alvaro Herrera
On 2023-Sep-01, Richard Guo wrote: > 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 conn

Assert failure in ATPrepAddPrimaryKey

2023-09-01 Thread Richard Guo
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 The related codes are foreach(lc, stmt->indexPar