Re: 8.4b1: Query returning results in different order to 8.3

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: 8.4b1: Query returning results in different order to 8.3
Дата
Msg-id 49EAD50E.8020207@enterprisedb.com
обсуждение исходный текст
Ответ на Re: 8.4b1: Query returning results in different order to 8.3  (Greg Stark <stark@enterprisedb.com>)
Список pgsql-hackers
Greg Stark wrote:
> UNION ALL should still preserve the order of the subqueries. It just
> returns all the rows of each subquery one after the other with no
> other work.

Although without an ORDER BY that's not well-defined and thus not 
guaranteed to work in future versions either. I doubt we're going to 
change that anytime soon, but I wouldn't rely on it in an application.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


В списке pgsql-hackers по дате отправления:

Предыдущее
От: KaiGai Kohei
Дата:
Сообщение: Re: [PATCH] unalias of ACL_SELECT_FOR_UPDATE
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: [PATCH] unalias of ACL_SELECT_FOR_UPDATE