Indexing new type ........

From: <pejac(at)altern(dot)org>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Indexing new type ........
Date: 2001-02-15 12:11:36
Message-ID: 200102151214.f1FCEox79172@mail.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

Well i create a new type. I want indexing my new type but i
can't , postgresql erro : my type has no default operator class
So i use the following query in order to have default operator:
INSERT INTO pg_opclass(opcname,opcdeftype) select 'ean13_ops',oid
from pg_type where typname = 'ean13' ;
So the new error with postgresql when i try to create an index
on my new type is : opclass "ean13" not supported by
access method btree
So I think i forget some definition function in my
c program in order to use index .
I 've got operators for my type ( > , < , == and so on )
Can you help me ???
Thanks in advance,
Best regards,
PEJAC pascal

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2001-02-15 13:31:36 Re: HISTORY
Previous Message Erik Hofman 2001-02-15 11:10:46 non blocking mode bug?