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

From Andres Freund
Subject Re: bootstrap pg_shseclabel in relcache initialization
Date
Msg-id 20151110044446.GN32209@alap3.anarazel.de
Whole thread Raw
In response to Re: bootstrap pg_shseclabel in relcache initialization  (Adam Brightwell <adam.brightwell@crunchydata.com>)
Responses Re: bootstrap pg_shseclabel in relcache initialization  (Adam Brightwell <adam.brightwell@crunchydata.com>)
List 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 by date:

Previous
From: Adam Brightwell
Date:
Subject: Re: bootstrap pg_shseclabel in relcache initialization
Next
From: Adam Brightwell
Date:
Subject: Re: bootstrap pg_shseclabel in relcache initialization