Re: Using "object orientated" tables? - Mailing list pgsql-novice

From Simon Connah
Subject Re: Using "object orientated" tables?
Date
Msg-id GplscGquyyDz8je2GgcpHDCPH3ukKsBVcesYOPKad8WHDghgfl9IfM4aMYKcWA-BK6-PXcK1EqfGZI6k2-io8Vr3oaLlmmpJ4XyVYFBXxzw=@protonmail.com
Whole thread Raw
In response to Re: Using "object orientated" tables?  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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.
Attachment

pgsql-novice by date:

Previous
From: Simon Connah
Date:
Subject: Re: Using "object orientated" tables?
Next
From: Stephen Froehlich
Date:
Subject: RE: Using "object orientated" tables?