pgsql/src/backend/optimizer/plan initsplan.c - Mailing list pgsql-committers

From Tom Lane
Subject pgsql/src/backend/optimizer/plan initsplan.c
Date
Msg-id 200104161944.f3GJiA175370@hub.org
Whole thread Raw
List pgsql-committers
CVSROOT:    /home/projects/pgsql/cvsroot
Module name:    pgsql
Changes by:    tgl@hub.org    01/04/16 15:44:10

Modified files:
    src/backend/optimizer/plan: initsplan.c

Log message:
    Avoid reversing user-given order of WHERE clauses while attaching clauses
    to specific base or join RelOptInfo nodes during planning.  This preserves
    the more-intuitive behavior of 7.0.* --- if you write an expensive clause
    (such as a sub-select) last, it should get evaluated last.  Someday we
    ought to try to have some intelligence about the order of evaluation of
    WHERE clauses, but for now we should not override what the user wrote.


pgsql-committers by date:

Previous
From: Vince Vielhaber
Date:
Subject: [WEBMASTER] 'www/html/devel-corner index.html'
Next
From: Tom Lane
Date:
Subject: pgsql/src/backend/rewrite rewriteHandler.c