inheritance vs 1-1 relationship

Поиск
Список
Период
Сортировка
От culley harrelson
Тема inheritance vs 1-1 relationship
Дата
Msg-id 20030518043634.05A4B61569@smtp.us2.messagingengine.com
обсуждение исходный текст
Ответы Re: inheritance vs 1-1 relationship  (Reece Hart <rkh@gene.COM>)
Список pgsql-general
Inheritance seems pretty nifty.  I am at a point where I would normall
create a 1-1 relation ship where the primary key of a table is also a
foreign key on another table but it seems like inheritance would
essentially do the same thing + save me from having to write joins in my
selects and having to do 2 part inserts.  Are there any drawbacks to
inheritance other than a decrease in portability?

culley

В списке pgsql-general по дате отправления:

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Query changes
Следующее
От: "Matthew T. O'Connor"
Дата:
Сообщение: Lists working?