Re: [HACKERS] May cause infinite loop when initializing rel-cachecontains partitioned table

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: [HACKERS] May cause infinite loop when initializing rel-cachecontains partitioned table
Дата
Msg-id CA+TgmoY8k5XGWqej3Y_fuJsBmQLcv8TRJycmkOPt8vAcyoYioQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] May cause infinite loop when initializing rel-cachecontains partitioned table  (Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>)
Список pgsql-hackers
On Mon, May 8, 2017 at 5:07 AM, Amit Langote
<Langote_Amit_f8@lab.ntt.co.jp> wrote:
> Thanks for bringing it to the notice.  The above code should follow what's
> done for other fields that are initialized by
> RelationCacheInitializePhase3().  Although, since none of the entries in
> the relcache init file are partitioned tables, infinite loop won't occur
> in practice, but it's a good idea to fix the code anyway.
>
> Attached patch does that.

Committed.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: [HACKERS] transition table behavior with inheritance appearsbroken (was: Declarative partitioning - another take)
Следующее
От: Robert Haas
Дата:
Сообщение: Re: [HACKERS] Declarative partitioning - another take