From: | eggyknap <eggyknap(at)gmail(dot)com> |
---|---|
To: | pgsql-docs(at)postgresql(dot)org |
Subject: | Minor quibble with description of WINDOW clause |
Date: | 2013-06-05 03:05:57 |
Message-ID: | 51aeaae5.a5ac420a.05d9.4850@mx.google.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-docs |
The way the WINDOW clause docs are currently worded, it's clear from the
grammar tree that such clauses come toward the end of the query. But this
phrase made me wonder, incorrectly, whether they were supposed to come before
calls to window functions, somehow:
"...where window_name is a name that can be referenced from subsequent window
definitions or OVER clauses"
See http://www.postgresql.org/docs/9.3/static/sql-select.html#SQL-WINDOW for
the full context.
I'd have preferred to see "...from OVER clauses or subsequent window
definitions", which the attached simple patch does. And if I'm the only one
that likes the idea of such a change, I'll gladly go away quietly. :)
--
Joshua Tolley / eggyknap
End Point Corporation
http://www.endpoint.com
Attachment | Content-Type | Size |
---|---|---|
window.doc.patch | text/x-diff | 852 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2013-06-07 01:04:27 | Re: VALUES lists aliases |
Previous Message | Marko Tiikkaja | 2013-06-04 22:29:41 | Re: ALTER TABLE lock level |