Thread: pgsql: Marginal performance hack: use a dedicated routine instead of

pgsql: Marginal performance hack: use a dedicated routine instead of

From
tgl@postgresql.org (Tom Lane)
Date:
Log Message:
-----------
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.

Modified Files:
--------------
    pgsql/src/backend/optimizer/plan:
        setrefs.c (r1.134 -> r1.135)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/plan/setrefs.c.diff?r1=1.134&r2=1.135)