Inhterit fix
Inhterit fix
От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:
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] -- Bruce Momjian | http://www.op.net/~candle pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
Re: Inhterit fix
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Bruce Momjian 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