Re: Retiring support for pre-7.3 FK constraint triggers - Mailing list pgsql-hackers

From Vik Fearing
Subject Re: Retiring support for pre-7.3 FK constraint triggers
Date
Msg-id 6f973fcb-64e6-341f-50c4-c467e8901c1d@postgresfriends.org
Whole thread Raw
In response to Re: Retiring support for pre-7.3 FK constraint triggers  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
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



pgsql-hackers by date:

Previous
From: Julien Rouhaud
Date:
Subject: Re: reindex concurrently and two toast indexes
Next
From: Antonin Houska
Date:
Subject: Atomics in localbuf.c