Re: bad plan with custom data types

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Greg Mitchell <gmitchell(at)atdesk(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: bad plan with custom data types
Date: 2006-11-22 03:51:24
Message-ID: 22153.1164167484@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Greg Mitchell <gmitchell(at)atdesk(dot)com> writes:
> I don't understand why it re-sorts the data even though the indexes are in
> the same order?

I'm betting there's something wrong with your custom type definition,
such that the planner is failing to make any connection between the
index and the desired sort order. But you've not shown us any details.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message zhang Jackie 2006-11-22 04:32:25 build a SDB cache for Spatial Database based on postgis and postgresql
Previous Message Tom Lane 2006-11-22 03:26:53 Re: Error in postgresql after crash unable to restart this needs to be posted on -hackers or -bugs, so that tom, oleg and teodor can take a look