Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1quyUS-002PBJ-TZ for pgsql-general@arkaria.postgresql.org; Mon, 23 Oct 2023 17:13:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1quyUQ-00CWnm-GV for pgsql-general@arkaria.postgresql.org; Mon, 23 Oct 2023 17:13:19 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1quyUQ-00CWm5-5X for pgsql-general@lists.postgresql.org; Mon, 23 Oct 2023 17:13:18 +0000 Received: from cloud.gatewaynet.com ([185.90.37.94]) by makus.postgresql.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1quyUO-001wEw-9L for pgsql-general@lists.postgresql.org; Mon, 23 Oct 2023 17:13:17 +0000 Message-ID: Date: Mon, 23 Oct 2023 20:13:11 +0300 MIME-Version: 1.0 Subject: Re: PostgreSQL inheritance vs https://wiki.postgresql.org/wiki/Don%27t_Do_This Content-Language: en-US To: Laurenz Albe , Tom Lane Cc: pgsql-general@lists.postgresql.org References: <2f106761-daa8-6b26-013e-884da25322c2@cloud.gatewaynet.com> <374847.1698071743@sss.pgh.pa.us> <23469ec0-674e-470a-b6eb-dfcb376c5049@cloud.gatewaynet.com> <51f4369e3ebde2652709715da3052650e0f1042a.camel@cybertec.at> From: Achilleas Mantzios In-Reply-To: <51f4369e3ebde2652709715da3052650e0f1042a.camel@cybertec.at> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Στις 23/10/23 20:06, ο/η Laurenz Albe έγραψε: > On Mon, 2023-10-23 at 19:49 +0300, Achilleas Mantzios wrote: >> Tom Lane wrote: >>>  But there are valid use-cases where you >>> actually do want more columns in the child tables than the parent. >> also data departmentalization, consolidation, multi-tenancy are fine use >> cases (same # and types of columns), you can't have writable VIEWs with >> UNION, for me inheritance is a fantastic feature that I use with success >> for some very important projects. > Yes, there are valid and interesting use cases, although you have to > search for them. I am sure it can make an interesting talk. Thank you, I hope so. In my job, family owned business,  shipping, different types of vessels, different business for each type of vessel  both conceptually / functionally and materially , multi-tenancy (ok the illusion of many different systems) + the need of top view of the organization, it fitted like a globe. > > Yours, > Laurenz Albe -- Achilleas Mantzios IT DEV - HEAD IT DEPT Dynacom Tankers Mgmt