Re: operator class for user defined type

From: "Larry Rosenman" <ler(at)lerctr(dot)org>
To: "'Kjetil Haaland'" <kjetil(dot)haaland(at)student(dot)uib(dot)no>, <pgsql-novice(at)postgresql(dot)org>
Subject: Re: operator class for user defined type
Date: 2005-02-21 16:42:48
Message-ID: E1D3Ge7-0003hq-Nz@lerami.lerctr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)lerctr(dot)org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message A Gilmore 2005-02-21 19:19:34 Re: Concatenate rows
Previous Message Tom Lane 2005-02-21 16:30:34 Re: operator class for user defined type