On Thu, Dec 13, 2018 at 3:18 AM John Naylor <jcnay...@gmail.com> wrote: > > On 11/24/18, Amit Kapila <amit.kapil...@gmail.com> wrote: > > 4. You have mentioned above that "system catalogs created during > > bootstrap still have a FSM if they have any data." and I can also see > > this behavior, have you investigated this point further? > > I found the cause of this. There is some special-case code in md.c to > create any file if it's opened in bootstrap mode. I removed this and a > similar special case (attached), and make check still passes. After > digging through the history, I'm guessing this has been useless code > since about 2001, when certain special catalogs were removed. >
Good finding, but I think it is better to discuss this part separately. I have started a new thread for this issue [1]. [1] - https://www.postgresql.org/message-id/CAA4eK1KsET6sotf%2BrzOTQfb83pzVEzVhbQi1nxGFYVstVWXUGw%40mail.gmail.com -- With Regards, Amit Kapila. EnterpriseDB: http://www.enterprisedb.com