bug5777: LAG function returns invalid answer on a float column
Make DOUBLE and FLOAT distinguishable in window functions.