Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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.


pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group