Denis Perchine <[EMAIL PROTECTED]> 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