pgsql: Disable WindowAgg inverse transitions when subplans are present

2023-02-12 Thread David Rowley
Disable WindowAgg inverse transitions when subplans are present When an aggregate function is used as a WindowFunc and a tuple transitions out of the window frame, we ordinarily try to make use of the aggregate function's inverse transition function to "unaggregate" the exiting tuple. This optimi

pgsql: Disable WindowAgg inverse transitions when subplans are present

2023-02-12 Thread David Rowley
Disable WindowAgg inverse transitions when subplans are present When an aggregate function is used as a WindowFunc and a tuple transitions out of the window frame, we ordinarily try to make use of the aggregate function's inverse transition function to "unaggregate" the exiting tuple. This optimi

pgsql: Disable WindowAgg inverse transitions when subplans are present

2023-02-12 Thread David Rowley
Disable WindowAgg inverse transitions when subplans are present When an aggregate function is used as a WindowFunc and a tuple transitions out of the window frame, we ordinarily try to make use of the aggregate function's inverse transition function to "unaggregate" the exiting tuple. This optimi

pgsql: Disable WindowAgg inverse transitions when subplans are present

2023-02-12 Thread David Rowley
Disable WindowAgg inverse transitions when subplans are present When an aggregate function is used as a WindowFunc and a tuple transitions out of the window frame, we ordinarily try to make use of the aggregate function's inverse transition function to "unaggregate" the exiting tuple. This optimi

pgsql: Disable WindowAgg inverse transitions when subplans are present

2023-02-12 Thread David Rowley
Disable WindowAgg inverse transitions when subplans are present When an aggregate function is used as a WindowFunc and a tuple transitions out of the window frame, we ordinarily try to make use of the aggregate function's inverse transition function to "unaggregate" the exiting tuple. This optimi

pgsql: Disable WindowAgg inverse transitions when subplans are present

2023-02-12 Thread David Rowley
Disable WindowAgg inverse transitions when subplans are present When an aggregate function is used as a WindowFunc and a tuple transitions out of the window frame, we ordinarily try to make use of the aggregate function's inverse transition function to "unaggregate" the exiting tuple. This optimi