operator class for user defined type

From: Kjetil Haaland <kjetil(dot)haaland(at)student(dot)uib(dot)no>
To: pgsql-novice(at)postgresql(dot)org
Subject: operator class for user defined type
Date: 2005-02-21 14:16:40
Message-ID: 200502211516.41070.kjetil.haaland@student.uib.no
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

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?

thanks

-Kjetil

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2005-02-21 16:30:34 Re: operator class for user defined type
Previous Message Stefan.Ardeleanu 2005-02-21 10:31:12 Help in dynamic execution in plpgsql