Re: bootstrap pg_shseclabel in relcache initialization

From: Adam Brightwell <adam(dot)brightwell(at)crunchydata(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: bootstrap pg_shseclabel in relcache initialization
Date: 2015-11-10 05:15:10
Message-ID: CAE_9P=gZ31wY5dstBifiKxdaQbbsLY3OmCXtycPRQPc_kxSKjw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>> >> #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

Whoops! It must be getting late... updated patch attached.

-Adam

Attachment Content-Type Size
bootstrap-pg_shseclabel-relcache-v2.patch text/x-diff 4.0 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2015-11-10 05:28:54 Re: bootstrap pg_shseclabel in relcache initialization
Previous Message Andres Freund 2015-11-10 04:44:46 Re: bootstrap pg_shseclabel in relcache initialization