Re: Retiring support for pre-7.3 FK constraint triggers

From: Vik Fearing <vik(at)postgresfriends(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Daniel Gustafsson <daniel(at)yesql(dot)se>
Cc: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Retiring support for pre-7.3 FK constraint triggers
Date: 2020-03-05 17:19:59
Message-ID: 6f973fcb-64e6-341f-50c4-c467e8901c1d@postgresfriends.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Antonin Houska 2020-03-05 17:21:55 Atomics in localbuf.c
Previous Message Julien Rouhaud 2020-03-05 16:57:07 Re: reindex concurrently and two toast indexes