Re: bootstrap pg_shseclabel in relcache initialization - Mailing list pgsql-hackers

From Adam Brightwell
Subject Re: bootstrap pg_shseclabel in relcache initialization
Date
Msg-id CAE_9P=iw1W-6QiDiHWCQQ7Lf+AanRS-i1q8ZYWY3xFyiaJQyaA@mail.gmail.com
Whole thread Raw
In response to Re: bootstrap pg_shseclabel in relcache initialization  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: bootstrap pg_shseclabel in relcache initialization  (Andres Freund <andres@anarazel.de>)
List 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 by date:

Previous
From: Noah Misch
Date:
Subject: Re: clearing opfuncid vs. parallel query
Next
From: Andres Freund
Date:
Subject: Re: bootstrap pg_shseclabel in relcache initialization