Re: bootstrap pg_shseclabel in relcache initialization

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Adam Brightwell <adam(dot)brightwell(at)crunchydata(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: bootstrap pg_shseclabel in relcache initialization
Date: 2015-11-09 19:01:46
Message-ID: 20151109190146.GA614468@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ildus Kurbangaliev 2015-11-09 19:32:26 Re: [PATCH] Refactoring of LWLock tranches
Previous Message Robert Haas 2015-11-09 18:53:40 Re: Minor comment improvement to create_foreignscan_plan