Re: bad plan with custom data types - Mailing list pgsql-hackers

From Tom Lane
Subject Re: bad plan with custom data types
Date
Msg-id 22153.1164167484@sss.pgh.pa.us
Whole thread Raw
In response to bad plan with custom data types  (Greg Mitchell <gmitchell@atdesk.com>)
Responses Re: bad plan with custom data types
List pgsql-hackers
Greg Mitchell <gmitchell@atdesk.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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: 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
Next
From: "zhang Jackie"
Date:
Subject: build a SDB cache for Spatial Database based on postgis and postgresql