Postgres Window Functions Are Not Allowed To Use This Program