pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: eggyknap <eggyknap@gmail.com>
Cc: pgsql-docs@postgresql.org
Subject: Re: Minor quibble with description of WINDOW clause
Date: Fri, 07 Jun 2013 00:11:30 -0400
Message-ID: <12795.1370578290@sss.pgh.pa.us> (raw)
In-Reply-To: <51aeaae5.a5ac420a.05d9.4850@mx.google.com>
References: <51aeaae5.a5ac420a.05d9.4850@mx.google.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-docs>

eggyknap <eggyknap@gmail.com> writes:
> 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. :)

I think you're right.  Applied and back-patched.

			regards, tom lane


-- 
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs



view thread (2+ messages)

Message-ID: <12795.1370578290@sss.pgh.pa.us>
Permalink:  ../12795.1370578290@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/12795.1370578290@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, eggyknap@gmail.com
  Subject: Re: Minor quibble with description of WINDOW clause
  In-Reply-To: <12795.1370578290@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox