From: | Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> |
---|---|
To: | John Naylor <jcnaylor(at)gmail(dot)com> |
Cc: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: WIP: Avoid creation of the free space map for small tables |
Date: | 2018-12-15 05:05:23 |
Message-ID: | CAA4eK1+8isoPJ=Kib4yKHPZ=_hMN0Xvt-nvAyna-doetebUp3A@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Thu, Dec 13, 2018 at 3:18 AM John Naylor <jcnaylor(at)gmail(dot)com> wrote:
>
> On 11/24/18, Amit Kapila <amit(dot)kapila16(at)gmail(dot)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].
--
With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com
From | Date | Subject | |
---|---|---|---|
Next Message | Haribabu Kommi | 2018-12-15 08:16:25 | Re: Pluggable Storage - Andres's take |
Previous Message | Amit Kapila | 2018-12-15 05:02:18 | unnecessary creation of FSM files during bootstrap mode |