Chris Mayfield <cmayfiel(at)cs(dot)purdue(dot)edu> writes: > [ planner finds better plan with a forced ORDER BY ] That shouldn't happen. Can you show the details of your case? It may be something specific to the particular view definition... regards, tom lane