]> granicus.if.org Git - postgresql/commit
Actually ... it's pretty silly that parse_oper.c doesn't set up the
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 22 Nov 2007 19:40:25 +0000 (19:40 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 22 Nov 2007 19:40:25 +0000 (19:40 +0000)
commitef48ed4c86e65c9a173ead5e08ec23f783849b51
treec884f768a60130c3b816c23a7263935626822922
parent6342f36d87522a3ee2b41f0abf9f7b13dfca2619
Actually ... it's pretty silly that parse_oper.c doesn't set up the
opfuncid of an OpExpr initially, considering that it has the information
at hand already.  We'll still treat opfuncid as a cache rather than a
guaranteed-valid value, but this change saves one more syscache lookup
in the normal code path.
src/backend/parser/parse_oper.c
src/include/nodes/primnodes.h