Re: UNION syntax different for 7.1.2

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: UNION syntax different for 7.1.2
Дата
Msg-id 24667.995566296@sss.pgh.pa.us
обсуждение исходный текст
Ответ на UNION syntax different for 7.1.2  ("Vilson farias" <vilson.farias@digitro.com.br>)
Список pgsql-general
"Vilson farias" <vilson.farias@digitro.com.br> writes:
> from 7.0.2 to 7.0.3, the following script works fine, but in 7.1.2 I
> must remove the rr. from ORDER BY clause.

Yup.  That's an intentional change.  The ORDER BY applies to the output
columns of the UNION, not to whatever tables might have been referenced
in the arms of the UNION.

            regards, tom lane

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

Предыдущее
От: Ed Loehr
Дата:
Сообщение: Re: UNION syntax different for 7.1.2
Следующее
От: Tom Lane
Дата:
Сообщение: Re: many tables in db