pgsql: Fix unnecessary use of moving-aggregate mode with non-moving fra

2024-03-27 Thread Tom Lane
Fix unnecessary use of moving-aggregate mode with non-moving frame. When a plain aggregate is used as a window function, and the window frame start is specified as UNBOUNDED PRECEDING, the frame's head cannot move so we do not need to use moving-aggregate mode. The check for that was put into

pgsql: Fix unnecessary use of moving-aggregate mode with non-moving fra

2024-03-27 Thread Tom Lane
Fix unnecessary use of moving-aggregate mode with non-moving frame. When a plain aggregate is used as a window function, and the window frame start is specified as UNBOUNDED PRECEDING, the frame's head cannot move so we do not need to use moving-aggregate mode. The check for that was put into

pgsql: Fix unnecessary use of moving-aggregate mode with non-moving fra

2024-03-27 Thread Tom Lane
Fix unnecessary use of moving-aggregate mode with non-moving frame. When a plain aggregate is used as a window function, and the window frame start is specified as UNBOUNDED PRECEDING, the frame's head cannot move so we do not need to use moving-aggregate mode. The check for that was put into

pgsql: Fix unnecessary use of moving-aggregate mode with non-moving fra

2024-03-27 Thread Tom Lane
Fix unnecessary use of moving-aggregate mode with non-moving frame. When a plain aggregate is used as a window function, and the window frame start is specified as UNBOUNDED PRECEDING, the frame's head cannot move so we do not need to use moving-aggregate mode. The check for that was put into

pgsql: Fix unnecessary use of moving-aggregate mode with non-moving fra

2024-03-27 Thread Tom Lane
Fix unnecessary use of moving-aggregate mode with non-moving frame. When a plain aggregate is used as a window function, and the window frame start is specified as UNBOUNDED PRECEDING, the frame's head cannot move so we do not need to use moving-aggregate mode. The check for that was put into

pgsql: Fix unnecessary use of moving-aggregate mode with non-moving fra

2024-03-27 Thread Tom Lane
Fix unnecessary use of moving-aggregate mode with non-moving frame. When a plain aggregate is used as a window function, and the window frame start is specified as UNBOUNDED PRECEDING, the frame's head cannot move so we do not need to use moving-aggregate mode. The check for that was put into