CVSROOT:        /cvsroot
Module name:    pgsql-server
Changes by:     [EMAIL PROTECTED]       04/02/29 13:36:48

Modified files:
        src/backend/optimizer/plan: Tag: REL7_4_STABLE createplan.c 

Log message:
        make_sort_from_pathkeys()'s method for choosing which of several
        equivalent sort expressions to use was broken: you can't just look
        at the relation membership, you have to actually grovel over the
        individual Vars in each expression.  I think this did work when it
        was written, but it was broken by subsequent optimizations that made
        join relations not propagate every single input variable upward.
        Must find the Var that got propagated, not choose one at random.
        Per bug report from Daniel O'Neill.


---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faqs/FAQ.html

Reply via email to