Re: bootstrap pg_shseclabel in relcache initialization

Поиск
Список
Период
Сортировка
От Adam Brightwell
Тема Re: bootstrap pg_shseclabel in relcache initialization
Дата
Msg-id CAE_9P=iw1W-6QiDiHWCQQ7Lf+AanRS-i1q8ZYWY3xFyiaJQyaA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: bootstrap pg_shseclabel in relcache initialization  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: bootstrap pg_shseclabel in relcache initialization
Список pgsql-hackers
>> @@ -3365,6 +3370,8 @@ RelationCacheInitializePhase3(void)
>>                                                       AuthIdRelationId);
>>               load_critical_index(AuthMemMemRoleIndexId,
>>                                                       AuthMemRelationId);
>> +             load_critical_index(SharedSecLabelObjectIndexId,
>> +                                                     SharedSecLabelRelationId);
>>
>>  #define NUM_CRITICAL_SHARED_INDEXES 5        /* fix if you change list above */
>>
>
> Need to bump this #define?  If you didn't get the error that this is
> supposed to throw, perhaps there's a bug somewhere worth investigating.

Hmm... I thought that I had, are you not seeing the following change?

-#define NUM_CRITICAL_SHARED_RELS    3    /* fix if you change list above */
+#define NUM_CRITICAL_SHARED_RELS    4    /* fix if you change list above */

-Adam



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

Предыдущее
От: Noah Misch
Дата:
Сообщение: Re: clearing opfuncid vs. parallel query
Следующее
От: Andres Freund
Дата:
Сообщение: Re: bootstrap pg_shseclabel in relcache initialization