From: Tom Lane <tgl@sss.pgh.pa.us>
To: Denis Zaitsev <zzz@cd-club.ru>
Cc: pgsql-sql@postgresql.org
Subject: Re: default operator class (PostgreSQL's error?)
Date: Sun, 02 Mar 2003 13:01:40 -0500
Message-ID: <18747.1046628100@sss.pgh.pa.us> (raw)
In-Reply-To: <20030302142401.B4208@natasha.zzz.zzz>
References: <20030302142401.B4208@natasha.zzz.zzz>
Denis Zaitsev <zzz@cd-club.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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, zzz@cd-club.ru
Subject: Re: default operator class (PostgreSQL's error?)
In-Reply-To: <18747.1046628100@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox