ORDER BY vs. volatile functions

From: Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk>
To: pgsql-hackers(at)postgresql(dot)org
Subject: ORDER BY vs. volatile functions
Date: 2009-11-16 05:28:15
Message-ID: 87my2nhwkp.fsf@news-spur.riddles.org.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

This query:

select random() from generate_series(1,10) order by random();

produces sorted output. Should it?

--
Andrew (irc:RhodiumToad)

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Treat 2009-11-16 05:42:40 limit to default display in psql
Previous Message Tom Lane 2009-11-16 05:23:21 Re: BUG #5065: pg_ctl start fails as administrator, with "could not locate matching postgres executable"