Re: order by is ambiguous

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: order by is ambiguous
Дата
Msg-id 6905.1073574550@sss.pgh.pa.us
обсуждение исходный текст
Ответ на order by is ambiguous  (Travel Jadoo <jadoo@xs4all.nl>)
Ответы Re: order by is ambiguous
Список pgsql-general
Travel Jadoo <jadoo@xs4all.nl> writes:
> I could not find any discussion on this but imho this seems an erroneous
> error occuring now in 7.3.4 (after upgrade from 7.2.3):

> select  null::time, 'test'::varchar as time order by time;
> ERROR:  ORDER BY 'time' is ambiguous

What's erroneous about it?  You have two output columns named 'time'.

            regards, tom lane

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