Re: Removed unused import modules from tap tests - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Re: Removed unused import modules from tap tests
Date
Msg-id C8921A82-0689-4169-8C49-2175B86F3098@yesql.se
Whole thread Raw
In response to Re: Removed unused import modules from tap tests  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Responses Re: Removed unused import modules from tap tests
List pgsql-hackers
> On 10 Nov 2021, at 13:37, Alvaro Herrera <alvherre@alvh.no-ip.org> wrote:
>
> On 2021-Nov-10, Michael Paquier wrote:
>
>> I would not have bothered changing things if the names of the modules
>> were the same across stable branches to minimize merge conflicts.
>>
>> However, everything has changed on HEAD, so there is a good argument
>> for simplifying the tests as you are proposing here.  Any thoughts
>> from others?
>
> I agree with your reasoning..

Agreed, if we are ever to do it now would be the time.

> ..but I wonder what's the *benefit* of removing those includes.  IOW, what's
> the reason not to simply drop the patch?


I think the value is mostly neatnikism, the actual effect on runtime is
unlikely to be measureable.  I won't argue against doing it, but I suspect
we'll just slowly add a lot of these back as tests evolve making excercise
less useful.

--
Daniel Gustafsson        https://vmware.com/




pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Commitfest 2021-11 Patch Triage - Part 2
Next
From: Dagfinn Ilmari Mannsåker
Date:
Subject: Re: prevent immature WAL streaming