Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fqf86-0005ue-Gt for pgsql-bugs@arkaria.postgresql.org; Fri, 17 Aug 2018 13:49:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fqf84-0002Wa-87 for pgsql-bugs@arkaria.postgresql.org; Fri, 17 Aug 2018 13:49:28 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fqf84-0002WT-2E for pgsql-bugs@lists.postgresql.org; Fri, 17 Aug 2018 13:49:28 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fqf81-0007GJ-02 for pgsql-bugs@postgresql.org; Fri, 17 Aug 2018 13:49:27 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w7HDnLca014263; Fri, 17 Aug 2018 09:49:21 -0400 From: Tom Lane To: Piotr Stegmann cc: pgsql-bugs@postgresql.org Subject: Re: sql_inheritance In-reply-to: References: Comments: In-reply-to Piotr Stegmann message dated "Fri, 17 Aug 2018 11:35:32 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <14261.1534513761.1@sss.pgh.pa.us> Date: Fri, 17 Aug 2018 09:49:21 -0400 Message-ID: <14262.1534513761@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Piotr Stegmann writes: > in PostgreSQL 10 version was removed param: sql_inheritance. Robert Haas > was explained why was this happend. Hovewer, we are using PostgreSQL since > 2004 and using some other developers replication system for which this > param was important. This is one thing. Other thing is that our software > was unable to make upgrade because one of sql upgrade script use > sql_inheritance. So we cant do that. At this moment we are unable to do > upgrade our software because of not compatible with older version. We cant > offer new PostgreSQL version because of error in our upgrade system. > Is it possible to bring it back? No, I don't think we're going to do that. The behavior with sql_inheritance = off has been deprecated since 2000; that seems like more than enough time to have adjusted any software depending on it. Furthermore, keeping the variable is not without cost, because really any software that depends on the normal behavior ought to be capable of dealing with the case where it's been turned off. In practice nobody does that, meaning that there's surely a lot of latent bugs caused by its existence. If we had kept it, we'd also have had to figure out its interaction with the new partitioning features, which is a mess nobody wanted to deal with. So that's probably why it went away when it did and not at some other time ... but really, it had little excuse to live. regards, tom lane