Re: Writeable CTEs patch

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Writeable CTEs patch
Дата
Msg-id 18562.1265349835@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Writeable CTEs patch  (Takahiro Itagaki <itagaki.takahiro@oss.ntt.co.jp>)
Список pgsql-hackers
Takahiro Itagaki <itagaki.takahiro@oss.ntt.co.jp> writes:
> * In the regression tests, almost all of them don't have ORDER BY clause.
>   They just work, but we might need ORDER BY to get robust output.
>   What did we do in other regression tests?

We add ORDER BY only when experience shows it's necessary.  The
reasoning is explained in regress.sgml:

You might wonder why we don't order all the regression test queries explicitly
to get rid of this issue once and for all.  The reason is that that would
make the regression tests less useful, not more, since they'd tend
to exercise query plan types that produce ordered results to the
exclusion of those that don't.
        regards, tom lane


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

Предыдущее
От: Marko Tiikkaja
Дата:
Сообщение: Re: Writeable CTEs patch
Следующее
От: KaiGai Kohei
Дата:
Сообщение: Re: Largeobject Access Controls (r2460)