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

From Adam Brightwell
Subject Re: bootstrap pg_shseclabel in relcache initialization
Date
Msg-id CAE_9P=gZ31wY5dstBifiKxdaQbbsLY3OmCXtycPRQPc_kxSKjw@mail.gmail.com
Whole thread Raw
In response to Re: bootstrap pg_shseclabel in relcache initialization  (Andres Freund <andres@anarazel.de>)
Responses Re: bootstrap pg_shseclabel in relcache initialization  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: bootstrap pg_shseclabel in relcache initialization
Next
From: Tom Lane
Date:
Subject: Re: bootstrap pg_shseclabel in relcache initialization