Window function with valued based range frames?

From: David G Johnston <david(dot)g(dot)johnston(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Window function with valued based range frames?
Date: 2014-09-27 02:55:49
Message-ID: 1411786549088-5820757.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

ex. avg(value) over (order by date range interval '6' day preceding)

Source:
http://wwwlgis.informatik.uni-kl.de/cms/fileadmin/courses/SS2008/NEDM/RDDM.Chapter.06.Windows_and_Query_Functions_in_SQL.pdf

Page 9, slide 17

The SELECT SQL command page mentions standard aspects of window frame
clauses not being supported but is not specific (supposedly in order to
having people ask for these things).

Just looking for recollection regarding why these were omitted initially and
if anyone has concerned adding them in follow-up. With the recent
hypothetical work being done maybe these can be re-evaluated in a fresh
light? They (whatever they is) are standard and do seem generally useful.

I don't personally have an immediate need but have been pondering moving
average related window queries and how performant they are in PostgreSQL
version possible alternative calculation means and came across this
presentation.

David J.

--
View this message in context: http://postgresql.1045698.n5.nabble.com/Window-function-with-valued-based-range-frames-tp5820757.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2014-09-27 03:04:23 Re: Window function with valued based range frames?
Previous Message Gavin Flower 2014-09-27 00:27:20 Re: password in recovery.conf [SOLVED]