Re: Custom geometry, why slow? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Custom geometry, why slow?
Date
Msg-id 8652.1250260396@sss.pgh.pa.us
Whole thread Raw
In response to Custom geometry, why slow?  (Paul Matthews <plm@netspace.net.au>)
List pgsql-hackers
Paul Matthews <plm@netspace.net.au> writes:
> The problem is, according to EXPLAIN, it still wants to do a sequential
> scan and not use the index. Any pointers as to why?

Can you force it with enable_seqscan = off?  If so, then positionsel
isn't estimating a small enough number of matches to make an indexscan
look useful.  (Which, for a "left of" operator, is hardly surprising.)
If not, there's something wrong with your opfamily declarations.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: CommitFest 2009-07: Remaining Patches
Next
From: Zdenek Kotala
Date:
Subject: Re: uuid contrib don't compile in OpenSolaris