Leetcode Window Function Postgresql Version History