Index Ops supporting money type

From: "Rich Ryan" <rich(at)usedcars(dot)com>
To: "PostgreSQL-development" <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Index Ops supporting money type
Date: 2000-10-19 04:54:17
Message-ID: 04e401c03988$a2e92de0$05010a0a@usedcars.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Does anyone know if there is an operator class that supports the money data
type?
When I issue a command like :
create index "table1_price_idx" on "table" using btree ("price"
"money_ops");
or
create index "table1_price_idx" on "table" using btree ("price"
"float8_ops");
I get errors like :
ERROR: DefineIndex: opclass "money_ops" not found
and
ERROR: DefineIndex: opclass "float8_ops" does not accept datatype "money"
respectively.
I looked everywhere for documentation about this, and asked this question
elsewhere, but nobody knew anything.
Thanks in advance.
Rich Ryan

In response to

  • Solaris FAQ at 2000-10-19 03:19:23 from Bruce Momjian

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Vadim Mikheev 2000-10-19 05:13:18 Re: SetQuerySnapshot() for utility statements
Previous Message Tom Lane 2000-10-19 04:43:14 SetQuerySnapshot() for utility statements