]> granicus.if.org Git - postgresql/commit
Doc: update documentation for requirement of ORDER BY in GROUPS mode.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 12 Jul 2018 15:10:24 +0000 (11:10 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 12 Jul 2018 15:10:33 +0000 (11:10 -0400)
commit663060e8c3832ea8388e4ae128420f76680e5fe9
treee8e3bddc3f5fa78a1609ea0fe1c451149ed76626
parent0527df732beb8c2d584c7e4ea5aeb05cf92e14a2
Doc: update documentation for requirement of ORDER BY in GROUPS mode.

Commit ff4f88916 adjusted the code to enforce the SQL spec's requirement
that a window using GROUPS mode must have an ORDER BY clause.  But I missed
that the documentation explicitly said you didn't have to have one.

Also minor wordsmithing in the window-function section of select.sgml.

Per Masahiko Sawada, though I didn't use his patch.
doc/src/sgml/ref/select.sgml
doc/src/sgml/syntax.sgml