From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Achilleas Mantzios - cloud <a.mantzios@cloud.gatewaynet.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: PostgreSQL inheritance vs https://wiki.postgresql.org/wiki/Don%27t_Do_This
Date: Mon, 23 Oct 2023 16:01:56 +0200
Message-ID: <202310231401.y5y5daugt7yn@alvherre.pgsql> (raw)
In-Reply-To: <2f106761-daa8-6b26-013e-884da25322c2@cloud.gatewaynet.com>
On 2023-Oct-23, Achilleas Mantzios - cloud wrote:
> I believe this text is false on too many accounts. So, what's the consensus
> about Inheritance in PostgreSQL, I am going to give a talk on it in November
> and I wouldn't like to advertise/promote/teach something that the community
> has decided to abandon or drop. Actually I proposed several topics and they
> chose this one (Inheritance).
There are several things wrong with table inheritance; see [1] in our
docs, in addition to the things that the wiki page notes. I think it's
good advice to stay clear of it, and if you're giving a talk, do not
talk about inheritance except to mention its drawbacks. Regarding your
talk, I would strongly suggest to ask them to choose another topic from
your list.
[1] https://www.postgresql.org/docs/16/ddl-inherit.html#DDL-INHERIT-CAVEATS
--
Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/
"Investigación es lo que hago cuando no sé lo que estoy haciendo"
(Wernher von Braun)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: alvherre@alvh.no-ip.org, a.mantzios@cloud.gatewaynet.com
Subject: Re: PostgreSQL inheritance vs https://wiki.postgresql.org/wiki/Don%27t_Do_This
In-Reply-To: <202310231401.y5y5daugt7yn@alvherre.pgsql>
References: <2f106761-daa8-6b26-013e-884da25322c2@cloud.gatewaynet.com> <202310231401.y5y5daugt7yn@alvherre.pgsql>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox