operators and indexes

From: Brook Milligan <brook(at)biology(dot)nmsu(dot)edu>
To: pgsql-hackers(at)postgresql(dot)org
Subject: operators and indexes
Date: 2000-09-11 18:22:59
Message-ID: 200009111822.MAA11985@biology.nmsu.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I have defined various operators for some user defined types. How do
I use them for setting up an index on the types?

The naive approach yields the following

ERROR: DefineIndex: type geocentric_point has no default operator class

so presumably one must define a default operator. How is this done
and what exactly are the semantics of a default operator?

Thanks for your help.

Cheers,
Brook

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2000-09-11 20:37:01 Re: pg_dump failed sanity check and user defined types
Previous Message Brook Milligan 2000-09-11 17:16:03 Re: pg_dump failed sanity check and user defined types