Re: bootstrap pg_shseclabel in relcache initialization

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: bootstrap pg_shseclabel in relcache initialization
Дата
Msg-id 20151110044446.GN32209@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: bootstrap pg_shseclabel in relcache initialization  (Adam Brightwell <adam.brightwell@crunchydata.com>)
Ответы Re: bootstrap pg_shseclabel in relcache initialization
Список pgsql-hackers
On 2015-11-09 23:38:57 -0500, Adam Brightwell wrote:
> >> @@ -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 */

NUM_CRITICAL_SHARED_RELS != NUM_CRITICAL_SHARED_INDEXES



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

Предыдущее
От: Adam Brightwell
Дата:
Сообщение: Re: bootstrap pg_shseclabel in relcache initialization
Следующее
От: Adam Brightwell
Дата:
Сообщение: Re: bootstrap pg_shseclabel in relcache initialization