Re: operator class for user defined type

Поиск
Список
Период
Сортировка
От Larry Rosenman
Тема Re: operator class for user defined type
Дата
Msg-id E1D3Ge7-0003hq-Nz@lerami.lerctr.org
обсуждение исходный текст
Ответ на operator class for user defined type  (Kjetil Haaland <kjetil.haaland@student.uib.no>)
Список pgsql-novice
Kjetil Haaland wrote:
> Hi
>
> I have created my own user defined type, and an operator class for
> this type.
> Then i can use the order by clause with this type, but it is sorting
> with the lowest value on top. Is it possible to get it to sort with
> the highest value on top?
>


Does order by xxx DESC help?



--
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: operator class for user defined type
Следующее
От: A Gilmore
Дата:
Сообщение: Re: Concatenate rows