]> granicus.if.org Git - postgresql/commit
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)
commit6342f36d87522a3ee2b41f0abf9f7b13dfca2619
tree93700479b92d4cf6b383ef3b131582c0761fd40c
parentb85cf684f76f7535407669438b406dd61542e8f0
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