The following documentation comment has been logged on the website: Page: https://www.postgresql.org/docs/15/sql-select.html Description:
The syntax documentation for SELECT in SQL COMMANDS section is unclear in explaining how to use multiple window definitions. It's easy to read it and believe that multiple WINDOW keywords, one for each definition, are correct, which is not the case. See this stackoverflow question and answer on point: https://stackoverflow.com/questions/59651529/multiple-named-windows-in-a-postgres-query Thanks.