Save one syscache lookup when examining volatility or strictness of
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 22 Nov 2007 19:09:23 +0000 (19:09 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 22 Nov 2007 19:09:23 +0000 (19:09 +0000)
commit46ab3372f97b8fa4288f0afa9e15131b7de36e5e
treebfb2dac1333d3f03b0f7ef712567918e8817a0aa
parent141696fc2a1bf47ed1d6a9d53584ec932f9de221
Save one syscache lookup when examining volatility or strictness of
OpExpr and related nodes.  We're going to have to set the opfuncid of
such nodes eventually (if we haven't already), so we might as well
exploit the opportunity to cache the function OID.  Buys back some
of the extra planner overhead noted by Guillaume Smet, though I still
need to fool with equivclass.c to really respond to that.
src/backend/optimizer/util/clauses.c