pgsql: Adjust nodeBitmapIndexscan.c to not keep the index open across

Поиск
Список
Период
Сортировка
От tgl@svr1.postgresql.org (Tom Lane)
Тема pgsql: Adjust nodeBitmapIndexscan.c to not keep the index open across
Дата
Msg-id 20050424181638.9AF0354310@svr1.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Adjust nodeBitmapIndexscan.c to not keep the index open across calls,
but just to open and close it during MultiExecBitmapIndexScan.  This
avoids acquiring duplicate resources (eg, multiple locks on the same
relation) in a tree with many bitmap scans.  Also, don't bother to
lock the parent heap at all here, since we must be underneath a
BitmapHeapScan node that will be holding a suitable lock.

Modified Files:
--------------
    pgsql/src/backend/executor:
        nodeBitmapIndexscan.c (r1.5 -> r1.6)

(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/nodeBitmapIndexscan.c.diff?r1=1.5&r2=1.6)
    pgsql/src/include/nodes:
        execnodes.h (r1.127 -> r1.128)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/nodes/execnodes.h.diff?r1=1.127&r2=1.128)

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

Предыдущее
От: tgl@svr1.postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Actually, nodeBitmapIndexscan.c doesn't need to create a standard
Следующее
От: andrewsn@pgfoundry.org (User Andrewsn)
Дата:
Сообщение: newsysviews - newsysview: add inheritance view