Re: [HACKERS] Assertion failure with inherited column mappings and dropped columns

2007-07-12 Thread Tom Lane
Gregory Stark <[EMAIL PROTECTED]> writes: > I got this assertion failure today: > postgres=# create table foo (i integer); > CREATE TABLE > postgres=# alter table foo add j integer; > ALTER TABLE > postgres=# alter table foo drop j; > ALTER TABLE > postgres=# create table foo2 () inherits (foo); >

[HACKERS] Assertion failure with inherited column mappings and dropped columns

2007-07-12 Thread Gregory Stark
I got this assertion failure today: TRAP: FailedAssertion("!(new_max_attr >= oldrel->max_attr)", File: "prepunion.c", Line: 1292) >From running something like this: postgres=# create table foo (i integer); CREATE TABLE postgres=# alter table foo add j integer; ALTER TABLE postgres=# alter tabl