Re: [BUGS] BUG #7685: last_value() not consistent throughout window partition

2012-11-23 Thread Wes Devauld
Sorry for wasting your time, I now see: If frame_end is omitted it defaults to CURRENT ROW. clearly in the documentation. I made the assumption that the default was UNBOUNDED PROCEDING/FOLLOWING which is now very obviously not the case. Again, sorry for not really taking the time to ensure this

Re: [BUGS] BUG #7685: last_value() not consistent throughout window partition

2012-11-20 Thread Tom Lane
w...@devauld.ca writes: > -- The last_value(0 window function appears to be changing values > -- mid window. An example is detailed below. So far as I can see, these results are correct per spec. Note the caution in the manual about these window functions: Note that first_value, last_value, a

{Not A Bug} RE: [BUGS] BUG #7685: last_value() not consistent throughout window partition

2012-11-20 Thread David Johnston
> -Original Message- > From: pgsql-bugs-ow...@postgresql.org [mailto:pgsql-bugs- > ow...@postgresql.org] On Behalf Of w...@devauld.ca > Sent: Tuesday, November 20, 2012 10:28 AM > To: pgsql-bugs@postgresql.org > Subject: [BUGS] BUG #7685: last_value() not consistent

[BUGS] BUG #7685: last_value() not consistent throughout window partition

2012-11-20 Thread wes
The following bug has been logged on the website: Bug reference: 7685 Logged by: Wes Devauld Email address: w...@devauld.ca PostgreSQL version: 9.2.1 Operating system: Windows 7 Enterprise Description: -- The last_value(0 window function appears to be changing values