From: | Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com> |
---|---|
To: | robertmhaas(at)gmail(dot)com |
Cc: | pgsql-hackers(at)lists(dot)postgresql(dot)org |
Subject: | Re: DropRelFileLocatorBuffers |
Date: | 2022-07-08 02:52:45 |
Message-ID: | 20220708.115245.132928042192781437.horikyota.ntt@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
At Thu, 7 Jul 2022 21:13:59 -0400, Robert Haas <robertmhaas(at)gmail(dot)com> wrote in
> On Thu, Jul 7, 2022 at 8:22 PM Kyotaro Horiguchi
> <horikyota(dot)ntt(at)gmail(dot)com> wrote:
> > Thanks for the reply.
> >
> > Yes if it is "RelFileLocator when we're talking about all the things
> > that are needed to locate a relation's files on disk,". I read this as
> > RelFileLocator is a kind of pointer to files. I thought RelFileNode
> > as a pointer as well as the storage itself. The difference of the two
> > for me could be analogized as the difference between "DropFileBuffers"
> > and "DropFileNameBuffers". I think the latter is usually spelled as
> > "DropBuffersByFileNames" or such.
> >
> > Though, I don't want to keep fighting any further if others don't feel
> > it uneasy ;)
>
> I wouldn't mind if we took "Locator" out of the name of that function
> and just called it DropRelFileBuffers or DropRelationBuffers or
> something. That would be shorter, and maybe more intuitive.
Thanks. Will propose that.
> I wasn't quite able to understand whether your original question was
> prompted by having missed the commit in question, or whether you
> disagreed with it, so that's why I asked whether you had seen the
> commit message.
The commit message is very helpful to understand the aim of the patch.
regards.
--
Kyotaro Horiguchi
NTT Open Source Software Center
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2022-07-08 04:24:36 | Re: AIX support - alignment issues |
Previous Message | Zhao Rui | 2022-07-08 02:51:16 | Re:Improving RLS planning |