pgsql/src/backend/optimizer/plan initsplan.c

From: Tom Lane <tgl(at)hub(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src/backend/optimizer/plan initsplan.c
Date: 2001-04-16 19:44:10
Message-ID: 200104161944.f3GJiA175370@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /home/projects/pgsql/cvsroot
Module name: pgsql
Changes by: tgl(at)hub(dot)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.

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2001-04-17 00:32:59 pgsql/src/backend/rewrite rewriteHandler.c
Previous Message Vince Vielhaber 2001-04-16 18:51:15 [WEBMASTER] 'www/html/devel-corner index.html'