Re: operator class for user defined type - Mailing list pgsql-novice

From Tom Lane
Subject Re: operator class for user defined type
Date
Msg-id 489.1109003434@sss.pgh.pa.us
Whole thread Raw
In response to operator class for user defined type  (Kjetil Haaland <kjetil.haaland@student.uib.no>)
List pgsql-novice
Kjetil Haaland <kjetil.haaland@student.uib.no> writes:
> 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?

ORDER BY foo DESC

            regards, tom lane

pgsql-novice by date:

Previous
From: Kjetil Haaland
Date:
Subject: operator class for user defined type
Next
From: "Larry Rosenman"
Date:
Subject: Re: operator class for user defined type