Re: Using "object orientated" tables?

Поиск
Список
Период
Сортировка
От Simon Connah
Тема Re: Using "object orientated" tables?
Дата
Msg-id GplscGquyyDz8je2GgcpHDCPH3ukKsBVcesYOPKad8WHDghgfl9IfM4aMYKcWA-BK6-PXcK1EqfGZI6k2-io8Vr3oaLlmmpJ4XyVYFBXxzw=@protonmail.com
обсуждение исходный текст
Ответ на Re: Using "object orientated" tables?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-novice
------- Original Message -------
On Wednesday, May 11th, 2022 at 02:50, Tom Lane <tgl@sss.pgh.pa.us> wrote:


>

>

> 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

Thank you. I'll be sure to read that.

Simon.
Вложения

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

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