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

From Alvaro Herrera
Subject Re: bootstrap pg_shseclabel in relcache initialization
Date
Msg-id 20151109190146.GA614468@alvherre.pgsql
Whole thread Raw
In response to 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
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.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Minor comment improvement to create_foreignscan_plan
Next
From: Ildus Kurbangaliev
Date:
Subject: Re: [PATCH] Refactoring of LWLock tranches