pgsql: Fix failure to set correct operator in window run condition

2022-08-04 Thread David Rowley
Fix failure to set correct operator in window run condition This was a simple omission in 9d9c02ccd where the code didn't correctly set the operator to use in the run condition OpExpr when the window function was both monotonically increasing and decreasing. Bug discovered by Julien Roze, althoug

pgsql: Fix failure to set correct operator in window run condition

2022-08-04 Thread David Rowley
Fix failure to set correct operator in window run condition This was a simple omission in 9d9c02ccd where the code didn't correctly set the operator to use in the run condition OpExpr when the window function was both monotonically increasing and decreasing. Bug discovered by Julien Roze, althoug