Re: bootstrap pg_shseclabel in relcache initialization

From: Adam Brightwell <adam(dot)brightwell(at)crunchydata(dot)com>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: bootstrap pg_shseclabel in relcache initialization
Date: 2015-11-10 04:38:57
Message-ID: CAE_9P=iw1W-6QiDiHWCQQ7Lf+AanRS-i1q8ZYWY3xFyiaJQyaA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2015-11-10 04:44:46 Re: bootstrap pg_shseclabel in relcache initialization
Previous Message Noah Misch 2015-11-10 04:02:10 Re: clearing opfuncid vs. parallel query