Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1j9rhX-0008RR-Bq for pgsql-hackers@arkaria.postgresql.org; Thu, 05 Mar 2020 14:42:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1j9rhW-00069Y-1g for pgsql-hackers@arkaria.postgresql.org; Thu, 05 Mar 2020 14:42:14 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1j9rhV-00069R-PB for pgsql-hackers@lists.postgresql.org; Thu, 05 Mar 2020 14:42:13 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j9rhR-0000sf-Kr for pgsql-hackers@lists.postgresql.org; Thu, 05 Mar 2020 14:42:13 +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 025Eg53V001155; Thu, 5 Mar 2020 09:42:05 -0500 From: Tom Lane To: Alvaro Herrera cc: Daniel Gustafsson , Postgres hackers Subject: Re: Retiring support for pre-7.3 FK constraint triggers In-reply-to: <20200305143041.GA7031@alvherre.pgsql> References: <20200305143041.GA7031@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Thu, 05 Mar 2020 11:30:41 -0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1153.1583419325.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 05 Mar 2020 09:42:05 -0500 Message-ID: <1154.1583419325@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Alvaro Herrera writes: > On 2020-Mar-05, Daniel Gustafsson wrote: >> While looking at the tg_updatedcols patch I happened to notice that we = still >> support pre-7.3 constraint triggers by converting them on the fly. AFA= ICT this >> requires a pre-7.3 dump to hit. > I know it's a late in the cycle for patches in commitfest, but why not > consider this for pg13 nonetheless? It seems simple enough. Also, per > https://coverage.postgresql.org/src/backend/commands/trigger.c.gcov.html > this is the only large chunk of uncovered code in commands/trigger.c. +1 --- I think this fits in well with my nearby proposal to remove OPAQUE, which is also only relevant for pre-7.3 dumps. Let's just nuke that stuff. regards, tom lane