Re: moving some code out of explain.c - Mailing list pgsql-hackers

From Robert Haas
Subject Re: moving some code out of explain.c
Date
Msg-id CA+TgmoYRpVzHkscvGH-rvT273SNCXO70U_yBB1Rty7KO_N5eQg@mail.gmail.com
Whole thread Raw
In response to Re: moving some code out of explain.c  (Peter Geoghegan <pg@bowt.ie>)
Responses Re: moving some code out of explain.c
Re: moving some code out of explain.c
List pgsql-hackers
On Tue, Feb 18, 2025 at 1:11 PM Peter Geoghegan <pg@bowt.ie> wrote:
> On Tue, Feb 18, 2025 at 1:04 PM Robert Haas <robertmhaas@gmail.com> wrote:
> > I think in cases like this there is a tendency to want to achieve an
> > even split of the original file, but in practice I think that tends
> > not to be difficult to achieve. These two patches combined move about
> > 1000 lines of code into separate files, which I think is actually
> > quite a good result for a refactoring of this sort. We might want to
> > split it up even more, but I don't feel like that has to be done in
> > the first set of patches or that all such patches have to come from
> > me. So I propose to do just this much for now.
> >
> > Comments?
>
> Seems like a good idea to me.

Thanks for the quick response! I have committed these patches.

I see that the Redis-FDW test is failing; it will now need to include
"commands/explain_format.h" -- unless we  something, of course.

--
Robert Haas
EDB: http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: Adding skip scan (including MDAM style range skip scan) to nbtree
Next
From: "David G. Johnston"
Date:
Subject: Re: Improve documentation regarding custom settings, placeholders, and the administrative functions