From: | John Naylor <john(dot)naylor(at)2ndquadrant(dot)com> |
---|---|
To: | Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> |
Cc: | Mithun Cy <mithun(dot)cy(at)enterprisedb(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: WIP: Avoid creation of the free space map for small tables |
Date: | 2019-01-16 17:14:49 |
Message-ID: | CACPNZCt-gYYpV2LQNjYHDFq_MDKTzDKRpxAkB3mR4Y2vOoJjVQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Wed, Jan 16, 2019 at 11:40 AM John Naylor
<john(dot)naylor(at)2ndquadrant(dot)com> wrote:
> On Wed, Jan 16, 2019 at 8:41 AM Amit Kapila
<amit(dot)kapila16(at)gmail(dot)com> wrote:
> > can use a macro for the same? I have changed this in the attached
> > patch, see what you think about it. I have used it at a few other
> > places as well.
>
> The macro adds clarity, so I'm in favor of using it.
It just occured to me that the style FSM_LOCAL_MAP_EXISTS seems more
common for macros that refer to constants, and FSMLocalMapExists for
expressions, but I've only seen a small amount of the code base. Do we
have a style preference here, or is it more a matter of matching the
surrounding code?
</amit(dot)kapila16(at)gmail(dot)com></john(dot)naylor(at)2ndquadrant(dot)com>
--
John Naylor https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2019-01-16 17:36:24 | Re: draft patch for strtof() |
Previous Message | Alvaro Herrera | 2019-01-16 17:10:07 | Re: Use an enum for RELKIND_*? |