pgsql-server/src backend/access/nbtree/nbtpage ...

Поиск
Список
Период
Сортировка
От tgl@svr1.postgresql.org (Tom Lane)
Тема pgsql-server/src backend/access/nbtree/nbtpage ...
Дата
Msg-id 20030810194808.CBC5ED1C4E1@svr1.postgresql.org
обсуждение исходный текст
Список pgsql-committers
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    tgl@svr1.postgresql.org    03/08/10 16:48:08

Modified files:
    src/backend/access/nbtree: nbtpage.c
    src/backend/storage/buffer: bufmgr.c
    src/include/storage: bufmgr.h

Log message:
    Repair potential deadlock created by recent changes to recycle btree
    index pages: when _bt_getbuf asks the FSM for a free index page, it is
    possible (and, in some cases, even moderately likely) that the answer
    will be the same page that _bt_split is trying to split.  _bt_getbuf
    already knew that the returned page might not be free, but it wasn't
    prepared for the possibility that even trying to lock the page could
    be problematic.  Fix by doing a conditional rather than unconditional
    grab of the page lock.


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

Предыдущее
От: tgl@svr1.postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql-server/doc/src/sgml ddl.sgml dml.sgml fu ...
Следующее
От: petere@svr1.postgresql.org (Peter Eisentraut - PostgreSQL)
Дата:
Сообщение: pgsql-server/src backend/po/sv.po bin/pg_contr ...