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 1j9uAQ-0000ki-ND for pgsql-hackers@arkaria.postgresql.org; Thu, 05 Mar 2020 17:20:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1j9uAO-0004YD-86 for pgsql-hackers@arkaria.postgresql.org; Thu, 05 Mar 2020 17:20:12 +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 1j9uAN-0004Y6-Vd for pgsql-hackers@lists.postgresql.org; Thu, 05 Mar 2020 17:20:12 +0000 Received: from relay7-d.mail.gandi.net ([217.70.183.200]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j9uAG-0002Fo-Mm for pgsql-hackers@lists.postgresql.org; Thu, 05 Mar 2020 17:20:11 +0000 X-Originating-IP: 185.94.189.189 Received: from [10.8.8.2] (unknown [185.94.189.189]) (Authenticated sender: vik@postgresfriends.org) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 0008C20009; Thu, 5 Mar 2020 17:20:00 +0000 (UTC) Subject: Re: Retiring support for pre-7.3 FK constraint triggers To: Tom Lane , Daniel Gustafsson Cc: Alvaro Herrera , Postgres hackers References: <20200305143041.GA7031@alvherre.pgsql> <1154.1583419325@sss.pgh.pa.us> <3685.1583422389@sss.pgh.pa.us> From: Vik Fearing Message-ID: <6f973fcb-64e6-341f-50c4-c467e8901c1d@postgresfriends.org> Date: Thu, 5 Mar 2020 18:19:59 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <3685.1583422389@sss.pgh.pa.us> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 05/03/2020 16:33, Tom Lane wrote: > Elsewhere in indexcmds.c, there's this: > > /* > * Hack to provide more-or-less-transparent updating of old RTREE > * indexes to GiST: if RTREE is requested and not found, use GIST. > */ > if (strcmp(accessMethodName, "rtree") == 0) > { > ereport(NOTICE, > (errmsg("substituting access method \"gist\" for obsolete method \"rtree\""))); > accessMethodName = "gist"; > tuple = SearchSysCache1(AMNAME, PointerGetDatum(accessMethodName)); > } Aww, this one is in my list of gotcha trivia questions. That's not a reason not to remove it, of course. -- Vik Fearing