new_relation_targetlist used to cause about 8 separate (and
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 29 May 1999 01:48:06 +0000 (01:48 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 29 May 1999 01:48:06 +0000 (01:48 +0000)
commit3fd009f19b4230daab989d70e45ad33a55f37775
tree6a2f66af5be521c388beebabfc44ee43cf5a6fd9
parent5b360dc2c4e0809dbd0ac031e6f8548fa8bf235a
new_relation_targetlist used to cause about 8 separate (and
redundant) SearchSysCache searches per table column in an INSERT, which
accounted for a good percentage of the CPU time for INSERT ... VALUES().
Now it only does two searches in the typical case.
src/backend/optimizer/prep/preptlist.c