pgsql: Make heap_fetch API more consistent by having the buffer remain

Поиск
Список
Период
Сортировка
От tgl@svr1.postgresql.org (Tom Lane)
Тема pgsql: Make heap_fetch API more consistent by having the buffer remain
Дата
Msg-id 20041026160503.9B6E03A4450@svr1.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Make heap_fetch API more consistent by having the buffer remain pinned
in all cases when keep_buf = true.  This allows ANALYZE's inner loop to
use heap_release_fetch, which saves multiple buffer lookups for the same
page and avoids overestimation of cost by the vacuum cost mechanism.

Modified Files:
--------------
    pgsql/src/backend/access/heap:
        heapam.c (r1.179 -> r1.180)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/heap/heapam.c.diff?r1=1.179&r2=1.180)
    pgsql/src/backend/access/nbtree:
        nbtinsert.c (r1.117 -> r1.118)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/nbtree/nbtinsert.c.diff?r1=1.117&r2=1.118)
    pgsql/src/backend/commands:
        analyze.c (r1.77 -> r1.78)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/analyze.c.diff?r1=1.77&r2=1.78)

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

Предыдущее
От: tgl@svr1.postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: In the new dispensation where REINDEX doesn't take exclusive lock
Следующее
От: momjian@svr1.postgresql.org (Bruce Momjian)
Дата:
Сообщение: pgsql: Update Russian FAQ.