Re: Retiring support for pre-7.3 FK constraint triggers

Поиск
Список
Период
Сортировка
От Vik Fearing
Тема Re: Retiring support for pre-7.3 FK constraint triggers
Дата
Msg-id 6f973fcb-64e6-341f-50c4-c467e8901c1d@postgresfriends.org
обсуждение исходный текст
Ответ на Re: Retiring support for pre-7.3 FK constraint triggers  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Julien Rouhaud
Дата:
Сообщение: Re: reindex concurrently and two toast indexes
Следующее
От: Antonin Houska
Дата:
Сообщение: Atomics in localbuf.c