Fix a reference error for window functions: In the function 'find_window_functions', the deduplication logic should be removed - Mailing list pgsql-hackers

From Meng Zhang
Subject Fix a reference error for window functions: In the function 'find_window_functions', the deduplication logic should be removed
Date
Msg-id CAErYLFAuxmW0UVdgrz7iiuNrxGQnFK_OP9hBD5CUzRgjrVrz=Q@mail.gmail.com
Whole thread Raw
Responses Re: Fix a reference error for window functions: In the function 'find_window_functions', the deduplication logic should be removed
List pgsql-hackers
The deduplication logic won't cause an error when the result of this function is only used in `select_active_windows`. 
But when the result is used in `optimize_window_clauses`, it will cause the `winref` field of a certain window function to not be modified in the new window.
Attachment

pgsql-hackers by date:

Previous
From: Venkat Venkatakrishnan
Date:
Subject: [PATCH] Add monitoring guidance to replication slot documentation
Next
From: Alexander Lakhin
Date:
Subject: Re: pg_stat_statements: add missing tests for nesting_level