7.1current: order by func in union

Поиск
Список
Период
Сортировка
От Mikheev, Vadim
Тема 7.1current: order by func in union
Дата
Msg-id 8F4C99C66D04D4118F580090272A7A234D3216@sectorbase1.sectorbase.com
обсуждение исходный текст
Ответы Re: 7.1current: order by func in union  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> PostgreSQL 7.0.3 on sparc-sun-solaris2.6, compiled by gcc 2.95.2
...
> test=# select x from tryam union select x from tryam order by 
> length(x);
>  x  
> ----
>  1
>  22
>  1
>  22
> (4 rows)

7.1current:

vac=# select x from tryam union select x from tryam order by length(x);
ERROR:  Attribute 'x' not found

Vadim


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Inheritance is a security loophole!
Следующее
От: Tom Lane
Дата:
Сообщение: Re: 7.1current: order by func in union