Re: Remove unused parameter form find_window_run_conditions()

David Rowley <dgrowleyml@gmail.com>

From: David Rowley <dgrowleyml@gmail.com>
To: Matheus Alcantara <matheusssilv97@gmail.com>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2025-09-29T19:40:10Z
Lists: pgsql-hackers
On Tue, 30 Sept 2025 at 02:23, Matheus Alcantara
<matheusssilv97@gmail.com> wrote:
> Reading find_window_run_conditions() the RangeTableEntry *rte parameter
> is not being used by find_window_run_conditions() and
> check_and_push_window_quals(). The attached patch remove this parameter
> from both functions.
>
> The 4be9024d573 also remove unused parameter for both functions and
> after studying more these functions I founded that the RangeTableEntry
> is not being used as well. I've checked the other parameters and all
> seems to be used now.

Well, I guess we'd better remove that one too. Thanks for the patch.

This time I checked the remaining ones, and it seems there are no
other unused ones this time.

Pushed.

David



Commits

  1. Remove unused parameter from find_window_run_conditions()