Обсуждение: pgsql: Marginal performance hack: use a dedicated routine instead of

Поиск
Список
Период
Сортировка

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

От
tgl@postgresql.org (Tom Lane)
Дата:
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)