Rewrite preprocess_targetlist() to reduce overhead for simple INSERTs.

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

Commit: e2a29eb52ce2fff7983cacfe26e099f758d235fa
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 1999-10-30T23:06:32Z
Releases: 7.1.1
Rewrite preprocess_targetlist() to reduce overhead for simple INSERTs.
In particular, don't bother to look up type information for attributes
where we're not actually going to use it, and avoid copying entire tlist
structure when it's not necessary.

Files

PathChange+/−
src/backend/optimizer/prep/preptlist.c modified +160 −238