I created a user-defined type and tried to use it as the primary key
but got the following error.

ERROR:  Can't find a default operator class for type 18594.

So, how do I create a default operator class?

-- 
D'Arcy J.M. Cain <darcy@{druid|vex}.net>   |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 424 2871     (DoD#0082)    (eNTP)   |  what's for dinner.

Wed, 19 May 1999 15:49:57 -0400 (EDT)
"D'Arcy" "J.M." Cain <darcy@druid.net>
default operator class for user-defined types