Re: default operator class (PostgreSQL's error?)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Denis Zaitsev <zzz(at)cd-club(dot)ru>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: default operator class (PostgreSQL's error?)
Date: 2003-03-02 18:01:40
Message-ID: 18747.1046628100@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Denis Zaitsev <zzz(at)cd-club(dot)ru> writes:
> ERROR: data type name_t has no default operator class for access method "btree"

Hm, that looks like it should work. You sure you marked the opclass
default? (Check its row in pg_opclass to see.)

Another possibility is that the opclass is in a schema that is not in
your search path --- I can't recall right now whether being in the
search path affects lookup of a default opclass.

regards, tom lane

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Zodiac 2003-03-02 21:58:19 Re:
Previous Message Tomasz Myrta 2003-03-02 18:00:55 Re: Beginner needs help