Re: Using "object orientated" tables?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Using "object orientated" tables?
Дата
Msg-id 39422.1652233803@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Using "object orientated" tables?  (Simon Connah <simon.n.connah@protonmail.com>)
Ответы Re: Using "object orientated" tables?  (Simon Connah <simon.n.connah@protonmail.com>)
Список pgsql-novice
Simon Connah <simon.n.connah@protonmail.com> writes:
> I was wondering what the community thought of using table inheritance in PostgreSQL? Is it considered bad practice
thesedays? 

Mmm ... not if the various caveats[1] don't bother you.  The biggest
stumbling block for most people, I think, is that you can't have
foreign keys that reference the whole inheritance hierarchy.

            regards, tom lane

[1] https://www.postgresql.org/docs/current/ddl-inherit.html#DDL-INHERIT-CAVEATS



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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: Using "object orientated" tables?
Следующее
От: Simon Connah
Дата:
Сообщение: Re: Using "object orientated" tables?