OSDN Git Service

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)
commitb325dab67a4e01b221d005b0d0f98141f0a09748
treea0ad787bbfd68f68b758b609ed26f90fe40d5ced
parentce2586dbc935e4c9e60f818c8aabae8fa0dd7fe8
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