Re: Inhterit fix - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Inhterit fix
Date
Msg-id 7488.948079383@sss.pgh.pa.us
Whole thread Raw
In response to Inhterit fix  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Tom, does your inherit pass constraints fix apply to anything on the
> TODO list, like:

> * Unique index on base column not honored on inserts from inherited table
>   INSERT INTO inherit_table (unique_index_col) VALUES (dup) should fail
>   [inherit]

No; that was a fix for something that did work in 6.5, but I had
unknowingly broken it :-(.

I guess what the above TODO item is complaining about is that indexes
on a parent table are not duplicated for the child table.  That should
happen, I suppose, but it'll take an all-new chunk of code.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] pg_dump not in very good shape
Next
From: Tom Lane
Date:
Subject: Getting rid of setheapoverride (was Re: [COMMITTERS] heap.c)