pgsql: Allow planner to fold "stable" functions to constants when

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Allow planner to fold "stable" functions to constants when
Date: 2004-11-09 21:42:58
Message-ID: 20041109214258.286C53A3F2E@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Allow planner to fold "stable" functions to constants when forming
selectivity estimates, per recent discussion.

Modified Files:
--------------
pgsql/src/backend/optimizer/util:
clauses.c (r1.183 -> r1.184)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/util/clauses.c.diff?r1=1.183&r2=1.184)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2004-11-10 02:49:06 pgsql: Remove performance TODO.detail.
Previous Message Tom Lane 2004-11-09 21:30:28 pgsql: Put in place some defenses against being fooled by accidental