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 1j9rvd-0000jw-Fs for pgsql-hackers@arkaria.postgresql.org; Thu, 05 Mar 2020 14:56:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1j9rvc-0001ms-7b for pgsql-hackers@arkaria.postgresql.org; Thu, 05 Mar 2020 14:56:48 +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 1j9rvb-0001ml-V0 for pgsql-hackers@lists.postgresql.org; Thu, 05 Mar 2020 14:56:47 +0000 Received: from mail.thelabyrinth.net ([45.56.70.56]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j9rvY-00010y-T9 for pgsql-hackers@lists.postgresql.org; Thu, 05 Mar 2020 14:56:47 +0000 Received: from Davids-MacBook-Pro.local (c-73-39-102-148.hsd1.md.comcast.net [73.39.102.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: dsteele) by mail.thelabyrinth.net (Postfix) with ESMTPSA id 4D7CA5465C; Thu, 5 Mar 2020 14:56:41 +0000 (UTC) Subject: Re: Retiring support for pre-7.3 FK constraint triggers To: Tom Lane , Alvaro Herrera , Daniel Gustafsson Cc: Postgres hackers References: <20200305143041.GA7031@alvherre.pgsql> <1154.1583419325@sss.pgh.pa.us> From: David Steele Message-ID: <87bc3573-ea08-1da6-b119-bcba034e990f@pgmasters.net> Date: Thu, 5 Mar 2020 09:56:40 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <1154.1583419325@sss.pgh.pa.us> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 3/5/20 9:42 AM, Tom Lane wrote: > 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. AFAICT 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. +1. CF entry added: https://commitfest.postgresql.org/27/2506 Regards, -- -David david@pgmasters.net