pgsql: In ReadOrZeroBuffer (and related entry points), don't bother to

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: In ReadOrZeroBuffer (and related entry points), don't bother to
Дата
Msg-id 20080805150904.C81D5755315@cvs.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
In ReadOrZeroBuffer (and related entry points), don't bother to call
PageHeaderIsValid when we zero the buffer instead of reading the page in.
The actual performance improvement is probably marginal since this function
isn't very heavily used, but a cycle saved is a cycle earned.

Zdenek Kotala

Modified Files:
--------------
    pgsql/src/backend/storage/buffer:
        bufmgr.c (r1.235 -> r1.236)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/buffer/bufmgr.c?r1=1.235&r2=1.236)

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