| От | Verena Ruff |
|---|---|
| Тема | Re: index not used with inherited tables |
| Дата | |
| Msg-id | 44648116.6020908@triosolutions.at обсуждение исходный текст |
| Ответ на | Re: index not used with inherited tables (Sean Davis <sdavis2@mail.nih.gov>) |
| Ответы |
Re: index not used with inherited tables
|
| Список | pgsql-novice |
Hi, Sean Davis schrieb: >> one of these child tables is mitarbeiter: >> CREATE TABLE mitarbeiter >> ( >> -- some fields -- >> CONSTRAINT pers_id_pk_mitarbeiter PRIMARY KEY (pers_id) >> ) INHERITS (person) >> > Hi, Verena. See here: > > http://www.postgresql.org/docs/8.1/interactive/ut ddl-inherit.html > > Notice the "Caveats" section at the bottom. Indexes are not inherited But I define a new primary key constraint in the child table, using the column frm the parent. Shouldn't create this an index implicitly? Regards, Verena
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера