Re: Rtree on custom data types; type conversion stops index use.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Dave Blasby <dblasby(at)refractions(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Rtree on custom data types; type conversion stops index use.
Date: 2001-05-11 20:19:50
Message-ID: 6856.989612390@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Dave Blasby <dblasby(at)refractions(dot)net> writes:
> gives the correct results. Postgres automatically uses the
> agg_points3d() function to convert the BOX3D into an AGG_POINTS3D.
> Unfortunately, it doesn't use the index scan anymore; it does a sequence
> scan.

First question: what Postgres version?

Next question (if PG >= 7.0): did you mark your type conversion routine
as cachable?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Vince Vielhaber 2001-05-11 20:27:13 Re: Search
Previous Message Dave Blasby 2001-05-11 20:00:50 Rtree on custom data types; type conversion stops index use.