Re: Problems with order by, limit, and indices - Mailing list pgsql-general

From Tom Lane
Subject Re: Problems with order by, limit, and indices
Date
Msg-id 4502.978890160@sss.pgh.pa.us
Whole thread Raw
In response to Re: Problems with order by, limit, and indices  (Denis Perchine <dyp@perchine.com>)
List pgsql-general
Denis Perchine <dyp@perchine.com> writes:
> Cost is something really wierd.... Why?

That's how the enable stuff works for plan types that can't be ignored
completely: it just adds a big constant to the estimated cost.  If there
is no other alternative plan, you get the unwanted plan type anyway.

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Problems with order by, limit, and indices
Next
From: Tom Lane
Date:
Subject: Re: Outer Joins