| От | David Garamond |
|---|---|
| Тема | Re: Any reason not to use inheritance? |
| Дата | |
| Msg-id | 414FC009.2060506@zara.6.isreserved.com обсуждение исходный текст |
| Ответ на | Any reason not to use inheritance? (jao@geophile.com) |
| Список | pgsql-general |
jao@geophile.com wrote: > Any reason not to use inheritance? Inheritance is certainly very useful/convenient especially for "table partitioning" (though not the same as in Oracle) and for modeling supertype-subtype stuffs. The only drawback I see is that the implementation is still lacking in several area, e.g. no hierarchy-wide unique constraints, so you'll have to resort to triggers. And there doesn't seem to be many people using it at the moment, so if there were a bug then it might get fixed less quickly. Ironically, the last sentence could be argued as the reason *to* use inheritance in Postgres, to get more people using and testing it. :-) -- dave
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера