pgsql: Document that get_attstatsslot/free_attstatsslot only need to be

Поиск
Список
Период
Сортировка
От tgl@svr1.postgresql.org (Tom Lane)
Тема pgsql: Document that get_attstatsslot/free_attstatsslot only need to be
Дата
Msg-id 20051011172714.DD00FD6F2D@svr1.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Document that get_attstatsslot/free_attstatsslot only need to be passed
valid type information if they are asked to fetch the values part of a
pg_statistic slot; these arguments are unneeded if fetching only the
numbers part.  Use this to save a catcache lookup in btcostestimate,
which is looking like a bit of a hotspot in recent profiling.  Not a
big savings, but since it's essentially free, might as well do it.

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        selfuncs.c (r1.189 -> r1.190)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/selfuncs.c.diff?r1=1.189&r2=1.190)
    pgsql/src/backend/utils/cache:
        lsyscache.c (r1.127 -> r1.128)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/cache/lsyscache.c.diff?r1=1.127&r2=1.128)

В списке pgsql-committers по дате отправления:

Предыдущее
От: tgl@svr1.postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Fix oversight in 8.0 modification of RestrictInfo data
Следующее
От: aglio@pgfoundry.org (User Aglio)
Дата:
Сообщение: press - pr: New Directory