Actually ... it's pretty silly that parse_oper.c doesn't set up the

Tom Lane <tgl@sss.pgh.pa.us>

Commit: ef48ed4c86e65c9a173ead5e08ec23f783849b51
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2007-11-22T19:40:25Z
Releases: 8.3.0
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.

Files

PathChange+/−
src/backend/parser/parse_oper.c modified +3 −3
src/include/nodes/primnodes.h modified +2 −2