Marginal performance hack: use a dedicated routine instead of copyObject
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 30 Apr 2007 00:16:43 +0000 (00:16 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 30 Apr 2007 00:16:43 +0000 (00:16 +0000)
commit57b82bf324285464783796e5614d5f9aadd0817f
treeb13ada18e85e2314c629b8d3d4481f47f4b67eb4
parentafaa6b982115ad490326be2c66c577f6195f0067
Marginal performance hack: use a dedicated routine instead of copyObject
to copy nodes that are known to be Vars during plan reference adjustment.
Saves useless memzero operation as well as the big switch in copyObject.
src/backend/optimizer/plan/setrefs.c