Problem with function indexing

From: Martin Weinberg <weinberg(at)osprey(dot)phast(dot)umass(dot)edu>
To: pgsql-hackers(at)postgreSQL(dot)org
Cc: weinberg(at)osprey(dot)phast(dot)umass(dot)edu
Subject: Problem with function indexing
Date: 1999-05-05 14:22:17
Message-ID: 199905051522.LAA22410@osprey.phast.umass.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

I hate to resort to posting here but I got no responses
in the other groups. I am following up on an earlier
response on promotion of float4 to float8 in the WHERE
clause.

To get around this, Tom Lockhart suggested that I make a
function index on float8, but this is what happens:

final99=> create index mx on psc using btree (float8(glat) float8_ops);
ERROR: internal error: untrusted function not supported.

["psc" is my table and "glat" is a float4].

Any ideas how to do this? I have successfully made an index
on an externally linked function . . .

Thanks,

--Martin

===========================================================================

Martin Weinberg Phone: (413) 545-3821
Dept. of Physics and Astronomy FAX: (413) 545-2117/0648
530 Graduate Research Tower
University of Massachusetts
Amherst, MA 01003-4525

Browse pgsql-hackers by date

  From Date Subject
Next Message Oleg Bartunov 1999-05-05 14:37:29 Re: [HACKERS] posmaster failed under high load
Previous Message Michael Davis 1999-05-05 14:21:00 Re: [HACKERS] Small improvement