pgsql: Micro-optimization of markpos() and restrpos() in btree and hash

Поиск
Список
Период
Сортировка
От neilc@svr1.postgresql.org (Neil Conway)
Тема pgsql: Micro-optimization of markpos() and restrpos() in btree and hash
Дата
Msg-id 20041117031340.B19573A40D8@svr1.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Micro-optimization of markpos() and restrpos() in btree and hash indexes.
Rather than using ReadBuffer() to increment the reference count on an
already-pinned buffer, we should use IncrBufferRefCount() as it is
faster and does not require acquiring the BufMgrLock.

Modified Files:
--------------
    pgsql/src/backend/access/hash:
        hash.c (r1.74 -> r1.75)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/hash/hash.c.diff?r1=1.74&r2=1.75)
    pgsql/src/backend/access/nbtree:
        nbtree.c (r1.121 -> r1.122)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/nbtree/nbtree.c.diff?r1=1.121&r2=1.122)

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

Предыдущее
От: neilc@svr1.postgresql.org (Neil Conway)
Дата:
Сообщение: pgsql: Document a limitation of COPY's new CSV mode.
Следующее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: pgsql: Remove replicaiton FAQ item.