From: wieck@debis.com
To: secret@kearneydev.com
Cc: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] Can't create an index on NUMERIC(x,y)
Date: Thu, 18 Nov 1999 23:18:03 +0100 (MET)
Message-ID: <m11oZsR-0003kGC@orion.SAPserv.Hamburg.dsh.de> (raw)
In-Reply-To: <3834249B.4EBCAA4@kearneydev.com>
> ftc=> create index z_test on z(a);
> ERROR: Can't find a default operator class for type 1700.
>
> As you can see above when I try to create an index on a NUMERIC it can't
> find the default operator for type xxx, is there a way to fix this? It
> hasn't worked since numerics were revised in (6.0?)...
>
> Any advise would be very appreciated, please cc: secret@kearneydev.com
> not just the list :)
This is a known problem and is fixed in the v7.0 tree.
Unfortunately, there is no easy way to fix it in versions up
to v6.5.x. Normally some INSERT's to system catalogs could
enable it, but in this case the required function
numeric_cmp() is missing (also implemented in v7.0) and
adding this would require an initdb run.
Sorry,
Jan
--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#========================================= wieck@debis.com (Jan Wieck) #
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: wieck@debis.com, secret@kearneydev.com
Subject: Re: [SQL] Can't create an index on NUMERIC(x,y)
In-Reply-To: <m11oZsR-0003kGC@orion.SAPserv.Hamburg.dsh.de>
References: <3834249B.4EBCAA4@kearneydev.com> <m11oZsR-0003kGC@orion.SAPserv.Hamburg.dsh.de>
* 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